search for: ixgbe_flag_vmdq_en

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

2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
...c 2009-02-10 14:32:47.000000000 -0800 @@ -431,7 +431,7 @@ static void ixgbe_receive_skb(struct ixg bool is_vlan = (status & IXGBE_RXD_STAT_VP); u16 tag = le16_to_cpu(rx_desc->wb.upper.vlan); -#ifdef CONFIG_XEN_NETDEV2_BACKEND +#ifdef CONFIG_XEN_NETDEV2_VMQ if ((adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) && ring->queue_index) { /* This is a VMDq packet destined for a VM. */ vmq_netif_rx(skb, ring->queue_index); @@ -519,7 +519,7 @@ static inline void ixgbe_rx_checksum(str skb->ip_summed = CHECKSUM_UNNECESSARY; adapter->hw_csum_rx_good++; -#ifdef CONFIG_XEN_NETDEV...
2009 Feb 10
1
[PATCH 1/2] Fix ixgbe RSS operation
...drivers/net/ixgbe/ixgbe_main.c Thu Jan 29 10:46:35 2009 +0000 +++ b/drivers/net/ixgbe/ixgbe_main.c Tue Feb 10 10:13:32 2009 -0800 @@ -432,15 +432,11 @@ u16 tag = le16_to_cpu(rx_desc->wb.upper.vlan); #ifdef CONFIG_XEN_NETDEV2_BACKEND - if(ring->queue_index) { + if ((adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) && ring->queue_index) { /* This is a VMDq packet destined for a VM. */ vmq_netif_rx(skb, ring->queue_index); return; } - else { - netif_rx(skb); - return; - } #endif #ifndef IXGBE_NO_INET_LRO if (adapter->netdev->features & NETIF_F_LRO && @@ -5...
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...* @@ -554,13 +569,33 @@ static void ixgbe_alloc_rx_buffers(struc } if (!bi->skb) { - struct sk_buff *skb = netdev_alloc_skb(adapter->netdev, - bufsz); + struct sk_buff *skb; +#ifdef CONFIG_XEN_NETDEV2_BACKEND + if ((adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) && + rx_ring->queue_index) { + skb = vmq_alloc_skb(adapter->netdev, + rx_ring->queue_index, + bufsz); + if (!skb) { + adapter->alloc_rx_buff_failed++; + goto no_buffers; + } + bi->skb = skb; + bi...