]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit76ff5cc91935c51fcf1a6a99ffa28b97a6e7a884
treee0b8367bc36b79986d0c5951485531377a39c680
parentd40156aa5ecbd51fed932ed4813df82b56e5ff4d
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