
Datasheet
.
PREAMBLE | SOF | DEST. ADDR. | SOURCE ADDR. |
(7 BYTES) | (1 BYTE) | (6 BYTES) | (6 BYTES) |
Ethernet frame (1518 BYTES)
TYPE | DATA | FCS | |
(2 BYTES) | (46 - 1500 BYTES) | (4 BYTES) | |
|
|
|
Ethernet frame with VLAN TAG
(1522 BYTES)
PREAMBLE | SOF | DEST. ADDR. | SOURCE ADDR. | TPID | TYPE | TYPE | DATA | FCS |
(7 BYTES) | (1 BYTE) | (6 BYTES) | (6 BYTES) | (2 BYTES) | (2 BYTES) | (2 BYTES) | (46 - 1500 BYTES) | (4 BYTES) |
Tag Control Information
(TCI)
TPID | USER PRIORITY | CFI | VLAN ID |
(2 BYTES) | (3 BITS) | (1 BIT) | (12 BITS) |
VID: 12 bits defining the VLAN to which the frame belongs
Canonical Address Format Indicator
Indicates frame's priority
Tag Protocol D:
The Ethernet address fields of an Ethernet packet, consists of two
The address check logic filters the frame based on the Ethernet receive filter mode that has been enabled. Filter modes are specified based on the state of the control bits in Table 3.13, "Address Filtering Modes", which shows the various filtering modes used by the MAC. These bits are defined in more detail in Section 4.4.1, "MAC Control Register (MAC_CR)," on page 119.
If the frame fails the filter, the MAC does not receive the packet. The Host has the option of accepting or ignoring the packet.
Table 3.13 Address Filtering ModesMCPAS | PRMS | INVFILT | HFILT | HPFILT | DESCRIPTION |
|
|
|
|
|
|
0 | 0 | 0 | 0 | 0 | MAC address perfect filtering only |
|
|
|
|
| for all addresses. |
|
|
|
|
|
|
0 | 0 | 0 | 0 | 1 | MAC address perfect filtering for |
|
|
|
|
| physical address and hash filtering |
|
|
|
|
| for multicast addresses |
|
|
|
|
|
|
0 | 0 | 0 | 1 | 1 | Hash Filtering for physical and |
|
|
|
|
| multicast addresses |
|
|
|
|
|
|
0 | 0 | 1 | 0 | 0 | Inverse Filtering |
|
|
|
|
|
|
X | 1 | 0 | X | X | Promiscuous |
|
|
|
|
|
|
SMSC LAN9420/LAN9420i | 55 | Revision 1.22 |
| DATASHEET |
|