netdev: Add n_txq to 'struct netdev'.
authorAlex Wang <alexw@nicira.com>
Wed, 3 Sep 2014 21:37:35 +0000 (14:37 -0700)
committerAlex Wang <alexw@nicira.com>
Fri, 12 Sep 2014 18:30:58 +0000 (11:30 -0700)
commitf00fa8cbad76343bd12c1ee670383231c98b8684
tree4b13b68cb6bcf1e537c7a03f6e127931dbcd8427
parent7dec44fe1ccdbdd1e42d373124625cb95089abff
netdev: Add n_txq to 'struct netdev'.

This commit adds new variable n_txq to 'struct netdev' for recording
the number of tx queues.  Correspondingly, the send_*() functions are
extended to accept queue id as input argument.

All 'netdev-*' implementation will ignore the queue id since having
multiple tx queues is not supported.  Upcomping patches will start
using it and create multiple tx queues for dpdk netdev.

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