Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

broadcast address. If it is, the frame is accepted unconditionally; otherwise (multicast address) a hash table lookup is performed using the 64-entry hash table deÞned in the hash table registers.

In promiscuous mode (R_CNTRL[PROM] = 1), the FEC receives all the incoming frames regardless of their address. In this mode the DA lookup is still performed and the MISS bit in the RxBD is set accordingly. If address recognition did not achieve a match, the frame is received with RxBD[MISS] set. If address recognition achieves a match the frame is received without the MISS bit being set.

 

Check Address

 

 

I/G Address

I

 

 

 

?

 

 

G

 

True

Broadcast

 

 

Address

 

 

?

 

Receive Frame

False

 

True

Hash Match

 

 

 

 

?

 

Receive Frame

False

 

 

 

 

False

Perfect Match

 

True

 

 

 

 

 

?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive Frame

 

 

 

 

 

 

 

Promiscuous

 

True (R_CNTRL[PROM] = 1)

Mode

 

 

 

 

 

 

 

 

 

?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

False

 

 

 

 

Receive Frame

 

 

(R_CNTRL[PROM] = 1)

 

 

 

 

 

Set Miss Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Discard Frame

Figure 3-1. Ethernet Address Recognition Flowchart

3.7 Hash Table Algorithm

This section discusses the hash table process used in group hash Þltering. When the FEC receives a frame with the destination address I/G bit set, the 48-bit address is mapped into one of 64 bins, represented by the 64 bits in the two hash table registers. This is performed by passing the 48-bit address through the on-chip 32-bit CRC generator and selecting 6 bits

MOTOROLAChapter 3. Fast Ethernet Controller Operation3-5

PRELIMINARYÑSUBJECTFor ore nformationTO CHANGEOn ThisWITHOUTProduct,NOTICE

Go to: www.freescale.com

Page 25
Image 25
Freescale Semiconductor MPC860T user manual Hash Table Algorithm, Rcntrlprom =