numam-dpdk/drivers
Dmitry Kozlyuk 63625c5da1 common/mlx5: fix memory region lookup on slow path
Memory region (MR) was being looked up incorrectly
for the data address of an externally-attached mbuf.
A search was attempted for the mempool of the mbuf,
while mbuf data address does not belong to this mempool
in case of externally-attached mbuf.
Only attempt the search:
1) for not externally-attached mbufs;
2) for mbufs coming from MPRQ mempool;
3) for externally-attached mbufs from mempools
   with pinned external buffers.

Fixes: 08ac03580e ("common/mlx5: fix mempool registration")

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Reviewed-by: Matan Azrad <matan@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2021-11-26 13:27:38 +01:00
..
baseband drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bus remove repeated 'the' in the code 2021-11-26 11:28:34 +01:00
common common/mlx5: fix memory region lookup on slow path 2021-11-26 13:27:38 +01:00
compress compress/mlx5: fix double close of device context 2021-11-25 11:16:56 +01:00
crypto fix PMD wording 2021-11-26 11:28:34 +01:00
dma dma/dpaa: support statistics 2021-11-10 13:48:38 +01:00
event event/dlb2: fix delayed pop test in selftest 2021-11-16 08:02:13 +01:00
gpu gpu/cuda: set rte_errno 2021-11-24 12:00:42 +01:00
mempool mempool/cnxk: postpone devargs parsing 2021-10-29 16:09:25 +02:00
net fix PMD wording 2021-11-26 11:28:34 +01:00
raw fix PMD wording 2021-11-26 11:28:34 +01:00
regex common/mlx5: fix redundant field in MR control structure 2021-11-17 10:42:20 +01:00
vdpa vdpa/mlx5: fix mkey creation check 2021-11-16 11:21:18 +01:00
meson.build gpudev: introduce GPU device class library 2021-11-08 17:20:52 +01:00