[ovs-git] [openvswitch/ovs] 2654cc: netdev-dpdk: Pass queue id to dpdk_do_tx_copy().
GitHub
noreply at github.com
Fri Sep 19 00:26:44 UTC 2014
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 2654cc338bfb413a6295078e3a7a8e1d4f67cbcc
https://github.com/openvswitch/ovs/commit/2654cc338bfb413a6295078e3a7a8e1d4f67cbcc
Author: Alex Wang <alexw at nicira.com>
Date: 2014-09-18 (Thu, 18 Sep 2014)
Changed paths:
M lib/netdev-dpdk.c
Log Message:
-----------
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 <ethan at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto at vmware.com>
More information about the git
mailing list