Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing flow control in Ethernet chip

A flow control and Ethernet technology, applied in the field of network communication, which can solve the problems that flow control cannot work as expected, and the ingress queue cannot reach the threshold for sending Pause, so as to achieve the effect of accurate flow.

Active Publication Date: 2017-12-01
苏州盛科科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The length of the X queue at the ingress port determines whether to send a Pause frame. However, the maximum length of the X queue at the ingress port = the maximum length of the outbound queue at the Z outbound port - the length of the Y queue at the ingress port. If the number of ingress ports increases, the Pause frame is sent The length of the inbound queue will have great uncertainty, that is, it may be because the outbound queue of the outbound port reaches the maximum length, but the inbound queue cannot reach the threshold of sending Pause, and the flow control (Flow Control) cannot be implemented according to the network congestion. Expectations require work

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing flow control in Ethernet chip
  • Method and device for realizing flow control in Ethernet chip
  • Method and device for realizing flow control in Ethernet chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

[0030] like Figure 4 As shown, in the method for implementing flow control in the Ethernet chip disclosed by the present invention, when the switch of the Ethernet receives and forwards the message sent from other switches, in order to better control the flow of the port to prevent the network from Congestion, according to the length of the queue on the outlet port of the switch to determine the queue of the incoming port message. Its specific process is:

[0031] In the out-queue resource policy module that manages out-port messages entering the out-queue, the out-port queue length reading module first reads the queue length of the current out-port, and sends the queue length to the queue length comparison module, and then the queue length The length comparison module compares the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a method and a device for realizing flow control in an Ethernet chip. When a message enters the output queue of the output port of an Ethernet switch, the current flow is read by the queue length reading module set in the output queue resource policy module. The queue length of the outgoing port, compare the queue length with the preset queue length threshold for sending Pause frames, read and set the Pause trigger state table of all incoming ports corresponding to the outgoing port according to the comparison result; trigger according to the Pause The Pause state of the ingress port that is set in the device state table carries out the update of corresponding ingress port Pause state counting information, and determines whether described ingress port sends Pause frame according to the updating result of described ingress port Pause counting information, makes the sending of Pause frame complete Depending on the queue length of the egress port, network traffic can be more precisely controlled.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and a device for controlling flow in an Ethernet chip by setting a check mode for message entering and exiting a port and exiting a queue. Background technique [0002] The management of network resources of an Ethernet switch chip is generally divided into ingress port resource management and egress port resource management. After the packet enters from the ingress port of the switch, the process of forwarding to the egress port needs to be realized through port resource management. Ingress port resource management is based on the ingress port of the packet, and the egress port resource management is based on the egress port of the packet, such as figure 1 In the shown switch, it has two ingress ports, namely ingress port X, ingress port Y, and an egress port Z, different messages are sent from ingress port X, ingress port Y to egress port Z, and Port Z is forwarde...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/823H04L12/861H04L12/935H04L47/32H04L49/111
Inventor 杨曙军
Owner 苏州盛科科技有限公司