]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: multiqueue vlan device
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 3 Sep 2009 01:03:00 +0000 (18:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2009 01:03:00 +0000 (18:03 -0700)
commitd3b4788194a7f8d0a0cc7c6c5ae69f941b5af739
treec01e87c0ef6568bae987f4628a8656ba0d05aa23
parentd51d3d11f83ab00b566ee396752a7c32dada2ff0
vlan: multiqueue vlan device

vlan devices are currently not multi-queue capable.

We can do that with a new rtnl_link_ops method,
get_tx_queues(), called from rtnl_create_link()

This new method gets num_tx_queues/real_num_tx_queues
from real device.

register_vlan_device() is also handled.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rtnetlink.h
net/8021q/vlan.c
net/8021q/vlan_netlink.c
net/core/rtnetlink.c