]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add post_parse() op to tc action infrastructure
authorRoi Dayan <roid@nvidia.com>
Wed, 11 Aug 2021 11:19:56 +0000 (14:19 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Dec 2021 05:29:45 +0000 (21:29 -0800)
commit36f1e6632bbf7f21858f781cfc7d53545552192d
tree2b19a7e874477771b4f0b08e0f9f7f8e03cccac9
parent75cc1986b13b95b84b45a4c748a347d4a35f7134
net/mlx5e: Add post_parse() op to tc action infrastructure

The post_parse() op should be called after the parse op was called
for all actions. It could be an action state is dependent on other
actions. In the new op an action can fail the parse if the state
is not valid anymore.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c