public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v7 00/12] add DCB and DSCP support for KSZ switches
@ 2024-05-03 13:13 Oleksij Rempel
  2024-05-03 13:13 ` [PATCH net-next v7 01/12] net: dsa: add support for DCB get/set apptrust configuration Oleksij Rempel
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: Oleksij Rempel @ 2024-05-03 13:13 UTC (permalink / raw)
  To: David S. Miller, Andrew Lunn, Eric Dumazet, Florian Fainelli,
	Jakub Kicinski, Paolo Abeni, Vladimir Oltean, Woojung Huh,
	Arun Ramadoss
  Cc: Oleksij Rempel, kernel, linux-kernel, netdev, UNGLinuxDriver,
	David Ahern, Simon Horman, Willem de Bruijn, Søren Andersen

This patch series is aimed at improving support for DCB (Data Center
Bridging) and DSCP (Differentiated Services Code Point) on KSZ switches.

The main goal is to introduce global DSCP and PCP (Priority Code Point)
mapping support, addressing the limitation of KSZ switches not having
per-port DSCP priority mapping. This involves extending the DSA
framework with new callbacks for managing trust settings for global DSCP
and PCP maps. Additionally, we introduce IEEE 802.1q helpers for default
configurations, benefiting other drivers too.

Change logs are in separate patches.

Compared to v6 this series includes some new patches for DSCP global
mapping support and QoS selftest script for KSZ9477 switches.

Oleksij Rempel (12):
  net: dsa: add support for DCB get/set apptrust configuration
  net: dsa: microchip: add IPV information support
  net: add IEEE 802.1q specific helpers
  net: dsa: microchip: add multi queue support for KSZ88X3 variants
  net: dsa: microchip: add support for different DCB app configurations
  net: dsa: microchip: dcb: add special handling for KSZ88X3 family
  net: dsa: microchip: enable ETS support for KSZ989X variants
  net: dsa: microchip: init predictable IPV to queue mapping for all non
    KSZ8xxx variants
  net: dsa: microchip: let DCB code do PCP and DSCP policy configuration
  net: dsa: add support switches global DSCP priority mapping
  net: dsa: microchip: add support DSCP priority mapping
  selftests: microchip: add test for QoS support on KSZ9477 switch
    family

 drivers/net/dsa/microchip/Kconfig             |   2 +
 drivers/net/dsa/microchip/Makefile            |   2 +-
 drivers/net/dsa/microchip/ksz8.h              |   1 +
 drivers/net/dsa/microchip/ksz8795.c           | 106 ++-
 drivers/net/dsa/microchip/ksz8795_reg.h       |   9 +-
 drivers/net/dsa/microchip/ksz9477.c           |   6 -
 drivers/net/dsa/microchip/ksz_common.c        | 103 ++-
 drivers/net/dsa/microchip/ksz_common.h        |  11 +-
 drivers/net/dsa/microchip/ksz_dcb.c           | 793 ++++++++++++++++++
 drivers/net/dsa/microchip/ksz_dcb.h           |  23 +
 include/net/dsa.h                             |  13 +
 include/net/dscp.h                            |  76 ++
 include/net/ieee8021q.h                       |  57 ++
 net/Kconfig                                   |   3 +
 net/core/Makefile                             |   1 +
 net/core/ieee8021q_helpers.c                  | 242 ++++++
 net/dsa/user.c                                | 103 +++
 .../drivers/net/microchip/ksz9477_qos.sh      | 668 +++++++++++++++
 18 files changed, 2133 insertions(+), 86 deletions(-)
 create mode 100644 drivers/net/dsa/microchip/ksz_dcb.c
 create mode 100644 drivers/net/dsa/microchip/ksz_dcb.h
 create mode 100644 include/net/dscp.h
 create mode 100644 include/net/ieee8021q.h
 create mode 100644 net/core/ieee8021q_helpers.c
 create mode 100755 tools/testing/selftests/drivers/net/microchip/ksz9477_qos.sh

-- 
2.39.2


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-05-08  9:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 13:13 [PATCH net-next v7 00/12] add DCB and DSCP support for KSZ switches Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 01/12] net: dsa: add support for DCB get/set apptrust configuration Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 02/12] net: dsa: microchip: add IPV information support Oleksij Rempel
2024-05-06 20:43   ` Woojung.Huh
2024-05-07  4:37     ` Oleksij Rempel
2024-05-07 15:04       ` Woojung.Huh
2024-05-03 13:13 ` [PATCH net-next v7 03/12] net: add IEEE 802.1q specific helpers Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 04/12] net: dsa: microchip: add multi queue support for KSZ88X3 variants Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 05/12] net: dsa: microchip: add support for different DCB app configurations Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 06/12] net: dsa: microchip: dcb: add special handling for KSZ88X3 family Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 07/12] net: dsa: microchip: enable ETS support for KSZ989X variants Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 08/12] net: dsa: microchip: init predictable IPV to queue mapping for all non KSZ8xxx variants Oleksij Rempel
2024-05-06 14:40   ` Arun.Ramadoss
2024-05-03 13:13 ` [PATCH net-next v7 09/12] net: dsa: microchip: let DCB code do PCP and DSCP policy configuration Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 10/12] net: dsa: add support switches global DSCP priority mapping Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 11/12] net: dsa: microchip: add support " Oleksij Rempel
2024-05-03 13:13 ` [PATCH net-next v7 12/12] selftests: microchip: add test for QoS support on KSZ9477 switch family Oleksij Rempel
2024-05-08  9:40 ` [PATCH net-next v7 00/12] add DCB and DSCP support for KSZ switches patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox