net/mlx5e: add mlx5e_rep_indr_setup_ft_cb support
authorwenxu <wenxu@ucloud.cn>
Wed, 25 Mar 2020 12:18:59 +0000 (20:18 +0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 30 Mar 2020 06:42:27 +0000 (23:42 -0700)
commit07c264ab8e6c76efbc2eb06839f8dcd9fd0c3ebd
tree4f66fe75f485e9b62d5016123a4d1175adeaa77e
parent5a37a8df809b14f682f7b5c863b4672132e2ffc9
net/mlx5e: add mlx5e_rep_indr_setup_ft_cb support

Add mlx5e_rep_indr_setup_ft_cb to support indr block setup
in FT mode.
Both tc rules and flow table rules are of the same format,
It can re-use tc parsing for that, and move the flow table rules
to their steering domain(the specific chain_index), the indr
block offload in FT also follow this scenario.

Signed-off-by: wenxu <wenxu@ucloud.cn>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c