diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-16 17:43:35 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-05-08 19:22:33 +0300 |
commit | fb324f2b22a6aee38d649aa3dad80cc77cfc7070 (patch) | |
tree | a5e012ebe2333d98a02afd1ec6bf6bd426f3facb /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 21e1fe9e84f4f2fa672add77a9f9dae7e9d18b6e (diff) | |
download | linux-fb324f2b22a6aee38d649aa3dad80cc77cfc7070.tar.xz |
igb: flower: validate control flags
This driver currently doesn't support any control flags.
Use flow_rule_match_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_match_has_control_flags()
sets a NL extended error message, and we return -EOPNOTSUPP.
Only compile-tested.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions