]> git.proxmox.com Git - ovs.git/commit
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:21:38 +0000 (11:21 -0700)
commitdc6ba5dc8b996210f85d4bc6884af469a5244b96
tree5be623e01d6afe1cf7b1f30d54769c100a479ffc
parent9ad11dbe4c40ddbd388b8d51c416d89dda0cf380
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