net/ena: add NUMA-aware allocations
authorMichal Krawczyk <mk@semihalf.com>
Tue, 19 Oct 2021 10:56:27 +0000 (12:56 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Oct 2021 13:04:17 +0000 (15:04 +0200)
commit08180833cb698bd737d760e4af77b796882ef328
tree27fd26c95be0b6106b9fcc6b6cd78e4e24c0c7f8
parente2a6d08bef489215ebb77b1d3033875ada757cfa
net/ena: add NUMA-aware allocations

Only the IO rings memory was allocated with taking the socket ID into
the respect, while the other structures was allocated using the regular
rte_zmalloc() API.

Ring specific structures are now being allocated using the ring's
socket ID.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
doc/guides/rel_notes/release_21_11.rst
drivers/net/ena/ena_ethdev.c