RFC Traffic support for dsa_8021q in vlan_filtering=1 mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net: dsa: sja1105: add packing ops for the Retagging Tabledrivers/ drivers/ drivers/ +1 more | +110 | 0 replies | |
| 2/6 | net: dsa: sja1105: make HOSTPRIO a devlink paramDocumentation/ Documentation/ MAINTAINERS +2 more | +122 | 0 replies | |
| 3/6 | net: dsa: tag_8021q: allow DSA tags and VLAN filtering simultaneouslyDocumentation/ drivers/ drivers/ +4 more | +167 | 0 replies | |
| 4/6 | net: dsa: tag_8021q: skip disabled portsnet/ | +3 | 0 replies | |
| 5/6 | net: dsa: sja1105: support up to 7 VLANs per port using retaggingdrivers/ include/ include/ +2 more | +357 | 0 replies | |
| 6/6 | docs: net: dsa: sja1105: document the best_effort_vlan_filtering optionDocumentation/ Documentation/ | +70 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/6] Traffic support for dsa_8021q in vlan_filtering=1 mode
From: Vladimir Oltean <[email protected]>
This series is a draft for supporting as much as possible in terms of traffic I/O from the network stack with the only dsa_8021q user thus far, sja1105.
It doesn't support pushing a second VLAN tag to packets that are already tagged, so our only option is to combine the dsa_8021q with the user tag into a single tag and decode that on the CPU.
Posting this RFC only to get opinions on whether I'm way too deep down the rabbit hole or whether this has a chance of getting accepted in mainline. The assumption is that there is a type of use cases for which 7 VLANs per port are more than sufficient, and that there's another type of use cases where the full 4096 entries are barely enough. Those use cases are very different from one another, so I prefer trying to give both the best experience by creating this best_effort_vlan_filtering knob to select the mode in which they want to operate in.
Vladimir Oltean (6):
net: dsa: sja1105: add packing ops for the Retagging Table
net: dsa: sja1105: make HOSTPRIO a devlink param
net: dsa: tag_8021q: allow DSA tags and VLAN filtering simultaneously
net: dsa: tag_8021q: skip disabled ports
net: dsa: sja1105: support up to 7 VLANs per port using retagging
docs: net: dsa: sja1105: document the best_effort_vlan_filtering
option
.../networking/devlink-params-sja1105.txt | 33 ++ Documentation/networking/dsa/sja1105.rst | 86 +++- MAINTAINERS | 1 + drivers/net/dsa/sja1105/sja1105.h | 4 + .../net/dsa/sja1105/sja1105_dynamic_config.c | 33 ++ drivers/net/dsa/sja1105/sja1105_main.c | 415 +++++++++++++++++- .../net/dsa/sja1105/sja1105_static_config.c | 62 ++- .../net/dsa/sja1105/sja1105_static_config.h | 15 + include/linux/dsa/8021q.h | 38 ++ include/linux/dsa/sja1105.h | 4 + net/dsa/tag_8021q.c | 130 +++++- net/dsa/tag_sja1105.c | 35 +- 12 files changed, 818 insertions(+), 38 deletions(-) create mode 100644 Documentation/networking/devlink-params-sja1105.txt
Signature · 1 line
2.17.1