MDS213
Data Sheet
33
Zarlink Semiconductor Inc.
256K, 512K, 1024K Bytes depending on the application of the system designer. The MDS213 local memory
interface supports up to 2M bytes of SRAM.
6.0 Search Engine
The Search Engine is responsible for determining the destination information for all packet traffic that enters the
MDS213. The results from all address or VLAN searches are passed to the Frame Engine to be forwarded, or on to
the HISC block for further processing. The result messages to either the Frame Engine or the HISC provide all the
needed information to allow the destination block to process the packet.
The Search Engine has been optimized for high throughput searching, utilizing the integrated Switch Database
Memory (SDM). The internal SDM contains up to 2k MAC Control Table (MCT) entries. These MCT entries are
searched utilizing one of four Hashing algorithms that can be selected. This provides the capability of changing the
search hashing to optimize the hash tables based on the traffic patterns in a given network. For example, if a
company gets all their Network Interface Cards (NIC) from one vendor, then the source and destination MAC
addresses will have common fields. This can lead to inefficient search hashing. With 4 different hash selections that
utilize different parts of the address fields, and can be 8, 9, or 10 bits in length, the hashing algorithm that works
best for a user's network can be selected (by testing each hash algorithm).
Figure 7 - Typical Packet Header Information
The search process begins when the Frame Engine transfers the first 64 bytes of a packet header to the Search
Engine. These bytes are parsed to extract the information needed to perform the search for the MCT entries that
match the source and destination MAC address, generate the search hash keys, lookup VLAN membership, and
other packet status information.
Destination MAC Address
0x800
Ver
64 Bytes
Layer 1
FCS
DATA
SFD
Preamble
Packet
Layer 2
Layer 3
Layer 4
Destination MAC Address
Source MAC Address
Source MAC Address
VLAN Tag
IHL
Typ of Serv
Total Length
Identifier
Fig
Fragment Offset
Protocol
Time to Live
Header Checksum
IP Source Address
Options + Padding
IP Destination Address
Source Port #
Destination Port #
Sequence Number
Acknowledgement Number
Offset Reserved
Window
U A P R S F
Checksum
Urgent Pointer
Options + Padding
Data
.
.
ENET 2
Header
IP Header
TCP/IP
Header
.