[dpdk-dev] [PATCH v1] net/mlx5: fix rxq object allocation with MPRQ

Raslan Darawsheh rasland at nvidia.com
Thu Nov 5 11:05:51 CET 2020


Hi,

> -----Original Message-----
> From: Ophir Munk <ophirmu at nvidia.com>
> Sent: Wednesday, November 4, 2020 9:55 AM
> To: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: Ophir Munk <ophirmu at nvidia.com>
> Subject: [PATCH v1] net/mlx5: fix rxq object allocation with MPRQ
> 
> The space for extra buffer pointers used by MPRQ routines was not
> allocated in Rx queue object creation structure causing memory
> corruption.
> The fix allocates the extra memory for the pointers in case MPRQ is
> engaged.
> 
> Fixes: f6dcff4788a1 ("net/mlx5: configure Rx queue for buffer split")
> 
> Signed-off-by: Ophir Munk <ophirmu at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>  drivers/net/mlx5/mlx5_rxq.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list