On 3/18/2021 4:18 PM, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > The DSA core has a layered structure, and even though we end up > returning 0 (success) to user space when setting a bonding/team upper > that can't be offloaded, some parts of the framework actually need to > know that we couldn't offload that. > > For example, if dsa_switch_lag_join returns 0 as it currently does, > dsa_port_lag_join has no way to tell a successful offload from a > software fallback, and it will call dsa_port_bridge_join afterwards. > Then we'll think we're offloading the bridge master of the LAG, when in > fact we're not even offloading the LAG. In turn, this will make us set > skb->offload_fwd_mark = true, which is incorrect and the bridge doesn't > like it. > > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [RFC PATCH v2 net-next 12/16] net: ocelot: call ocelot_n... Vladimir Oltean
- [RFC PATCH v2 net-next 13/16] net: ocelot: replay switch... Vladimir Oltean
- [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb-&g... Vladimir Oltean
- Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't s... DENG Qingfang
- Re: [RFC PATCH v2 net-next 14/16] net: dsa: don... Vladimir Oltean
- Re: [RFC PATCH v2 net-next 14/16] net: dsa:... DENG Qingfang
- Re: [RFC PATCH v2 net-next 14/16] net: ... Vladimir Oltean
- Re: [RFC PATCH v2 net-next 14/16] ... DENG Qingfang
- Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't s... Florian Fainelli
- [RFC PATCH v2 net-next 15/16] net: dsa: return -EOPNOTSU... Vladimir Oltean
- Re: [RFC PATCH v2 net-next 15/16] net: dsa: return ... Florian Fainelli
- Re: [RFC PATCH v2 net-next 15/16] net: dsa: return ... Tobias Waldekranz
- [RFC PATCH v2 net-next 16/16] net: bridge: switchdev: le... Vladimir Oltean
- Re: [RFC PATCH v2 net-next 16/16] net: bridge: swit... Tobias Waldekranz
- Re: [RFC PATCH v2 net-next 16/16] net: bridge: ... Vladimir Oltean