diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-06-26 14:28:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-28 14:18:49 +0900 |
commit | dc96ee3730fc41d2d1efb4213c3a4656ed272e9e (patch) | |
tree | 927d943cdebe56b24901586bf36a9df25e34aa87 /drivers/net/ethernet/mscc/ocelot.h | |
parent | 964fc35c0910c7970120f893fa866e6b3468dcf0 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot.h')
-rw-r--r-- | drivers/net/ethernet/mscc/ocelot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h index 097bd12a10d4..616bec30dfa3 100644 --- a/drivers/net/ethernet/mscc/ocelot.h +++ b/drivers/net/ethernet/mscc/ocelot.h @@ -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]; |