Signed-off-by: Alex Wang <al...@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 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev