summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.c
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2010-03-23 15:41:45 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-24 19:11:38 +0100
commit669d3e0babb40018dd6e78f4093c13a2eac73866 (patch)
treeb463681d16ac806ddc889b02623361c64047d281 /net/8021q/vlan.c
parentigb: only use vlan_gro_receive if vlans are registered (diff)
downloadlinux-669d3e0babb40018dd6e78f4093c13a2eac73866.tar.xz
linux-669d3e0babb40018dd6e78f4093c13a2eac73866.zip
vlan: adds vlan_dev_select_queue
This is required to correctly select vlan tx queue for a driver supporting multi tx queue with ndo_select_queue implemented since currently selected vlan tx queue is unaligned to selected queue by real net_devce ndo_select_queue. Unaligned vlan tx queue selection causes thrash with higher vlan tx lock contention for least fcoe traffic and wrong socket tx queue_mapping for ixgbe having ndo_select_queue implemented. -v2 As per Eric Dumazet<eric.dumazet@gmail.com> comments, mirrored vlan net_device_ops to have them with and without vlan_dev_select_queue and then select according to real dev ndo_select_queue present or not for a vlan net_device. This is to completely skip vlan_dev_select_queue calling for real net_device not supporting ndo_select_queue. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.c')
0 files changed, 0 insertions, 0 deletions