]> git.proxmox.com Git - mirror_ovs.git/commit
netdev: Add function for configuring tx and rx queues.
authorAlex Wang <alexw@nicira.com>
Mon, 8 Sep 2014 21:52:54 +0000 (14:52 -0700)
committerAlex Wang <alexw@nicira.com>
Mon, 15 Sep 2014 18:43:48 +0000 (11:43 -0700)
commit5496878cbf52f3819601f7bd925adc06890add9d
tree31ede5bab7be3ba4c907fd00b59429e416839bdd
parent2f9dd77fcd172e2870d737ede67970836db3eb14
netdev: Add function for configuring tx and rx queues.

This commit adds a new API to the 'struct netdev_class' which
allows user to configure the number of tx queues and rx queues
of 'netdev'.  Upcoming patches will use this function to set
multiple tx/rx queues when adding the netdev to dpif-netdev.

Currently, only netdev-dpdk module implements this function.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h