aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-09-03 00:11:45 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-03 20:02:13 -0700
commit2c11455321f37da6fe6cc36353149f9ac9183334 (patch)
tree8033ca6f3cc54780074c7d2a734ee3c62fec3ca3 /net/8021q/vlan_dev.c
parent0fa0ee053aaa53939306376719450cfe56e33e3b (diff)
downloadkernel_samsung_smdk4412-2c11455321f37da6fe6cc36353149f9ac9183334.zip
kernel_samsung_smdk4412-2c11455321f37da6fe6cc36353149f9ac9183334.tar.gz
kernel_samsung_smdk4412-2c11455321f37da6fe6cc36353149f9ac9183334.tar.bz2
macvlan: add multiqueue capability
macvlan devices are currently not multi-queue capable. We can do that defining rtnl_link_ops method, get_tx_queues(), called from rtnl_create_link() This new method gets num_tx_queues/real_num_tx_queues from lower device. macvlan_get_tx_queues() is a copy of vlan_get_tx_queues(). Because macvlan_start_xmit() has to update netdev_queue stats only (and not dev->stats), I chose to change tx_errors/tx_aborted_errors accounting to tx_dropped, since netdev_queue structure doesnt define tx_errors / tx_aborted_errors. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions