English
Language : 

LAN9311 Datasheet, PDF (116/461 Pages) SMSC Corporation – Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Datasheet
MCPAS
0
0
0
0
X
1
1
PRMS
0
0
0
0
1
0
0
Table 9.1 Address Filtering Modes
INVFILT
HO
0
0
0
0
0
1
1
0
0
X
0
0
0
1
HPFILT
0
1
1
0
X
X
1
DESCRIPTION
MAC address perfect filtering only
for all addresses.
MAC address perfect filtering for
physical address and hash filtering
for multicast addresses
Hash Filtering for physical and
multicast addresses
Inverse Filtering
Promiscuous
Pass all multicast frames. Frames
with physical addresses are
perfect-filtered
Pass all multicast frames. Frames
with physical addresses are hash-
filtered
9.4.1
9.4.2
9.4.3
Perfect Filtering
This filtering mode passes only incoming frames whose destination address field exactly matches the
value programmed into the Host MAC Address High Register (HMAC_ADDRH) and the Host MAC
Address Low Register (HMAC_ADDRL). The MAC address is formed by the concatenation of these
two registers.
Hash Only Filtering
This type of filtering checks for incoming receive packets (from switch Port 0) with either multicast or
physical destination addresses, and executes an imperfect address filtering against the hash table. The
hash table is formed by merging the values in the Host MAC Multicast Hash Table High Register
(HMAC_HASHH) and the Host MAC Multicast Hash Table Low Register (HMAC_HASHL) to form a
64-bit hash table.
During imperfect hash filtering, the upper 6-bits of the destination address of the incoming frame are
used to index the contents of the hash table. The most significant bit of the destination address
determines the register to be used (HMAC_HASHH or HMAC_HASHL), while the other five bits
determine the bit within the register. A value of 00000 selects Bit 0 of the HMAC_HASHL register and
a value of 11111 selects Bit 31 of the HMAC_HASHH register.
Hash Perfect Filtering
In hash perfect filtering, if the received frame is a physical address, the Host MAC packet filter will
perfect-filter the incoming frame’s destination field with the value programmed into the Host MAC
Address High Register (HMAC_ADDRH) and the Host MAC Address Low Register (HMAC_ADDRL).
However, if the incoming frame is a multicast frame, the Host MAC packet filter function performs an
imperfect address filtering against the hash table.
The imperfect filtering against the hash table is the same imperfect filtering process described in
Section 9.4.2, "Hash Only Filtering".
Revision 2.0 (02-14-13)
116
DATASHEET
SMSC LAN9311/LAN9311i