> -----Original Message-----
> From: Dmitry Kozlyuk <[email protected]>
> Sent: Thursday, November 25, 2021 22:21
> To: [email protected]
> Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) <[email protected]>;
> Raslan Darawsheh <[email protected]>; Slava Ovsiienko
> <[email protected]>; Matan Azrad <[email protected]>
> Subject: [PATCH] common/mlx5: fix MR 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: 08ac03580ef2 ("common/mlx5: fix mempool registration")
> 
> Signed-off-by: Dmitry Kozlyuk <[email protected]>
> Reviewed-by: Matan Azrad <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to