]> git.baikalelectronics.ru Git - kernel.git/commit
rtnl: allow to specify number of rx and tx queues on device creation
authorJiri Pirko <jiri@resnulli.us>
Fri, 20 Jul 2012 02:28:48 +0000 (02:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 18:07:00 +0000 (11:07 -0700)
commitf01949ad6f974e450ad4c019d062ddad3da35de7
treee0b8367bc36b79986d0c5951485531377a39c680
parent4fff7362ff0128effcd6add2f9a0cd0d638225c9
rtnl: allow to specify number of rx and tx queues on device creation

This patch introduces IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES by
which userspace can set number of rx and/or tx queues to be allocated
for newly created netdevice.
This overrides ops->get_num_[tr]x_queues()

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_link.h
net/core/rtnetlink.c