diff options
author | Vladimir Oltean <[email protected]> | 2023-09-22 15:31:04 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-10-03 13:51:02 +0200 |
commit | fefe5dc4afeafe896c90d5b20b605f2759343c3b (patch) | |
tree | cdd78d643bcb7b1de5afd9c22eeb918ce564d8b8 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | e27aca3760c08b7b05aea71068bd609aa93e7b35 (diff) |
net: dsa: propagate extack to ds->ops->port_hsr_join()
Drivers can provide meaningful error messages which state a reason why
they can't perform an offload, and dsa_slave_changeupper() already has
the infrastructure to propagate these over netlink rather than printing
to the kernel log. So pass the extack argument and modify the xrs700x
driver's port_hsr_join() prototype.
Also take the opportunity and use the extack for the 2 -EOPNOTSUPP cases
from xrs700x_hsr_join().
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: Lukasz Majewski <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions