]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: DR, Support IPv4 and IPv6 mixed matcher
authorAlex Vesker <valex@mellanox.com>
Sun, 27 Oct 2019 07:10:17 +0000 (09:10 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Nov 2019 21:55:18 +0000 (14:55 -0700)
commit667f264676c7f83f57a7695010f889d6fd36dcbf
treeee65a6f847a792115b196607d59f6eabd82a339e
parent1cdc14e9d134a48d86673fd75a6abcbe0e58a29c
net/mlx5: DR, Support IPv4 and IPv6 mixed matcher

Until now SW steering supported matchers that are IPv4 and IPv6.
The limitation was mixed matchers in which the outer header IP version
was different from the inner header IP version.

To support the mixed matcher we create all the possible ste_builder
combinations, once we create a rule we select the correct one to
be used for rule creation.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h