[net-next,v3,0/3] net: dsa: microchip: add MTU support for KSZ8 series

Message ID 20221108054336.4165931-1-o.rempel@pengutronix.de
Headers
Series net: dsa: microchip: add MTU support for KSZ8 series |

Message

Oleksij Rempel Nov. 8, 2022, 5:43 a.m. UTC
  changes v3:
- rename KSZ8863_LEGAL_PACKET_SIZE -> KSZ8_LEGAL_PACKET_SIZE

changes v2:
- add ksz_rmw8() helper
- merge all max MTUs to one location

Oleksij Rempel (3):
  net: dsa: microchip: move max mtu to one location
  net: dsa: microchip: add ksz_rmw8() function
  net: dsa: microchip: ksz8: add MTU configuration support

 drivers/net/dsa/microchip/ksz8.h        |  1 +
 drivers/net/dsa/microchip/ksz8795.c     | 57 ++++++++++++++++++++++++-
 drivers/net/dsa/microchip/ksz8795_reg.h |  3 ++
 drivers/net/dsa/microchip/ksz9477.c     |  5 ---
 drivers/net/dsa/microchip/ksz9477.h     |  1 -
 drivers/net/dsa/microchip/ksz9477_reg.h |  2 -
 drivers/net/dsa/microchip/ksz_common.c  | 28 +++++++++---
 drivers/net/dsa/microchip/ksz_common.h  | 12 +++++-
 8 files changed, 93 insertions(+), 16 deletions(-)