net: mscc: ocelot: add bonding support
Add link aggregation hardware offload support for Ocelot. ocelot_get_link_ksettings() is not great but it does work until the driver is reworked to switch to phylink. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
964fc35c09
commit
dc96ee3730
@@ -493,7 +493,7 @@ struct ocelot {
|
||||
u8 num_cpu_ports;
|
||||
struct ocelot_port **ports;
|
||||
|
||||
u16 lags[16];
|
||||
u32 *lags;
|
||||
|
||||
/* Keep track of the vlan port masks */
|
||||
u32 vlan_mask[VLAN_N_VID];
|
||||
|
Reference in New Issue
Block a user