Fix socket_id in rte_hash_parameters 99/73799/3
authorLuc Provoost <luc.provoost@gmail.com>
Sun, 8 Jan 2023 09:27:45 +0000 (10:27 +0100)
committerLuc Provoost <luc.provoost@gmail.com>
Mon, 9 Jan 2023 09:35:42 +0000 (10:35 +0100)
commit13389617efbcb463caeca5d6209655b76ba87abe
tree2a8ed286a23588fef3546404fa96e9de8a0e8c08
parent71af55a06ef268178530697c48c34bc2c765bd67
Fix socket_id in rte_hash_parameters

The socket_id was either not initialized or set to 0. This fix
sets the proper socket_id to the relevant NUMA node. When running
on NUMA nodes other than 0, memory allocation for the hash table
could fail. With this fix, it is supposed to work on all NUMA
nodes.

Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: I59887fe064a7e7c96ce2f6ce1c70791844b165b2
VNFs/DPPD-PROX/handle_cgnat.c
VNFs/DPPD-PROX/handle_gen.c
VNFs/DPPD-PROX/handle_master.c
VNFs/DPPD-PROX/handle_nat.c
VNFs/DPPD-PROX/packet_utils.c
VNFs/DPPD-PROX/prox_shared.c