-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: net: dsa: sja1105: document the best_effort_vlan_filtering option
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Vladimir Oltean
authored and
David S. Miller
committed
May 12, 2020
1 parent
3f01c91
commit a20bc43
Showing
2 changed files
with
212 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
best_effort_vlan_filtering | ||
[DEVICE, DRIVER-SPECIFIC] | ||
Allow plain ETH_P_8021Q headers to be used as DSA tags. | ||
Benefits: | ||
- Can terminate untagged traffic over switch net | ||
devices even when enslaved to a bridge with | ||
vlan_filtering=1. | ||
- Can terminate VLAN-tagged traffic over switch net | ||
devices even when enslaved to a bridge with | ||
vlan_filtering=1, with some constraints (no more than | ||
7 non-pvid VLANs per user port). | ||
- Can do QoS based on VLAN PCP and VLAN membership | ||
admission control for autonomously forwarded frames | ||
(regardless of whether they can be terminated on the | ||
CPU or not). | ||
Drawbacks: | ||
- User cannot use VLANs in range 1024-3071. If the | ||
switch receives frames with such VIDs, it will | ||
misinterpret them as DSA tags. | ||
- Switch uses Shared VLAN Learning (FDB lookup uses | ||
only DMAC as key). | ||
- When VLANs span cross-chip topologies, the total | ||
number of permitted VLANs may be less than 7 per | ||
port, due to a maximum number of 32 VLAN retagging | ||
rules per switch. | ||
Configuration mode: runtime | ||
Type: bool. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters