diff options
author | Oz Shlomo <ozsh@nvidia.com> | 2022-12-04 01:13:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-09 00:04:26 +0300 |
commit | 6442638251f3679a05a75e69d5096680c14a210e (patch) | |
tree | 188ec7584260c1f71bb664d007ce9901a5615970 /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h | |
parent | d3f6b0df9128c00c54e11702f62b967fc63c85f3 (diff) | |
download | linux-6442638251f3679a05a75e69d5096680c14a210e.tar.xz |
net/mlx5e: TC, validate action list per attribute
Currently the entire flow action list is validate for offload limitations.
For example, flow with both forward and drop actions are declared invalid
due to hardware restrictions.
However, a multi-table hardware model changes the limitations from a flow
scope to a single flow attribute scope.
Apply offload limitations to flow attributes instead of the entire flow.
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221203221337.29267-6-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h')
0 files changed, 0 insertions, 0 deletions