net/mlx5: DR, Add support for ConnectX-7 steering
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Wed, 23 Feb 2022 16:40:59 +0000 (18:40 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 9 Mar 2022 21:33:04 +0000 (13:33 -0800)
commit6862c787c7e88df490675ed781dc9052dba88a56
treecff840d36d12aac5aac311b12145aeb56cc8c56e
parent638a07f1090ea79fa6720b4d0265c6f8206f0c1b
net/mlx5: DR, Add support for ConnectX-7 steering

Add support for a new SW format version that is implemented by
ConnectX-7.

Except for several differences, the STEv2 is identical to STEv1, so for
most callbacks the STEv2 context struct will call STEv1 functions.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.h
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v2.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c
drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h
include/linux/mlx5/mlx5_ifc.h