lan9313 Standard Microsystems Corp., lan9313 Datasheet - Page 79
lan9313
Manufacturer Part Number
lan9313
Description
Lan9313/lan9313i Three Port 10/100 Managed Ethernet Switch With Mii
Manufacturer
Standard Microsystems Corp.
Datasheet
1.LAN9313.pdf
(398 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
lan9313-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9313-NZW
Manufacturer:
SMSC
Quantity:
20 000
Company:
Part Number:
lan9313I-NZW
Manufacturer:
Standard
Quantity:
261
Company:
Part Number:
lan9313I-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
lan9313NZW
Manufacturer:
Standard
Quantity:
295
- Current page: 79 of 398
- Download datasheet (5Mb)
Three Port 10/100 Managed Ethernet Switch with MII
Datasheet
SMSC LAN9313/LAN9313i
6.5.1.1
6.5.2
6.5.3
6.5.4
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 366
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.
Transmit Priority Queue Servicing
When a transmit queue is non-empty, it is serviced and the packet is read from the buffer RAM and
sent to the transmit MAC. If there are multiple queues that require servicing, one of two methods may
be used: fixed priority ordering, or weighted round-robin ordering. If the Fixed Priority Queue Servicing
bit in the
selected. Transmit queue 3 has the highest priority, followed by 2, 1, and 0. If the Fixed Priority Queue
Servicing bit in the
robin order is followed. Assuming all four queues are non-empty, the service is weighted with a 9:4:2:1
ratio (queue 3,2,1,0). The servicing is blended to avoid burstiness (e.g. queue 3, then queue 2, then
queue 3, etc.).
73, packets are colored as Green, Yellow, or Red. Packets colored Red are always discarded
Buffer Manager Configuration Register (BM_CFG)
Section 13.3.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)
Buffer Manager Configuration Register (BM_CFG)
DATASHEET
79
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, a strict order, fixed priority is
is set, packets colored Yellow are
is cleared, a weighted round-
(BM_FC_PAUSE_LVL), and
respectively.
is set. If the Drop on
Revision 1.2 (04-08-08)
Buffer
Buffer
Buffer
Related parts for lan9313
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Interface, Integrated USB2.0 Compatible 3-Port Hub
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Lan91c100fd Rev. B Feast Fast Ethernet Controller With Full Duplex Capability
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Feast ? Ast Ethernet Controller
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Com20022i 10 Mbps Arcnet Ansi 878.1 Controller With 2k X 8 On-chip Ram
Manufacturer:
Standard Microsystems Corp.
Part Number:
Description:
Lpc47n207 Lpc Super I/o Irda Hot Docking Chip With Uart Data Brief
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Advanced I/o With X-bus Interface
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Fdc37m707 Enhanced Super I/o Controller With Wake-up Features
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Twenty Pin Uart Tpuart Corporation
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Enhanced Small Device Interface Controller
Manufacturer:
Standard Microsystems Corp.
Part Number:
Description:
Rpm-based Pwm Fan Controller
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Rpm-based Pwm Fan Controller
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
Emc1001 1.5?c Smbus Temperature Sensor In Miniature Sot-23
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
1 Degree C Triple Temperature Sensor With Beta Compensation And Hotter Of Two Zones
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
1 Degree C Multiple Temperature Sensor With Beta Compensation And Hottest Of Thermal Zones
Manufacturer:
Standard Microsystems Corp.
Datasheet:
Part Number:
Description:
1 Degree C Triple Temperature Sensor With Resistance Error Correction & Hotter Of Two Zones
Manufacturer:
Standard Microsystems Corp.
Datasheet: