LAN9312-NU Standard Microsystems (SMSC), LAN9312-NU Datasheet - Page 77
![no-image](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__sml.jpg)
LAN9312-NU
Manufacturer Part Number
LAN9312-NU
Description
Manufacturer
Standard Microsystems (SMSC)
Datasheet
1.LAN9312-NU.pdf
(458 pages)
Specifications of LAN9312-NU
Number Of Primary Switch Ports
2
Operating Supply Voltage (typ)
3.3V
Fiber Support
No
Phy/transceiver Interface
MII
Power Supply Type
Analog
Data Rate (typ)
10/100Mbps
Vlan Support
Yes
Operating Temperature (max)
70C
Operating Temperature (min)
0C
Pin Count
128
Mounting
Surface Mount
Jtag Support
No
Operating Supply Voltage (max)
3.6V
Operating Supply Voltage (min)
3V
Operating Temperature Classification
Commercial
Data Rate
100Mbps
Lead Free Status / RoHS Status
Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LAN9312-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 77 of 458
- Download datasheet (5Mb)
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
6.5
6.5.1
6.5.1.1
6.5.2
6.5.3
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 Limits and Flow Control Levels
The BM keeps track of the amount of buffers used per each ingress port. These counts are used to
generate flow control (half-duplex backpressure or full-duplex pause frames) and to limit the amount
of buffer space that can be used by any individual receiver (hard drop limit). The flow control and drop
limit thresholds are dynamic and adapt based on the current buffer usage. Based on the number of
active receiving ports, the drop level and flow control pause and resume thresholds adjust between
fixed settings and two user programmable levels via the
(BM_DROP_LVL),
Buffer Manager Flow Control Resume Level Register (BM_FC_RESUME_LVL)
The BM also keeps a count of the number of buffers that are queued for multiple ports (broadcast
queue). This count is compared against the
(BM_BCST_LVL), and if the configured drop level is reached or exceeded, subsequent packets are
dropped.
Random Early Discard (RED)
Based on the ingress flow monitoring detailed in
on page
if the Drop on Red bit in the
Yellow bit in the
randomly discarded based on the moving average number of buffers used by the ingress port.
The probability of a discard is programmable into the Random Discard Weight table via the
Manager Random Discard Table Command Register
Manager Random Discard Table Write Data Register
Manager Random Discard Table Read Data Register
Random Discard Weight table contains sixteen entries, each 10-bits wide. Each entry corresponds to
a range of the average number of buffers used by the ingress port. Entry 0 is for 0 to 15 buffers, entry
1 is for 16 to 31 buffers, etc. The probability for each entry us set in 1/1024’s. For example, a setting
of 1 is 1-in-1024, or approximately 0.1%. A setting of all ones (1023) is 1023-in-1024, or approximately
99.9%.
Refer to
(BM_RNDM_DSCRD_TBL_CMD)," on page 419
Random Discard Weight table.
Transmit Queues
Once a packet has been completely received, it is queued for transmit. There are four queues per
transmit port, one for each level of transmit priority. Each queue is virtual (if there are no packets for
that port/priority, the queue is empty), and dynamic (a queue may be any length if there is enough
memory space). When a packet is read from the memory and sent out to the corresponding port, the
used buffers are released.
Buffer Manager (BM)
71, packets are colored as Green, Yellow, or Red. Packets colored Red are always discarded
Section 14.5.4.10, "Buffer Manager Random Discard Table Command Register
Buffer Manager Configuration Register (BM_CFG)
Buffer Manager Flow Control Pause Level Register
Buffer Manager Configuration Register (BM_CFG)
DATASHEET
77
Buffer Manager Broadcast Buffer Level Register
Section 6.4.6, "Ingress Flow Metering and Coloring,"
for additional details on writing and reading the
(BM_RNDM_DSCRD_TBL_WDATA), and
(BM_RNDM_DSCRD_TBL_CMD),
(BM_RNDM_DSCRD_TBL_RDATA). The
Buffer Manager Drop Level Register
is set, packets colored Yellow are
(BM_FC_PAUSE_LVL), and
respectively.
is set. If the Drop on
Revision 1.7 (06-29-10)
Buffer
Buffer
Buffer
Related parts for LAN9312-NU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![LAN9312-NZW](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111-NU](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9115-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9118-MT](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2229-NU-02](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2601-NU-05](/photos/31/30/313086/406-128-tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514B-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
USB CHIP
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514BI-AEZG](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2251-NU-05](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
ULTRA FAST USB 2.0 MULTI-SLOT FLASH MEDI
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C96-MS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN9215-MT](/photos/31/30/313088/100pin_tqfp_tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![LAN91C111I-NS](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514I-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet:
![USB2514-HZH](/images/manufacturer_photos/0/6/632/standard_microsystems__smsc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Standard Microsystems (SMSC)
Datasheet: