X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fdpdk%2Fdevice%2Fcommon.c;h=8699dc8689b6867380584d1a8eefc4b80ff7c556;hb=5d64c7868f67749a6c99eb4ee5998b518ab6c71c;hp=c64f1d0246bedcf06d6b1ea17dc86c4bd2d57927;hpb=28c142e3dedc0b136003f33f67243bf3c1873b71;p=vpp.git diff --git a/src/plugins/dpdk/device/common.c b/src/plugins/dpdk/device/common.c index c64f1d0246b..8699dc8689b 100644 --- a/src/plugins/dpdk/device/common.c +++ b/src/plugins/dpdk/device/common.c @@ -119,7 +119,7 @@ dpdk_device_setup (dpdk_device_t * xd) dpdk_mempool_private_t *privp; uword tidx = vnet_get_device_input_thread_index (dm->vnet_main, xd->hw_if_index, j); - unsigned lcore = vlib_worker_threads[tidx].lcore_id; + unsigned lcore = vlib_worker_threads[tidx].cpu_id; u16 socket_id = rte_lcore_to_socket_id (lcore); rv =