OSDN Git Service

net/mlx5e: TC, Reject rules with multiple CT actions
authorRoi Dayan <roid@nvidia.com>
Sun, 28 Nov 2021 09:49:17 +0000 (11:49 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jan 2022 20:37:33 +0000 (12:37 -0800)
commit3b49a7edec1df4f7019b3b872124231197267205
tree10372763c82c0582f646444da3411033da32ab8a
parentff99316700799b84e842f819a44db608557bae3e
net/mlx5e: TC, Reject rules with multiple CT actions

The driver doesn't support multiple CT actions.
Multiple CT clear actions are ok as they are redundant also with
another CT actions.

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/act/ct.c