net/mlx5e: Pass actions param to actions_match_supported()
authorRoi Dayan <roid@nvidia.com>
Sun, 12 Sep 2021 08:43:17 +0000 (11:43 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Feb 2022 07:55:15 +0000 (23:55 -0800)
commit0610f8dc0309cd0ea017d129efb95a942325344d
treeba46f4f336ca82339df83f9d396a7a885e2027d0
parentd1a3138f7913014e0714cb1d3d44793d76fc38a1
net/mlx5e: Pass actions param to actions_match_supported()

Currently the mlx5_flow object contains a single mlx5_attr instance.
However, multi table actions (e.g. CT) instantiate multiple attr instances.

Currently action_match_supported() reads the actions flag from the
flow's attribute instance. Modify the function to receive the action
flags as a parameter which is set by the calling function and
pass the aggregated actions to actions_match_supported().

Signed-off-by: Roi Dayan <roid@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