]> Git Repo - linux.git/commit
net/mlx5e: TC, Reject rules with forward and drop actions
authorRoi Dayan <[email protected]>
Mon, 17 Jan 2022 13:00:30 +0000 (15:00 +0200)
committerSaeed Mahameed <[email protected]>
Thu, 24 Feb 2022 00:08:17 +0000 (16:08 -0800)
commit3d65492a86d4e6675734646929759138a023d914
treef6e5316fdbff438e0da97202d13841daf7f3b5a1
parent23216d387c40b090b221ad457c95912fb47eb11e
net/mlx5e: TC, Reject rules with forward and drop actions

Such rules are redundant but allowed and passed to the driver.
The driver does not support offloading such rules so return an error.

Fixes: 03a9d11e6eeb ("net/mlx5e: Add TC drop and mirred/redirect action parsing for SRIOV offloads")
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Oz Shlomo <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
This page took 0.056208 seconds and 4 git commands to generate.