Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Pass queue id to dpdk_do_tx_copy().
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_copy(). Reported-by: Ethan Jackson <[email protected]> Signed-off-by: Alex Wang <[email protected]> Acked-by: Daniele Di Proietto <[email protected]>
- Loading branch information