Re: [PATCH v2] ethdev: fix device init without socket-local memory

2024-07-22 Thread Ferruh Yigit
On 7/22/2024 11:02 AM, Bruce Richardson wrote: > When allocating memory for an ethdev, the rte_malloc_socket call used > only allocates memory on the NUMA node/socket local to the device. This > means that even if the user wanted to, they could never use a remote NIC > without also having memory on

[PATCH v2] ethdev: fix device init without socket-local memory

2024-07-22 Thread Bruce Richardson
When allocating memory for an ethdev, the rte_malloc_socket call used only allocates memory on the NUMA node/socket local to the device. This means that even if the user wanted to, they could never use a remote NIC without also having memory on that NIC's socket. For example, if we change examples