]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98bff6c729a8c2e472601fc7b7fb18bf70e0dbfb
tree10372763c82c0582f646444da3411033da32ab8a
parent33de454f0e616e01bb76f6e019d2349041a24ebd
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