diff options
author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-04-17 13:51:20 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-18 17:02:37 -0700 |
commit | 4713744d9f6ee1f6dc5ac6f58c30f1b9f21067f8 (patch) | |
tree | 869cfab4ec23efa2add83697ce76a27ded915c8c /tools/perf/scripts/python | |
parent | 4fa6bd4b33ac9b914e3d1bb95848239ab8fdde1a (diff) |
mlxsw: spectrum_flower: validate control flags
This driver currently doesn't support any control flags.
Use flow_rule_has_control_flags() to check for control flags,
such as can be set through `tc flower ... ip_flags frag`.
In case any control flags are masked, flow_rule_has_control_flags()
sets a NL extended error message, and we return -EOPNOTSUPP.
Only compile-tested.
Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Tested-by: Ido Schimmel <[email protected]>
Tested-by: Petr Machata <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions