numam-dpdk/drivers
Lior Margalit 69d268b4ff net/mlx5: fix RSS expansion for explicit graph node
The RSS expansion algorithm is using a graph to find the possible
expansion paths. A graph node with the 'explicit' flag will be skipped,
if it is not found in the flow pattern.

The current implementation misses the case where the node with the
explicit flag is in the middle of the expanded path.
For example:
testpmd> flow create 0 ingress pattern eth / ipv6 / udp / vxlan / end
actions rss level 2 types tcp end / end
The VLAN node has the explicit flag, so it is currently included in the
expanded flow:
ETH IPV6 UDP VXLAN END
ETH IPV6 UDP VXLAN ETH VLAN IPV4 TCP END
ETH IPV6 UDP VXLAN ETH VLAN IPV6 TCP END

The fix is to skip the nodes with the explicit flag while iterating over
the possible expansion paths. Using the above example, the flows will be:
ETH IPV6 UDP VXLAN END
ETH IPV6 UDP VXLAN ETH IPV4 TCP END
ETH IPV6 UDP VXLAN ETH IPV6 TCP END

Fixes: 3f02c7ff68 ("net/mlx5: fix RSS expansion for inner tunnel VLAN")
Cc: stable@dpdk.org

Signed-off-by: Lior Margalit <lmargalit@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-09-13 21:56:09 +02:00
..
baseband version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bus net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
common net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
compress compress/mlx5: fix leak on QP setup failure 2021-09-06 21:46:34 +02:00
crypto crypto/dpaa_sec: support PDCP short MAC-I 2021-09-08 17:20:30 +02:00
event cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
mempool version: 21.11-rc0 2021-08-17 08:37:52 +02:00
net net/mlx5: fix RSS expansion for explicit graph node 2021-09-13 21:56:09 +02:00
raw drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
regex regex/mlx5: fix minsize build 2021-09-15 17:12:29 +02:00
vdpa vdpa/mlx5: fix minsize build 2021-09-15 17:12:29 +02:00
meson.build build: fix essential drivers in disable list 2021-09-15 11:00:15 +02:00