Hi, > -----Original Message----- > From: Viacheslav Ovsiienko <[email protected]> > Sent: Tuesday, November 24, 2020 12:27 PM > To: [email protected] > Cc: Raslan Darawsheh <[email protected]>; Matan Azrad > <[email protected]>; Ori Kam <[email protected]>; NBU-Contact-Thomas > Monjalon <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Viacheslav Ovsiienko <[email protected]> > Acked-by: Matan Azrad <[email protected]> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

