net/mlx5: DR, Support csum recalculation flow table on SFs
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Wed, 8 Sep 2021 16:44:11 +0000 (19:44 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 30 Sep 2021 23:18:59 +0000 (16:18 -0700)
commitc0e90fc2ccaa8d7b9a781f5bc4287084b855138e
tree0198eb904969b5ee1dd34079b7607f74eadcaf15
parentee1887fb7cdd1b516ec94f71df41c4cc862836cd
net/mlx5: DR, Support csum recalculation flow table on SFs

Implement csum recalculation flow tables in XAarray instead of a fixed
array, thus adding support for csum recalc table on any valid vport
number, which enables this support for SFs.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Muhammad Sammar <muhammads@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h