[PATCH] net/mlx5: fix detection of LRO support
Raslan Darawsheh
rasland at nvidia.com
Mon Aug 15 09:29:35 CEST 2022
Hi,
> -----Original Message-----
> From: Michael Baum <michaelba at nvidia.com>
> Sent: Wednesday, July 27, 2022 3:24 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Michael
> Baum <michaelba at nvidia.com>; stable at dpdk.org; Gal Shalom
> <galshalom at nvidia.com>
> Subject: [PATCH] net/mlx5: fix detection of LRO support
>
> One of the conditions to allow LRO offload is the DV configuration.
>
> The function incorrectly checks the DV configuration before initializing it by
> the user devarg; hence, LRO cannot be allowed.
>
> This patch moves this check to mlx5_shared_dev_ctx_args_config, where DV
> configuration is initialized.
>
> Fixes: c4b862013598 ("net/mlx5: refactor to detect operation by DevX")
> Cc: michaelba at nvidia.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Michael Baum <michaelba at nvidia.com>
> Reported-by: Gal Shalom <galshalom at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list