Re: [ovs-dev] [PATCH] netdev-dpdk: Pass queue id to dpdk_do_tx_copy().

2014-09-18 Thread Alex Wang
Thx a lot, Applied to master! On Thu, Sep 18, 2014 at 5:21 PM, Daniele Di Proietto wrote: > Thanks for the fix Alex! > > Acked-by: Daniele Di Proietto > > On 9/18/14, 5:09 PM, "Alex Wang" wrote: > > >Since dpdk_do_tx_copy() will be called by both pmd and > >non-pmd thread, it should take the

Re: [ovs-dev] [PATCH] netdev-dpdk: Pass queue id to dpdk_do_tx_copy().

2014-09-18 Thread Daniele Di Proietto
Thanks for the fix Alex! Acked-by: Daniele Di Proietto On 9/18/14, 5:09 PM, "Alex Wang" wrote: >Since dpdk_do_tx_copy() will be called by both pmd and >non-pmd thread, it should take the queue id as input. >The current ovs always uses NON_PMD_THREAD_TX_QUEUE >as queue id, which causes unprotec

[ovs-dev] [PATCH] netdev-dpdk: Pass queue id to dpdk_do_tx_copy().

2014-09-18 Thread Alex Wang
Since dpdk_do_tx_copy() will be called by both pmd and non-pmd thread, it should take the queue id as input. The current ovs always uses NON_PMD_THREAD_TX_QUEUE as queue id, which causes unprotected multi-access to the same queue. This commit fixes the issue by passing the queue id to dpdk_do_tx_c