Re: [dpdk-dev] NUMA node/socket

2021-07-04 Thread Dmitry Kozlyuk
2021-07-04 11:28 (UTC+0200), Thomas Monjalon: > 04/07/2021 10:27, Andrew Rybchenko: > > On 7/4/21 4:53 AM, Thomas Monjalon wrote: > > > 04/07/2021 03:38, Thomas Monjalon: > > >> There are some mix between NUMA node and socket IDs in DPDK. > > >> Examples: > > >> * rte_eth_dev_socket_id() retur

Re: [dpdk-dev] NUMA node/socket

2021-07-04 Thread Stephen Hemminger
On Sun, 04 Jul 2021 11:28:23 +0200 Thomas Monjalon wrote: > 04/07/2021 10:27, Andrew Rybchenko: > > On 7/4/21 4:53 AM, Thomas Monjalon wrote: > > > 04/07/2021 03:38, Thomas Monjalon: > > >> There are some mix between NUMA node and socket IDs in DPDK. > > >> Examples: > > >> * rte_eth_dev_soc

Re: [dpdk-dev] NUMA node/socket

2021-07-04 Thread Thomas Monjalon
04/07/2021 10:27, Andrew Rybchenko: > On 7/4/21 4:53 AM, Thomas Monjalon wrote: > > 04/07/2021 03:38, Thomas Monjalon: > >> There are some mix between NUMA node and socket IDs in DPDK. > >> Examples: > >>* rte_eth_dev_socket_id() returns the NUMA node. > >>* rte_malloc use sockets to alloca

Re: [dpdk-dev] NUMA node/socket

2021-07-04 Thread Andrew Rybchenko
On 7/4/21 4:53 AM, Thomas Monjalon wrote: > 04/07/2021 03:38, Thomas Monjalon: >> There are some mix between NUMA node and socket IDs in DPDK. >> Examples: >> * rte_eth_dev_socket_id() returns the NUMA node. >> * rte_malloc use sockets to allocate the memory >> >> Is it critical? > > The

Re: [dpdk-dev] NUMA node/socket

2021-07-03 Thread Thomas Monjalon
04/07/2021 03:38, Thomas Monjalon: > There are some mix between NUMA node and socket IDs in DPDK. > Examples: > * rte_eth_dev_socket_id() returns the NUMA node. > * rte_malloc use sockets to allocate the memory > > Is it critical? There is a function, implemented for Windows only, whi

[dpdk-dev] NUMA node/socket

2021-07-03 Thread Thomas Monjalon
There are some mix between NUMA node and socket IDs in DPDK. Examples: * rte_eth_dev_socket_id() returns the NUMA node. * rte_malloc use sockets to allocate the memory Is it critical?