diff options
author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-07-01 20:39:54 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-02 16:34:05 +0100 |
commit | ab8823688f9e4adb0d423d5659df619806c8d15c (patch) | |
tree | 5cfee6bb13e7eb41473cb2f8f226cb1e20b6fc54 /drivers/net/dsa/microchip/lan937x.h | |
parent | a50b35366c646ed6735d996480f57d8d16e707ff (diff) |
net: dsa: microchip: lan937x: add MTU and fast_age support
This patch add the support for port_max_mtu, port_change_mtu and
port_fast_age dsa functionality.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x.h')
-rw-r--r-- | drivers/net/dsa/microchip/lan937x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/lan937x.h b/drivers/net/dsa/microchip/lan937x.h index 370203406a05..50563874600d 100644 --- a/drivers/net/dsa/microchip/lan937x.h +++ b/drivers/net/dsa/microchip/lan937x.h @@ -14,4 +14,5 @@ int lan937x_switch_init(struct ksz_device *dev); void lan937x_switch_exit(struct ksz_device *dev); void lan937x_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data); void lan937x_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val); +int lan937x_change_mtu(struct ksz_device *dev, int port, int new_mtu); #endif |