Vladimir Oltean fefe5dc4af 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 <vladimir.oltean@nxp.com>
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-10-03 13:51:02 +02:00
..
2023-10-01 19:09:54 +01:00
2023-09-19 13:35:15 +02:00
2023-10-01 19:09:54 +01:00
2023-10-01 19:39:18 +01:00
2023-08-29 17:39:15 -07:00
2023-10-01 19:39:18 +01:00
2023-09-01 09:38:00 -07:00
2023-10-01 19:09:54 +01:00
2023-10-01 19:39:18 +01:00
2023-10-01 19:09:54 +01:00
2023-10-01 19:09:54 +01:00
2023-10-01 19:09:54 +01:00