11-8
MCF5272 User’s Manual
FEC Frame Transmission
Figure 11-4. Ethernet Address Recognition Flowchart
11.4.4 Hash Table Algorithm
The hash table process used in the group hash filtering operates as follows. When a frame
with the destination address I/G bit set is received by the FEC, the 48-bit destination media
access control (MAC) address is mapped into one of 64 bins, which are represented by 64
bits stored in HASH_TABLE_LOW, _HIGH. This is performed by passing the 48-bit MAC
address through the on-chip 32-bit CRC generator and selecting 6 bits of the CRC-encoded
result to generate a number between 0 and 63. Bit 31 of the CRC result selects
HASH_TABLE_HIGH (bit 31 = 1) or HASH_TABLE_LOW (bit 31 = 0). Bits 30–26 of
the CRC result select the bit within the selected register. If the CRC generator selects a bit
that is set in the hash table, the frame is accepted; otherwise, it is rejected. The result is that
if eight group addresses are stored in the hash table and random group addresses are
received, the hash table prevents roughly 56/64 (or 87.5%) of the group address frames
from reaching memory. Those that do reach memory must be further filtered by the
processor to determine if they truly contain one of the eight preferred addresses.
Check Address
Receive Frame
Set Miss Bit
I/G Address
?
Receive Frame
Hash Match
?
Receive Frame
Receive Frame
Promiscuous
Discard Frame
Perfect Match
?
Broadcast
Address
?
G
I
False
True
False
True
False
True (R_CNTRL[PROM] = 1)
True
False
Mode
?
(R_CNTRL[PROM] = 0)
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...