Merge pull request #689 from agerguo/patch-4

Update ff_dpdk_if.c
This commit is contained in:
johnjiang 2022-08-22 18:28:15 +08:00 committed by GitHub
commit 2cf815a338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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];