net: mscc: ocelot: add bonding support
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 26 Jun 2018 12:28:48 +0000 (14:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 05:18:49 +0000 (14:18 +0900)
commitdc96ee3730fc41d2d1efb4213c3a4656ed272e9e
tree927d943cdebe56b24901586bf36a9df25e34aa87
parent964fc35c0910c7970120f893fa866e6b3468dcf0
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>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot.h