netdev-dpdk: Do not flush tx queue which is shared among CPUs since it is always...
authorWei li <liw@dtdream.com>
Thu, 25 Jun 2015 09:45:08 +0000 (02:45 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 25 Jun 2015 18:19:04 +0000 (11:19 -0700)
commit4062928f7efcc6d0d3bc27b434a34503f084c63a
tree63e98f1ab5df7a06183c5107ba405291a385f676
parent22b4ccf4f76ebd2b47bc3a6cdb08caf2f99f3ff6
netdev-dpdk: Do not flush tx queue which is shared among CPUs since it is always flushed

When tx queue is shared among CPUS,the pkts always be flush
in 'netdev_dpdk_eth_send'. So it is unnecessarily for flushing
in netdev_dpdk_rxq_recv Otherwise tx will be accessed without
locking.

Signed-off-by: Wei li <liw@dtdream.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/netdev-dpdk.c