Skip to content

Commit

Permalink
Merge pull request #203 from CESNET/dpdk-device-mempool
Browse files Browse the repository at this point in the history
dpdk - update memory pool creation to use device socket ID
  • Loading branch information
SiskaPavel authored Apr 3, 2024
2 parents 9f53841 + 85e78b4 commit 4e5681b
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 4e5681b

Please sign in to comment.