aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorCosmin Ratiu <[email protected]>2024-08-08 17:41:05 +0300
committerJakub Kicinski <[email protected]>2024-08-09 22:16:46 -0700
commitcbc796be1779c4dbc9a482c7233995e2a8b6bfb3 (patch)
treef557c49fe7c1bfb3fa4fed83b0018486e2b93909 /tools/testing/selftests/bpf/prog_tests/autoload.c
parente6b5afd30b99b43682a7764e1a74a42fe4d5f4b3 (diff)
net/mlx5e: Correctly report errors for ethtool rx flows
Previously, an ethtool rx flow with no attrs would not be added to the NIC as it has no rules to configure the hw with, but it would be reported as successful to the caller (return code 0). This is confusing for the user as ethtool then reports "Added rule $num", but no rule was actually added. This change corrects that by instead reporting these wrong rules as -EINVAL. Fixes: b29c61dac3a2 ("net/mlx5e: Ethtool steering flow validation refactoring") Signed-off-by: Cosmin Ratiu <[email protected]> Reviewed-by: Saeed Mahameed <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions