Commit 33a6acb
authored
Set VLAN FID in configuration (#2501)
The MAC tables in the VSC7448 contain a map from `(source mac, filtering
id)` tuples to port. The filtering id field ("FID") allows for
VLAN-aware learning.
Unfortunately, you have to explicitly set a flag to copy the classified
VID to the FID.
If you're in a situation where you see the same MAC address on multiple
ports (which are on different VLANs), properly setting the FID is
load-bearing; otherwise, that MAC address will randomly wander between
those ports, and packets directed to that MAC address have unpredictable
deliverability.
Fixes oxidecomputer/mfg#2241 parent 7cf3e63 commit 33a6acb
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
748 | 755 | | |
749 | 756 | | |
750 | 757 | | |
| |||
0 commit comments