[dpdk-dev] [PATCH v2] net/mlx5: fix split buffer Rx

Raslan Darawsheh rasland at nvidia.com
Mon Nov 8 13:57:29 CET 2021


Hi,
> -----Original Message-----
> From: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Sent: Monday, November 8, 2021 1:17 PM
> To: dev at dpdk.org
> Cc: Raslan Darawsheh <rasland at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH v2] net/mlx5: fix split buffer Rx
> 
> Routine to lookup LKey on Rx was assuming that the mbuf address always
> belongs to a single mempool: the one associated with an RxQ or the MPRQ
> mempool. This assumption is false for split buffers case.
> A wrong LKey was looked up, resulting in completion errors.
> Modify lookup routines to lookup LKey in the mbuf->pool for non-MPRQ
> cases both on Rx datapath and on queue initialization.
> 
> Fixes: fec28ca0e3a9 ("net/mlx5: support mempool registration")
> 
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Reviewed-by: Matan Azrad <matan at nvidia.com>
> Reviewed-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> v2: rebase on next-net-mlx
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh



More information about the dev mailing list