netdev-dpdk: Remove the tx queue spinlock.
authorAlex Wang <alexw@nicira.com>
Fri, 5 Sep 2014 17:56:18 +0000 (10:56 -0700)
committerAlex Wang <alexw@nicira.com>
Mon, 15 Sep 2014 18:43:49 +0000 (11:43 -0700)
commit95a596e3d9137cd482eb23719a10890d0863ef41
treee0b6629790d2e4d0b4f856a98d9cd857e2c766f8
parent94143fc41e7a0a136f2ef9aa9f5126eca83c3ac0
netdev-dpdk: Remove the tx queue spinlock.

The previous commit makes OVS create one tx queue for each
cpu core, each pmd thread will use a separate tx queue.
Also, tx of non-pmd threads on dpdk interface is all through
'NON_PMD_THREAD_TX_QUEUE', protected by the 'nonpmd_mempool_mutex'.
Therefore, the spinlock is no longer needed.  And this commit
removes it from 'struct dpdk_tx_queue'.

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