Re: [ovs-dev] [dpdk patch v3 5/6] netdev-dpdk: Remove the tx queue spinlock.

2014-09-11 Thread Pravin Shelar
On Tue, Sep 9, 2014 at 5:00 PM, Alex Wang wrote: > 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

[ovs-dev] [dpdk patch v3 5/6] netdev-dpdk: Remove the tx queue spinlock.

2014-09-09 Thread Alex Wang
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