diff options
author | 2024-04-22 15:27:27 +0000 | |
---|---|---|
committer | 2024-05-02 18:19:13 -0700 | |
commit | 3d549c382297f4d7646e327c817107a88d3f931b (patch) | |
tree | 91469fc5431cf2ef9c4a9f032db052aafd019ecc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-3d549c382297f4d7646e327c817107a88d3f931b.tar.xz wireguard-linux-3d549c382297f4d7646e327c817107a88d3f931b.zip |
net/mlx5e: flower: check for unsupported control flags
Use flow_rule_is_supp_control_flags() to reject filters
with unsupported control flags.
In case any unsupported control flags are masked,
flow_rule_is_supp_control_flags() sets a NL extended
error message, and we return -EOPNOTSUPP.
Remove FLOW_DIS_FIRST_FRAG specific error message,
and treat it as any other unsupported control flag.
Only compile-tested.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240422152728.175677-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions