net/mlx5e: TC, set control params for branching actions
authorOz Shlomo <ozsh@nvidia.com>
Sat, 3 Dec 2022 22:13:28 +0000 (14:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 21:04:26 +0000 (13:04 -0800)
commitec5878552b73cbb7e7d72f9a1a3d8a23a43a0bb2
tree4e5afc7ab535753121c7f29f943dfbef6315d635
parent6442638251f3679a05a75e69d5096680c14a210e
net/mlx5e: TC, set control params for branching actions

Extend the act tc api to set the branch control params aligning with
the police conform/exceed use case.

Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221203221337.29267-7-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c