Re: [PATCH v1 net-next] net: dsa: Allow only up to two HSR HW offloaded ports for KSZ9477
From: Andrew Lunn
Date: Tue Jun 18 2024 - 10:59:32 EST
> For me the:
>
> NL_SET_ERR_MSG_MOD(extack, "Cannot offload more than two ports (in
> use=0x%x)", dev->hsr_ports);
>
> is fine - as it informs that no more HSR offloading is possible (and
> allows to SW based RedBox/HSR-SAN operation).
Does user space actually get to see it? I would expect the HSR code
sees the EOPNOTSUPP, does not consider it an fatal error, and return 0
to user space.
If userspace does see it, maybe we should make it clearer it is not an
actually error.
"Cannot offload more than two ports, using software bridging"
so something similar.
Andrew