[ovs-dev] [PATCH 1/2] netdev-dpdk: Fix a typo.
Daniele Di Proietto
ddiproietto at vmware.com
Fri Sep 19 18:14:00 UTC 2014
Acked-by: Daniele Di Proietto <ddiproietto at vmware.com>
On 9/19/14, 10:57 AM, "Alex Wang" <alexw at nicira.com> wrote:
>Signed-off-by: Alex Wang <alexw at nicira.com>
>---
> lib/netdev-dpdk.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
>index f2a42e8..ed39b9c 100644
>--- a/lib/netdev-dpdk.c
>+++ b/lib/netdev-dpdk.c
>@@ -472,11 +472,11 @@ netdev_dpdk_set_txq(struct netdev_dpdk *netdev,
>unsigned int n_txqs)
> /* Each index is considered as a cpu core id, since there should
> * be one tx queue for each cpu core. */
> for (i = 0; i < n_txqs; i++) {
>- int core_id = ovs_numa_get_numa_id(i);
>+ int numa_id = ovs_numa_get_numa_id(i);
>
> /* If the corresponding core is not on the same numa node
> * as 'netdev', flags the 'flush_tx'. */
>- netdev->tx_q[i].flush_tx = netdev->socket_id == core_id;
>+ netdev->tx_q[i].flush_tx = netdev->socket_id == numa_id;
> }
> }
>
>--
>1.7.9.5
>
More information about the dev
mailing list