From b60bfba1bb58d7f32c8fb2fa9df7e5a857b90f33 Mon Sep 17 00:00:00 2001 From: agerguo <36978057+agerguo@users.noreply.github.com> Date: Fri, 19 Aug 2022 14:42:19 +0800 Subject: [PATCH] Update ff_dpdk_if.c bond numa --- lib/ff_dpdk_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ff_dpdk_if.c b/lib/ff_dpdk_if.c index 38c2b3bd2..d1d748d39 100644 --- a/lib/ff_dpdk_if.c +++ b/lib/ff_dpdk_if.c @@ -737,7 +737,7 @@ init_port_start(void) uint16_t q; for (q = 0; q < nb_queues; q++) { if (numa_on) { - uint16_t lcore_id = lcore_conf.port_cfgs[port_id].lcore_list[q]; + uint16_t lcore_id = lcore_conf.port_cfgs[u_port_id].lcore_list[q]; socketid = rte_lcore_to_socket_id(lcore_id); } mbuf_pool = pktmbuf_pool[socketid];