[dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads
Shahaf Shuler
shahafs at mellanox.com
Wed Aug 1 13:58:50 CEST 2018
Wednesday, August 1, 2018 11:38 AM, Matan Azrad:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads
>
> There are a dedicated QP attributes, tunnel offload flag and mask, which
> must be configured in order to allow part of the HW tunnel offloads.
>
> So, if a QP is pointed by a tunnel flow, the above QP attributes should be
> configured.
>
> The mask configuration is wrongly only performed if an internal RSS was
> configured by the user, while there is no reason to condition the tunnel
> offloads in RSS configurations.
>
> Consequently, some of the tunnel offloads was not performed by the HW
> when a tunnel flow was configured, for example, the packet tunnel types
> was not reported to the user.
>
> Replace the internal RSS condition with the tunnel flow condition.
>
> Fixes: df6afd377ace ("net/mlx5: remove useless arguments in hrxq API")
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
Applied to next-net-mlx, thanks.
More information about the dev
mailing list