]> git.droids-corp.org - dpdk.git/commit
net/mlx5: fix RSS expansion for patterns with ICMP item
authorGregory Etelson <getelson@nvidia.com>
Fri, 17 Jun 2022 05:22:38 +0000 (08:22 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 23 Jun 2022 15:25:05 +0000 (17:25 +0200)
commit57d6a458a8b8d2f41598b6f8f8d9459b34d1dd8f
treee0d1fab46cc46d87dba276f2d4fcb7c148b75f86
parentf41a5092e6ae655954bf14f33f54ddf4c83e1cc0
net/mlx5: fix RSS expansion for patterns with ICMP item

MLX5 PMD RSS expansion implementation added L4 UDP or TCP
headers after ICMP.
For example:
ETH / IPv4 / ICMP expanded into  ETH / IPv4 / ICMP / {UDP | TCP}
ETH / IPv6 / ICMPv6 expanded into  ETH / IPv6 / ICMPv6 / {UDP | TCP}

The patch updates PMD expansion scheme to handle ICMP and ICMPv6 types
as non-expandable for RSS.

Fixes: c7870bfe09dc ("ethdev: move RSS expansion code to mlx5 driver")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow.c