]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf38e16647deae8d950beccc1de3533ac20471ac5
tree4f66fe75f485e9b62d5016123a4d1175adeaa77e
parentdf585758224ab3a0145283f81d10bb2831fd1d57
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