lan9313 Standard Microsystems Corp., lan9313 Datasheet - Page 78

no-image

lan9313

Manufacturer Part Number
lan9313
Description
Lan9313/lan9313i Three Port 10/100 Managed Ethernet Switch With Mii
Manufacturer
Standard Microsystems Corp.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
lan9313-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9313-NZW
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
lan9313I-NZW
Manufacturer:
Standard
Quantity:
261
Part Number:
lan9313I-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9313NZW
Manufacturer:
Standard
Quantity:
295
Revision 1.2 (04-08-08)
6.4.10.2
6.4.11
6.5
6.5.1
Note: When specifying Port 0 as the destination port, the VID will be set to 0. A VID of 0 is normally
Note: The maximum size tagged packet that can normally be sent into a switch port (from the MII
Packets to the Host CPU
The
add the special VLAN tag in packets to the host CPU as a source port indicator. A setting of 11b should
be used only on the port that is connected to the host CPU (typically Port 0). Other settings can be
used on the normal network ports as needed.
The special VLAN tag is a normal VLAN tag where bits 0 and 1 of the VID field specify the source
port (0, 1, or 2).
Upon egress from the host CPU port, the special tag is added. If a regular VLAN tag already exists,
it is not deleted. Instead it will follow the special tag.
Counters
A counter is maintained per port that contains the number of MAC address that were not learned or
were overwritten by a different address due to MAC Address Table space limitations. These counters
are accessible via the following registers:
A counter is maintained per port that contains the number of packets filtered at ingress. This count
includes packets filtered due to broadcast throttling, but does not include packets dropped due to
ingress rate limiting. These counters are accessible via the following registers:
The buffer manager (BM) provides control of the free buffer space, the multiple priority transmit
queues, transmission scheduling, and packet dropping. VLAN tag insertion and removal is also
performed by the buffer manager. The following sections detail the various features of the buffer
manager.
Packet Buffer Allocation
The packet buffer consists of 32KB of RAM that is dynamically allocated in 128 byte blocks as packets
are received. Up to 16 blocks may be used per packet, depending on the packet length. The blocks
are linked together as the packet is received. If a packet is filtered, dropped, or contains a receive
error, the buffers are reclaimed.
Buffer Manager (BM)
Switch Engine Port 0 Learn Discard Count Register (SWE_LRN_DISCRD_CNT_MII)
Switch Engine Port 1 Learn Discard Count Register (SWE_LRN_DISCRD_CNT_1)
Switch Engine Port 2 Learn Discard Count Register (SWE_LRN_DISCRD_CNT_2)
Switch Engine Port 0 Ingress Filtered Count Register (SWE_FILTERED_CNT_MII)
Switch Engine Port 1 Ingress Filtered Count Register (SWE_FILTERED_CNT_1)
Switch Engine Port 2 Ingress Filtered Count Register (SWE_FILTERED_CNT_2)
Buffer Manager Egress Port Type Register (BM_EGRSS_PORT_TYPE)
considered a priority tagged packet. Such a packet will be filtered if Admit Only VLAN is set
on the host CPU port. Either avoid setting Admit Only VLAN on the host CPU port or set an
unused bit in the VID field.
port) is 1522 bytes. Since the special tag consumes four bytes of the packet length, the
outgoing packet is limited to 1518 bytes, even if it contains a regular VLAN tag as part of the
packet data. If a larger outgoing packet is required, the Jumbo2K bit in the
Configuration Register (MAC_RX_CFG_x)
DATASHEET
78
of Port 0 should be set.
Three Port 10/100 Managed Ethernet Switch with MII
configures the switch to
SMSC LAN9313/LAN9313i
Port x MAC Receive
Datasheet

Related parts for lan9313