28.06.2015 Views

AR8327/AR8327N Seven-port Gigabit Ethernet Switch - La Fibre

AR8327/AR8327N Seven-port Gigabit Ethernet Switch - La Fibre

AR8327/AR8327N Seven-port Gigabit Ethernet Switch - La Fibre

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.18.4 Automatic Address Learning<br />

Up to 2048 MAC address/<strong>port</strong> number mappings can be stored in the address table. A three-way hash<br />

algorithm allows a maximum of three different addresses with the same hash key to be stored<br />

simultaneously. The <strong>AR8327</strong> searches for the SA of an incoming packet in the address table. If the SA is<br />

not found, the address is hashed and stored in the first empty bin found at the hashed location. If both<br />

address bins are full, each entry’s age time is examined to select the least recently used bin. If the SA is<br />

found, the aging value of the corresponding entry is reset to 0. If the DA is PAUSE, the <strong>AR8327</strong><br />

automatically disables the learning process.<br />

2.18.5 Automatic Address Aging<br />

Address aging sup<strong>port</strong>s network topology changes such as an end station disconnecting from the<br />

network or an address moving from one <strong>port</strong> to another. An address is removed (aged-out) from the<br />

address database after a specified amount of time since the last time it appeared in an incoming frame<br />

source address. The <strong>AR8327</strong> has a default aging time of 5 minutes, but can be set in 7-second<br />

increments to a maximum of 10,000 minutes.<br />

2.18.6 Broadcast/Multicast Storm Control<br />

If broadcast/multicast storm control is enabled, all broadcast/multicast packets beyond the default<br />

threshold of 10 ms (for 100 Mb operations) and 100 ms (for 10 Mb operations) are discarded. Atheros<br />

Header Configuration<br />

The Atheros header is a two-byte header that the CPU uses to configure the <strong>AR8327</strong> switch.<br />

2.18.7 ARL Table<br />

The address database is stored in the embedded SRAM and has a size of 2048 entries with a default<br />

aging time of about 300 seconds or 5 minutes.<br />

Sup<strong>port</strong>:<br />

n Search one address in the table<br />

n Use get next read out whole table<br />

n Loading and purging an entry in the ARL table<br />

n Flush entries: all Entries, all Non-static Entries, one <strong>port</strong>'s all Entries, one <strong>port</strong>'s all Non-static<br />

Entries<br />

All registers and counters can be accessed (read and written) through the UART/MDIO interface and<br />

CPU <strong>port</strong> frames. Interrupts may be asserted upon access completion.<br />

Table 2-32.<br />

Bit Name Description<br />

83:72 VID The VID group indicates which the MAC address belongs to<br />

71 RESERVED<br />

70 COPY_TO_CPU 1’b1: A packet received with this address should be copied to the CPU <strong>port</strong><br />

69 REDIRECT_TO_CPU 1’b1: Indicates that a packet received with this address should be redirected to<br />

the CPU <strong>port</strong>. If no CPU is connected to the switch, this frame should be<br />

discarded.<br />

68 LEAKY_EN 1’b1: Use Leaky VLAN enable for this MAC address. This bit can be used for<br />

Unicast and Multicast frame control by ARL_uni_leaky_en and<br />

ARL_multi_leaky_en<br />

67:64 STATUS 4’h0: Indicates entry is empty<br />

4’h1 ~ 7: indicates entry is dynamic and valid<br />

4’h8 ~ 4’hE: Reserved for future use<br />

4’F: Indicates entry is static and won’t be aged out or changed by the hardware<br />

48 • <strong>AR8327</strong>/<strong>AR8327</strong>N <strong>Seven</strong>-<strong>port</strong> <strong>Gigabit</strong> <strong>Ethernet</strong> <strong>Switch</strong> Atheros Communications, Inc.<br />

48 • June 2011 COMPANY CONFIDENTIAL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!