Re: [dpdk-dev] [PATCH] net/mlx5: fix Verbs memory allocation callback

2020-12-08 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Tuesday, November 24, 2020 12:27 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Ori Kam ; NBU-Contact-Thomas > Monjalon ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix Verbs memory allocation callback > > The

[dpdk-dev] [PATCH] net/mlx5: fix Verbs memory allocation callback

2020-11-24 Thread Viacheslav Ovsiienko
The rdma-core library uses callbacks to allocate and free memory from DPDK. The memory allocation callback used the complicated and incorrect way to get the NUMA socket ID from the context. The context was wrong that might result in wrong socket ID and allocating memory from wrong node. The callba