search for: rx_buffer_info

Displaying 3 results from an estimated 3 matches for "rx_buffer_info".

2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
..._BACKEND + } +#endif } + /* Refresh the desc even if buffer_addrs didn''t change because * each write-back erases this info. */ if (adapter->flags & IXGBE_FLAG_RX_PS_ENABLED) { @@ -1019,9 +1058,23 @@ static bool ixgbe_clean_rx_irq(struct ix cleaned = true; skb = rx_buffer_info->skb; - prefetch(skb->data - NET_IP_ALIGN); rx_buffer_info->skb = NULL; - +#ifdef CONFIG_XEN_NETDEV2_BACKEND + if(!rx_ring->queue_index || !skb_shinfo(skb)->nr_frags) { + prefetch(skb->data - NET_IP_ALIGN); + } else { + /* for Xen VMDq, packet data goes in first page of...
2009 Feb 10
1
[PATCH 1/2] Fix ixgbe RSS operation
...etdev->features & NETIF_F_LRO && @@ -524,7 +520,8 @@ adapter->hw_csum_rx_good++; #ifdef CONFIG_XEN_NETDEV2_BACKEND - skb->proto_data_valid = 1; + if (adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) + skb->proto_data_valid = 1; #endif } @@ -1060,9 +1057,8 @@ skb = rx_buffer_info->skb; rx_buffer_info->skb = NULL; #ifdef CONFIG_XEN_NETDEV2_BACKEND - if(!rx_ring->queue_index || !skb_shinfo(skb)->nr_frags) { - prefetch(skb->data - NET_IP_ALIGN); - } else { + if ((adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) && + rx_ring->queue_index...
2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
...>skb = skb; bi->dma = pci_map_single(pdev, skb->data, bufsz, PCI_DMA_FROMDEVICE); -#ifdef CONFIG_XEN_NETDEV2_BACKEND +#ifdef CONFIG_XEN_NETDEV2_VMQ } #endif } @@ -1056,7 +1056,7 @@ static bool ixgbe_clean_rx_irq(struct ix cleaned = true; skb = rx_buffer_info->skb; rx_buffer_info->skb = NULL; -#ifdef CONFIG_XEN_NETDEV2_BACKEND +#ifdef CONFIG_XEN_NETDEV2_VMQ if ((adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) && rx_ring->queue_index) { /* for Xen VMDq, packet data goes in first page of @@ -1132,7 +1132,7 @@ static boo...