diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2024-05-03 15:13:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-08 10:35:09 +0100 |
commit | 768cf8413883892c6ff0db783a0295a60886ec33 (patch) | |
tree | 37131e4c8a2e1c0cf2ae271642cea03ed33bf4f2 /net/Kconfig | |
parent | 97278f8f109a31e626aa8f3bc984eb10a704ecc4 (diff) | |
download | linux-768cf8413883892c6ff0db783a0295a60886ec33.tar.gz linux-768cf8413883892c6ff0db783a0295a60886ec33.tar.bz2 linux-768cf8413883892c6ff0db783a0295a60886ec33.zip |
net: add IEEE 802.1q specific helpers
IEEE 802.1q specification provides recommendation and examples which can
be used as good default values for different drivers.
This patch implements mapping examples documented in IEEE 802.1Q-2022 in
Annex I "I.3 Traffic type to traffic class mapping" and IETF DSCP naming
and mapping DSCP to Traffic Type inspired by RFC8325.
This helpers will be used in followup patches for dsa/microchip DCB
implementation.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index d5ab791f7afa..f0a8692496ff 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -452,6 +452,9 @@ config GRO_CELLS config SOCK_VALIDATE_XMIT bool +config NET_IEEE8021Q_HELPERS + bool + config NET_SELFTESTS def_tristate PHYLIB depends on PHYLIB && INET |