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

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

Message

Oleksij Rempel Nov. 24, 2022, 10:14 a.m. UTC
  changes v6:
- move dsa configuration to ksz8_setup 

changes v5:
- add mtu normalization patch

changes v4:
- remove per port max_frame cache
- remove port variable for ksz88* variants
- add KSZ9563_CHIP_ID
- not start a new line with an operator

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 (6):
  net: dsa: microchip: move max mtu to one location
  net: dsa: microchip: do not store max MTU for all ports
  net: dsa: microchip: add ksz_rmw8() function
  net: dsa: microchip: ksz8: add MTU configuration support
  net: dsa: microchip: enable MTU normalization for KSZ8795 and KSZ9477
    compatible switches
  net: dsa: microchip: ksz8: move all DSA configurations to one location

 drivers/net/dsa/microchip/ksz8.h        |  1 +
 drivers/net/dsa/microchip/ksz8795.c     | 75 +++++++++++++++++++++----
 drivers/net/dsa/microchip/ksz8795_reg.h |  3 +
 drivers/net/dsa/microchip/ksz9477.c     | 21 +++----
 drivers/net/dsa/microchip/ksz9477.h     |  1 -
 drivers/net/dsa/microchip/ksz9477_reg.h |  2 -
 drivers/net/dsa/microchip/ksz_common.c  | 29 ++++++++--
 drivers/net/dsa/microchip/ksz_common.h  | 13 ++++-
 8 files changed, 109 insertions(+), 36 deletions(-)