High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
377
Revision 1.4 (08-19-08)
DATASHEET
14.5.3.10
Switch Engine VLAN Read Data Register (SWE_VLAN_RD_DATA)
This register is used to read the VLAN or Port VID tables.
Register #:
180Eh
Size:
32 bits
BITS
DESCRIPTION
TYPE
DEFAULT
31:18
RESERVED
RO
-
17:0
Port Default VID and Priority
When the port VID table is selected (PVIDnVLAN=1 of the
VLAN Command Register (SWE_VLAN_CMD)
), bits 11:0 of this field specify
the default VID for the port and bits 14:12 specify the default priority. All
other bits of this field are reserved. These bits are used when a packet is
received without a VLAN tag or with a NULL VLAN ID. By default, the VID
and priority for all three ports is 0.
VLAN Data
When the VLAN table is selected (PVIDnVLAN=0 of the
VLAN Command Register (SWE_VLAN_CMD)
), the bits form the VLAN
table entry as follows:
RO
00000h
BITS
DESCRIPTION
DEFAULT
17
Member Port 2
Indicates the configuration of Port 2 for this VLAN entry.
1 = Member
- Packets with a VID that matches this entry
are allowed on ingress. The port is a member of the
broadcast domain on egress.
0 = Not a Member
- Packets with a VID that matches this
entry are filtered on ingress unless the Admit Non Member
bit in the
Switch Engine Admit Non Member Register
is set for this port. The port is
not a member of the broadcast domain on egress.
0b
16
Un-Tag Port 2
When this bit is set, packets received on Port 2 with a VID
that matches this entry will have their tag removed when re-
transmitted by egress ports that are designated as Hybrid
ports via the
Buffer Manager Egress Port Type Register
.
0b
15
Member Port 1
See description for Member Port 2.
0b
14
Un-Tag Port 1
See description for Un-Tag Port 2.
0b
13
Member Port 0 (Host MAC)
See description for Member Port 2.
0b
12
Un-Tag Port 0 (Host MAC)
See description for Un-Tag Port 2.
0b
11:0
VID
These bits specify the VLAN ID associated with this VLAN
entry.
000h