]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d2926e0754c62ec3cc029a1d38e5b45731e35f9
treeba46f4f336ca82339df83f9d396a7a885e2027d0
parent2815407bdef604ae66a3d1bb33b98222e6f96714
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