summaryrefslogtreecommitdiff
path: root/lib/netdev-bsd.c
diff options
context:
space:
mode:
authorAlex Wang <alexw@nicira.com>2014-09-08 14:52:54 -0700
committerAlex Wang <alexw@nicira.com>2014-09-15 11:43:48 -0700
commit5496878cbf52f3819601f7bd925adc06890add9d (patch)
tree31ede5bab7be3ba4c907fd00b59429e416839bdd /lib/netdev-bsd.c
parent2f9dd77fcd172e2870d737ede67970836db3eb14 (diff)
downloadopenvswitch-5496878cbf52f3819601f7bd925adc06890add9d.tar.gz
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>
Diffstat (limited to 'lib/netdev-bsd.c')
-rw-r--r--lib/netdev-bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 5b012996a..1bd91082a 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -1563,6 +1563,7 @@ netdev_bsd_update_flags(struct netdev *netdev_, enum netdev_flags off,
NULL, /* set_config */ \
NULL, /* get_tunnel_config */ \
NULL, /* get_numa_id */ \
+ NULL, /* set_multiq */ \
\
netdev_bsd_send, \
netdev_bsd_send_wait, \