lan9312 Standard Microsystems Corp., lan9312 Datasheet - Page 71

no-image

lan9312

Manufacturer Part Number
lan9312
Description
Lan9312 High Performance Two Port 10/100 Managed Ethernet Switch With 32-bit Non-pci Cpu Interface
Manufacturer
Standard Microsystems Corp.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
lan9312-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9312-NZW
Manufacturer:
Standard
Quantity:
143
Part Number:
lan9312-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface
Datasheet
SMSC LAN9312
6.4.6
11 - Listening
10 - Learning
00 - Forwarding
Port State
Ingress Flow Metering and Coloring
The LAN9312 supports hardware ingress rate limiting by metering packet streams and marking packets
as either Green, Yellow, or Red according to three traffic parameters: Committed Information Rate
(CIR), Committed Burst Size (CBS), and Excess Burst Size (EBS). A packet is marked Green if it does
not exceed the CBS, Yellow if it exceeds to CBS but not the EBS, or Red otherwise.
Ingress flow metering and coloring is enabled via the Ingress Rate Enable bit in the
Ingress Rate Configuration Register
packet is classified into a stream. Streams are defined as per port (3 streams), per priority (8 streams),
or per port & priority (24 streams) as selected via the Rate Mode bits in the
Rate Configuration Register
setting. All streams share common CBS and EBS settings. CIR, CBS, and EBS are programmed via
the
Ingress Rate Write Data Register
Each stream is metered according to RFC 2697. At the rate set by the CIR, two token buckets are
credited per stream. First, the Committed Burst bucket is incremented up to the maximum set by the
CBS. Once the Committed Burst bucket is full, the Excess Burst bucket is incremented up to the
maximum set by the EBS. The CIR rate is specified in time per byte. The value programmed is in
approximately 20 nS per byte increments. Typical values are listed in
receiving at 10Mbps, any setting faster than 39 has the effect of not limiting the rate.
Switch Engine Ingress Rate Command Register (SWE_INGRSS_RATE_CMD)
Received packets on the port are
discarded.
Transmissions to the port are blocked.
Learning on the port is disabled.
Received packets on the port are
discarded.
Transmissions to the port are blocked.
Learning on the port is enabled.
Received packets on the port are
forwarded normally.
Transmissions to the port are sent
normally.
Learning on the port is enabled.
Hardware Action
Table 6.2 Spanning Tree States (continued)
(SWE_INGRSS_RATE_CFG). Each stream can have a different CIR
(SWE_INGRSS_RATE_WR_DATA).
DATASHEET
(SWE_INGRSS_RATE_CFG). Once enabled, each incoming
71
The MAC Address Table should be programmed
with entries that the host CPU needs to receive
(e.g. the BPDU address). The static and override
bits should be set.
The host CPU may send packets to the port in this
state.
The MAC Address Table should be programmed
with entries that the host CPU needs to receive
(e.g. the BPDU address). The static and override
bits should be set.
The host CPU may send packets to the port in this
state.
The MAC Address Table should be programmed
with entries that the host CPU needs to receive
(e.g. the BPDU address). The static and override
bits should be set.
The host CPU may send packets to the port in this
state.
Software Action
Table
Switch Engine Ingress
6.3. When a port is
Revision 1.2 (04-08-08)
and
Switch Engine
Switch Engine

Related parts for lan9312