mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Add trunking support and initial L2 setup
This commit is contained in:
1 parent
891ee08243
commit
fcd1f85eb6
3 files changed
+130
-56
No files matched your search
@@ -98,6 +98,15 @@
|
||||
#define RTL837x_L2_TBL_CTRL 0x53d4
|
||||
#define RTL837x_PVID_BASE_REG 0x4e1c
|
||||
|
||||
/*
|
||||
* Egress / ingress filtering
|
||||
*/
|
||||
// 2 bits per port: allow tagged (01) / untagged (10) and all (00)
|
||||
#define RTL837x_REG_INGRESS 0x4e10
|
||||
#define INGR_ALLOW_TAGGED 1
|
||||
#define INGR_ALLOW_UNTAGGED 2
|
||||
#define INGR_ALLOW_ALL 0
|
||||
|
||||
/*
|
||||
* Mirroring
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user