diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-26 12:12:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-29 12:02:43 +0300 |
commit | fcee2065a178f78be6fd516302830378b17dba3d (patch) | |
tree | ee2ed634f5a8b7d8256e92c9a9338f4341353fd8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e25714466abd9d96901b15efddf82c60a38abd86 (diff) | |
download | linux-fcee2065a178f78be6fd516302830378b17dba3d.tar.xz |
net: qede: use return from qede_parse_flow_attr() for flower
In qede_add_tc_flower_fltr(), when calling
qede_parse_flow_attr() then the return code
was only used for a non-zero check, and then
-EINVAL was returned.
qede_parse_flow_attr() can currently fail with:
* -EINVAL
* -EOPNOTSUPP
* -EPROTONOSUPPORT
This patch changes the code to use the actual
return code, not just return -EINVAL.
The blaimed commit introduced these functions.
Only compile tested.
Fixes: 2ce9c93eaca6 ("qede: Ingress tc flower offload (drop action) support.")
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions