Hi,
> -----Original Message-----
> From: Viacheslav Ovsiienko <viachesl...@nvidia.com>
> Sent: Tuesday, November 24, 2020 12:27 PM
> To: dev@dpdk.org
> Cc: Raslan Darawsheh <rasl...@nvidia.com>; Matan Azrad
> <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact-Thomas
> Monjalon <tho...@monjalon.net>; sta...@dpdk.org
> Subject: [PATCH] net/mlx5: fix Verbs memory allocation callback
> 
> 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 callbacks are assigned once as Infinibande device context
> is created allowing early access to shared DPDK memory for all
> Verbs internal objects need that.
> 
> Fixes: 36dabcea78f0 ("net/mlx5: use anonymous Direct Verbs allocator
> argument")
> Fixes: 2eb4d0107acc ("net/mlx5: refactor PCI probing on Linux")
> Fixes: 17e19bc4dde7 ("net/mlx5: add IB shared context alloc/free functions")
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
> Acked-by: Matan Azrad <ma...@nvidia.com>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to