diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-16 17:43:30 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-05-08 19:21:39 +0300 |
commit | 21e1fe9e84f4f2fa672add77a9f9dae7e9d18b6e (patch) | |
tree | f55fdaa4ae8672c42be8c0914a0ff251ff659429 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c7b9c49442469b536829e4d1238ce8cf352bd149 (diff) | |
download | linux-21e1fe9e84f4f2fa672add77a9f9dae7e9d18b6e.tar.xz |
ice: 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 <ast@fiberby.net>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
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