Skip to content

Commit

Permalink
dpdk - update memory pool creation to use device socket ID
Browse files Browse the repository at this point in the history
  • Loading branch information
SiskaPavel committed Apr 3, 2024
1 parent 9f53841 commit 85e78b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/dpdk/dpdkDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void DpdkDevice::initMemPools(uint16_t memPoolSize)
MEMPOOL_CACHE_SIZE,
0,
RTE_MBUF_DEFAULT_BUF_SIZE,
rte_lcore_to_socket_id(rxQueueID));
rte_eth_dev_socket_id(m_portID));
if (!memPool) {
throw PluginError(
"DpdkDevice::initMemPool() has failed. Failed to create packets memory pool for "
Expand Down

0 comments on commit 85e78b4

Please sign in to comment.