CN101867511B - Pause frame sending method, associated equipment and system - Google Patents

Pause frame sending method, associated equipment and system Download PDF

Info

Publication number
CN101867511B
CN101867511B CN2009101355202A CN200910135520A CN101867511B CN 101867511 B CN101867511 B CN 101867511B CN 2009101355202 A CN2009101355202 A CN 2009101355202A CN 200910135520 A CN200910135520 A CN 200910135520A CN 101867511 B CN101867511 B CN 101867511B
Authority
CN
China
Prior art keywords
port
frame
formation
bridge
flow control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101355202A
Other languages
Chinese (zh)
Other versions
CN101867511A (en
Inventor
邓柱升
李琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Global Innovation Polymerization LLC
Gw Partnership Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2009101355202A priority Critical patent/CN101867511B/en
Publication of CN101867511A publication Critical patent/CN101867511A/en
Application granted granted Critical
Publication of CN101867511B publication Critical patent/CN101867511B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a pause frame sending method, associated equipment and a system. The pause frame sending method comprises: whether the amount of a data frame cached in the first queue corresponding to a first port in a network bridge exceeds a first fluid control threshold is judged; the first port is the connection port of the network bridge and a server, and the cached data frame in the first queue is the data frame of which both the inlet port and an outlet port of the network bridge are the first port; when the amount of the data frame of the first queue exceeds the first fluid control threshold, the first pause frame is generated and is used for indicating to stop sending cache to the data frame of the first queue; and the first port sends the first pause frame to the server. The technical scheme provided by the embodiment of the invention can ensure that a virtual machine causing jam stops sending data when receiving the pause frame.

Description

Pause frame sending method, relevant device and system
Technical field
The present invention relates to communication technical field, particularly a kind of pause frame sending method, relevant device and system.
Background technology
Server (Server) is by physical network card (Network Interface Card, NIC) be connected with external bridge (Bridge), outside Bridge is in the one group of set of queues of port maintenance that receives and send data, comprise the formation corresponding to each priority in this set of queues, if it is congested that certain priority query occurs, send the flow control frames (PFC frame) of Priority-based to other ports except this port, the port that receives this PFC frame will stop to send the data of this priority, to solve congestion problems.
The method of above-mentioned solution congestion problems is applicable to server (Server) by the transmission of data between external bridge (Bridge) and other equipment.But in virtual ethernet bridge technology, in each server (Server) a plurality of virtual machines (Virtual Machine can be arranged, VM), a plurality of virtual machines are by Microsoft Loopback Adapter (Virtual Network Interface Card, VNIC) be connected to physical network card NIC, be connected with external bridge (Bridge) by NIC, can communicate by outside Bridge between the different virtual machine.
The inventor finds that prior art has following shortcoming in realizing process of the present invention:
Because the formation in the set of queues of externally port that should Server being safeguarded among the Bridge occurs when congested, can send the PFC frame to other ports except this port, like this, cause virtual machine among the congested Server not receive the PFC frame and can continue to send the data of this priority, cause congested can't the solution, the congested method of solution of therefore using prior art to provide can't solve the congestion problems that the transmission of data causes between different virtual machine in the Server.
Summary of the invention
The embodiment of the invention provides a kind of pause frame sending method, relevant device and system, can guarantee to cause congested virtual machine to receive flow control frames and stop to send data.
In view of this, the embodiment of the invention provides:
A kind of pause frame sending method comprises:
Whether the number of data frames of judging buffer memory in the first formation of corresponding the first port in the bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation;
When the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
Send described first-class control frame by described the first port to described server.
A kind of pause frame sending method comprises:
Whether the number of data frames of judging buffer memory in the formation of corresponding the first port in the bridge surpasses the Flow Control thresholding, if so, generates flow control frames, and described flow control frames is used to indicate and stops to send the Frame that should be cached to described formation;
All of the port by described bridge sends described flow control frames.
A kind of bridge comprises:
The first judging unit is used for judging whether the number of data frames of buffer memory in the first formation of corresponding the first port of described bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation;
The flow control frames generation unit is used for generating the first-class control frame when the number of data frames of the first formation buffer memory surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
The first transmitting element is used for sending described first-class control frame by described the first port to described server.
A kind of bridge comprises:
Judging unit is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of described bridge surpasses the Flow Control thresholding;
The flow control frames generation unit, be used for when the judged result of described judging unit when being, the generation flow control frames, described flow control frames is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element is used for sending described flow control frames by all of the port of described bridge.
A kind of network system comprises: server, the bridge that is connected with described server,
Described bridge is used for judging that whether the number of data frames of buffer memory in the first formation of corresponding the first port of bridge is above the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation; When the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation; Send described first-class control frame by described the first port to described server;
Described server is used for receiving described first-class control frame, stops to send the Frame that should be cached to described the first formation.
A kind of network system comprises: server, the bridge that is connected with server,
Described bridge is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of bridge surpasses the Flow Control thresholding, if so, the generation flow control frames, described flow control frames is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described flow control frames;
Described server is used for receiving described flow control frames, stops to send the Frame that should be cached to described formation.
When the number of data frames of buffer memory surpasses the first-class control thresholding in the first formation of one embodiment of the invention corresponding first port in bridge, send flow control frames by the first port to server, the indication server stops to send the Frame that should be cached to this formation, make to stop to send Frame after causing congested virtual machine to receive this flow control frames, thereby remove congested.
When the number of data frames of buffer memory surpasses the Flow Control thresholding in the formation of another embodiment of the present invention corresponding first port in bridge, all of the port by bridge sends flow control frames, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby removes congested.
Description of drawings
The pause frame sending method flow chart that Fig. 1 provides for the embodiment of the invention one;
Fig. 2 is the pause frame sending method flow chart that the embodiment of the invention two provides;
Fig. 3 is that the flow control frames that the embodiment of the invention two provides sends schematic diagram;
Fig. 4 is the flow chart of the step 201 that provides of the embodiment of the invention two;
Fig. 5 is the flow chart of the step 202 that provides of the embodiment of the invention two;
Fig. 6 is the flow chart of the step 203 that provides of the embodiment of the invention two;
Fig. 7 is the pause frame sending method flow chart that the embodiment of the invention three provides;
Fig. 8 is that the flow control frames that the embodiment of the invention three provides sends schematic diagram;
Fig. 9 is the bridge structure chart that the embodiment of the invention four provides;
Figure 10 is the bridge structure chart that the embodiment of the invention five provides;
Figure 11 is the bridge structure chart that the embodiment of the invention six provides.
Embodiment
Embodiment one:
Consult Fig. 1, the embodiment of the invention one provides a kind of pause frame sending method, and it comprises:
Whether the number of data frames of 101, judging buffer memory in the first formation of corresponding the first port in the bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation;
102, when the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
103, send described first-class control frame by described the first port to described server.
Wherein, first team is classified the formation in the loopback set of queues that the first port is corresponding in the subsequent embodiment two as.
When the number of data frames of buffer memory surpasses the first-class control thresholding in the first formation of the embodiment of the invention one corresponding first port in bridge, send flow control frames by the first port to server, the indication server stops to send the Frame that should be cached to this formation, make to stop to send Frame after causing congested virtual machine to receive this flow control frames, thereby remove congested.
Embodiment two:
Consult Fig. 2-Fig. 6, the embodiment of the invention two provides a kind of pause frame sending method, wherein, and the method flow diagram that the flow control frames that Fig. 2 provides for the embodiment of the invention two sends, Fig. 3 sends schematic diagram for the flow control frames that the embodiment of the invention two provides, and pause frame sending method specifically comprises:
201, bridge is by the Frame of the first port reception from server (such as Server1), according to the outbound port of this Frame at bridge, this Frame is deposited in set of queues corresponding to the outbound port of the loopback set of queues of corresponding the first port or this Frame.
Whether the number of data frames of 202, judging formation in the loopback set of queues of corresponding the first port reaches the first-class control thresholding, and according to judged result, control PFC frame sends.
Whether the number of data frames of 203, judging formation (i.e. the second formation) in the non-loopback set of queues of corresponding the first port reaches the second Flow Control thresholding, and according to judged result, control PFC frame sends.
Consult Fig. 4, step 201 specifically comprises:
401, bridge is by the Frame of the first port reception from Server1.
Frame from Server1 in this step is media interviews control (the MediaAccess Control with priority tag and target network element that certain virtual machine among the Server1 sends, MAC) Frame of address, what suppose reception is the Frame that virtual machine 2 sends.
402, judge whether this Frame is the first port at the outbound port of bridge, if so, carry out 403; If not, carry out 404.
In this step according to the MAC Address of the target network element in the Frame, in the mapping table of the MAC Address that prestores and outbound port, search this Frame at the outbound port of bridge, if the MAC Address of target network element is the MAC Address of virtual machine among the Server1, then this Frame is still the first port at the outbound port of bridge; If the MAC Address of target network element is not the MAC Address of virtual machine among the Server1, then this Frame is not the first port at the outbound port of bridge.
403, this Frame is the Frame that transmits between the Server1 internal virtual machine, need to return the virtual machine that outputs in the Server1 from the first end choma, and this Frame is delivered to buffer memory in the loopback set of queues.
Wherein, safeguard one group of priority query in the loopback set of queues, answer the Frame of the corresponding priority of buffer memory in these formations; As shown in Figure 3, suppose that the Frame that the virtual machine 2 of above-mentioned reception sends need to pass to virtual machine 1, then the outbound port of this Frame still is the first port, this Frame need to be got back to virtual machine 1 from the first end choma, priority tag according to the Frame that receives, with this data frame buffer memory in the loopback set of queues in should the priority query of priority, such as, be cached in the first formation.
404, this Frame need to be transferred to other equipment by bridge from Server1, knows this Frame at the outbound port of bridge, and this Frame is sent to buffer memory in set of queues corresponding to this outbound port.
Wherein, if the target network element of this Frame is the virtual machine of another server, then in this step this Frame is sent in non-loopback set of queues corresponding to this outbound port; Wherein, safeguard one group of priority query in the non-loopback set of queues, answer the Frame of the corresponding priority of buffer memory in these formations, in this step, according to the priority tag of the Frame that receives, with this data frame buffer memory in the non-loopback set of queues in should the priority query of priority.
Consult Fig. 5, step 202 specifically comprises:
Whether the number of data frames of 501, judging certain priority query's buffer memory in the loopback set of queues of corresponding the first port surpasses the first-class control thresholding, if so, carries out 502, if not, and process ends.
502, generate the first-class control frame, this first-class control frame is used to indicate and stops to send the Frame that should be cached to this priority query, and send this first-class control frame by the first port, this first-class control frame is passed to each virtual machine among the Server1 by the first port and physical network card, after the virtual machine that sends the Frame of corresponding priority is received this first-class control frame, stop to send the Frame of corresponding priority.
Wherein, this flow control frames can be the PFC frame.
Consult Fig. 6, step 203 specifically comprises:
601, whether the number of data frames of judging the non-loopback set of queues medium priority formation buffer memory of corresponding the first port surpasses the second Flow Control thresholding, if so, carries out 602, if not, and process ends.
Wherein, the Frame of the non-loopback set of queues medium priority formation buffer memory of this first port is that the inbound port at this bridge is not the first port, is the Frame of the first port at the outbound port of this bridge.
602, generate the second flow control frames, this second flow control frames is used to indicate and stops to send the Frame that should be cached to this priority query, and sending this second flow control frames by other ports except the first port on the bridge, the equipment that receives this second flow control frames stops to send the Frame of corresponding priority.
Wherein, the link bandwidth that first-class control thresholding and the second Flow Control thresholding can link to each other with the first port of bridge according to Server1 and the ratio of other attachable link bandwidth sums of this bridge arrange, wherein, other attachable link bandwidth sums of this bridge are the bandwidth sum of other ports except the first port and the link between the corresponding device on this bridge.
In order to make above-described embodiment two clearer, now give an actual example and describe: the virtual machine 2 of supposition Server1 wants to send the Frame of certain priority to the virtual machine 1 among the Server1, this Frame can be buffered in the loopback set of queues in should the formation of priority, when the number of data frames in detecting this formation surpasses the first-class control thresholding, generate the PFC frame, send the PFC frame by the first port, this PFC frame is passed to each virtual machine among the Server1 by the first port and physical network card, then virtual machine 2 receives this PFC frame, stops to send the Frame of this priority.
When the number of data frames of buffer memory surpasses the first-class control thresholding in the priority query of the embodiment of the invention two loopback set of queues of corresponding the first port in bridge, send flow control frames by the first port to server, stop to send the Frame that should be cached to this priority query with the indication server, after receiving this flow control frames as the virtual machine in congested source in the server, stop to send the Frame of corresponding priority, make in the loopback set of queues that the number of data frames of buffer memory reduces gradually in this priority query, congested to remove.
Embodiment three:
Consult Fig. 7 and Fig. 8, the embodiment of the invention three provides a kind of pause frame sending method, the pause frame sending method flow chart that Fig. 7 provides for the embodiment of the invention three, and Fig. 8 sends schematic diagram for the flow control frames that the embodiment of the invention three provides, and the method specifically comprises:
701, by the Frame of the first port reception from server (such as Server1), Frame is deposited in the set of queues of corresponding the first port.
Safeguard one group of priority query in the embodiment of the invention in the set of queues of corresponding the first port, answer the data of the corresponding priority of buffer memory in these formations.
702, judge whether the number of data frames in the set of queues medium priority formation of corresponding the first port reaches the Flow Control thresholding, if not, process ends if so, carries out 703.
703, generate flow control frames, this flow control frames is used to indicate and stops to send the Frame that should be cached to this priority query, and sends this flow control frames by all of the port of this bridge.
Wherein, this flow control frames can be the PFC frame.
The all devices that is connected with this bridge all receives this flow control frames, after then the virtual machine of the corresponding priority data frame of transmission is received this flow control frames among the Server, stops to send the Frame of corresponding priority.
In order to make above-described embodiment three clearer, now give an actual example and describe: consult Fig. 8, suppose that the virtual machine 2 of Server1 wants to send the Frame of certain priority to the virtual machine 1 among the Server1, this Frame can be buffered in should the priority query of priority, when the number of data frames in detecting this priority query surpasses the Flow Control thresholding, generate the PFC frame, send the PFC frame by all of the port, then each virtual machine among the Server1 all receives this PFC frame, and virtual machine 2 receives the data that stop to send corresponding priority behind this PFC frame.
When the number of data frames of buffer memory surpasses the Flow Control thresholding in the priority query of the embodiment of the invention three corresponding first port in bridge, all of the port by bridge sends flow control frames, the all devices that indication is connected with this bridge all stops to be cached to the Frame of this priority query, after receiving this flow control frames as the virtual machine in congested source in the server, stop to send the Frame of corresponding priority, make that the number of data frames of buffer memory reduces gradually in the formation, thereby remove congested.
Embodiment four:
Consult Fig. 9, the embodiment of the invention four provides a kind of bridge, comprising:
The first judging unit 901 is used for judging whether the number of data frames of buffer memory in the first formation of corresponding the first port of described bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation;
Flow control frames generation unit 902 is used for generating the first-class control frame when the number of data frames of the first formation buffer memory surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
The first transmitting element 903 is used for sending described first-class control frame by described the first port to described server.
When the number of data frames of buffer memory surpasses the first-class control thresholding in the first formation of the embodiment of the invention four corresponding first port in bridge, send flow control frames by the first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this flow control frames, thereby the number of data frames of buffer memory in this first formation is reduced gradually, congested to remove.
Consult Figure 10, the embodiment of the invention five provides a kind of bridge, comprise: the first judging unit 1001, flow control frames generation unit 1002, the first transmitting element 1003, the second judging unit 1004, the second transmitting element 1005, data receiver unit 1006, the 3rd judging unit 1007 and storage unit 1008, wherein
Data receiver unit 1006 is used for receiving the Frame from server.
The 3rd judging unit 1007 is used for judging whether described Frame is the first port at the outbound port of described bridge, and described the first port is the port that described bridge is connected with server.
Storage unit 1008, be used for when the judged result of described the 3rd judging unit 1007 when being, described Frame is deposited in the first formation of corresponding the first port, when described the 3rd judging unit 1007 when the determination result is NO, described Frame is deposited in formation corresponding to the outbound port of described Frame.
The first judging unit 1001 is used for judging whether the number of data frames of buffer memory in the first formation of corresponding the first port of described bridge surpasses the first-class control thresholding; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation.
The second judging unit 1004, whether number of data frames that be used for to judge the second formation buffer memory of corresponding described the first port surpasses the second Flow Control thresholding, and the Frame of described the second formation buffer memory is not the first port, is the Frame of described the first port at the outbound port of described bridge for the inbound port at described bridge.
Flow control frames generation unit 1002 is used for generating the first-class control frame when the number of data frames of the first formation buffer memory surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation; When the number of data frames of the second formation buffer memory surpasses the second Flow Control thresholding, generate the second flow control frames, described the second flow control frames is used to indicate and stops to send the Frame that should be cached to described the second formation.
The first transmitting element 1003 is used for sending described first-class control frame by described the first port to described server.
The second transmitting element 1005 is used for sending described the second flow control frames by other ports, and described other ports are the port except the first port on the described bridge.
The embodiment of the invention five corresponding first port in bridge is preserved two formations, when the number of data frames of buffer memory in the first formation of corresponding the first port surpasses the first-class control thresholding, send flow control frames by the first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this flow control frames, thereby the number of data frames of buffer memory in this first formation is reduced gradually, congested to remove.
Embodiment six:
Consult Figure 11, the embodiment of the invention six provides a kind of bridge, comprising:
Judging unit 1101 is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of described bridge surpasses the Flow Control thresholding;
Flow control frames generation unit 1102, be used for when the judged result of described judging unit when being, the generation flow control frames, described flow control frames is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element 1103 is used for sending described flow control frames by all of the port of described bridge.
When the number of data frames of buffer memory surpasses the Flow Control thresholding in the formation of the embodiment of the invention six corresponding first port in bridge, all of the port by bridge sends flow control frames, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby the number of data frames in this formation is reduced gradually, congested to remove.
Embodiment seven:
The embodiment of the invention seven provides a kind of network system, comprising: the bridge that is connected with server,
Described bridge is used for judging that whether the number of data frames of buffer memory in the first formation of corresponding the first port of bridge is above the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory is that inbound port and outbound port at described bridge all are the Frame of described the first port in described the first formation; When the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation; Send described first-class control frame by described the first port to described server.
When the number of data frames of buffer memory surpasses the first-class control thresholding in the first formation of the embodiment of the invention seven corresponding first port in bridge, send flow control frames by the first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this flow control frames, thereby the number of data frames of buffer memory in this first formation is reduced gradually, congested to remove.
Embodiment eight:
The embodiment of the invention eight provides a kind of network system, comprising: the bridge that is connected with server,
Described bridge is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of bridge surpasses the Flow Control thresholding, if so, the generation flow control frames, described flow control frames is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described flow control frames.。
When the number of data frames of buffer memory surpasses the Flow Control thresholding in the formation of the embodiment of the invention eight corresponding first port in bridge, all of the port by bridge sends flow control frames, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby the number of data frames in this formation is reduced gradually, congested to remove.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, read-only memory for example, disk or CD etc.
More than pause frame sending method, relevant device and system that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a pause frame sending method is characterized in that, comprising:
Whether the number of data frames of judging buffer memory in the first formation of corresponding the first port in the bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory all is described the first port at inbound port and the outbound port of described bridge in described the first formation;
When the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
Send described first-class control frame by described the first port to described server so that described server in virtual machine receive described first-class control frame after, stop to send the Frame that should be cached to described the first formation.
2. method according to claim 1 is characterized in that, the method also comprises:
Whether the number of data frames of judging buffer memory in the second formation of corresponding described the first port surpasses the second Flow Control thresholding, and the Frame of described the second formation buffer memory is not the first port, is the Frame of described the first port at the outbound port of described bridge for the inbound port at described bridge;
When the number of data frames of buffer memory in described the second formation surpasses the second Flow Control thresholding, generate the second flow control frames, described the second flow control frames is used to indicate and stops to send the Frame that should be cached to described the second formation;
Send described the second flow control frames by other ports, described other ports are the port except the first port on the described bridge.
3. method according to claim 2 is characterized in that, whether the number of data frames of buffer memory surpasses before the first-class control thresholding in the first formation of corresponding the first port in judging bridge, and the method also comprises:
Reception is from the Frame of described server;
Judge whether described Frame is the first port at the outbound port of described bridge, if so, described Frame is deposited in described the first formation, if not, described Frame is deposited in formation corresponding to the outbound port of described data.
4. a pause frame sending method is characterized in that, comprising:
Whether the number of data frames of judging buffer memory in the formation of corresponding the first port in the bridge surpasses the Flow Control thresholding, if so, generates flow control frames, and described flow control frames is used to indicate and stops to send the Frame that should be cached to described formation;
All of the port by described bridge sends described flow control frames so that with server that described bridge is connected in virtual machine receive described flow control frames after, stop to send the Frame that should be cached to described formation.
5. a bridge is characterized in that, comprising:
The first judging unit is used for judging whether the number of data frames of buffer memory in the first formation of corresponding the first port of described bridge surpasses the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory all is described the first port at inbound port and the outbound port of described bridge in described the first formation;
The flow control frames generation unit is used for generating the first-class control frame when the number of data frames of the first formation buffer memory surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation;
The first transmitting element is used for sending described first-class control frame by described the first port to described server, so that the virtual machine in the described server stops to send the Frame that should be cached to described the first formation after receiving described first-class control frame.
6. bridge according to claim 5 is characterized in that, also comprises: the second judging unit, and the second transmitting element, wherein,
Described the second judging unit, whether number of data frames that be used for to judge the second formation buffer memory of corresponding described the first port surpasses the second Flow Control thresholding, and the Frame of described the second formation buffer memory is not the first port, is the Frame of described the first port at the outbound port of described bridge for the inbound port at described bridge;
Described flow control frames generation unit also is used for generating the second flow control frames when the number of data frames of the second formation buffer memory surpasses the second Flow Control thresholding, and described the second flow control frames is used to indicate and stops to send the Frame that should be cached to described the second formation;
Described the second transmitting element is used for sending described the second flow control frames by other ports, and described other ports are the port except the first port on the described bridge.
7. bridge according to claim 5 is characterized in that, also comprises:
The data receiver unit is used for receiving the Frame from described server;
The 3rd judging unit is used for judging whether described Frame is the first port at the outbound port of described bridge;
Storage unit, be used for when the judged result of described the 3rd judging unit when being, described Frame is deposited in described the first formation, when described the 3rd judging unit when the determination result is NO, described Frame is deposited in formation corresponding to the outbound port of described Frame.
8. a bridge is characterized in that, comprising:
Judging unit is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of described bridge surpasses the Flow Control thresholding;
The flow control frames generation unit, be used for when the judged result of described judging unit when being, the generation flow control frames, described flow control frames is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element is used for sending described flow control frames by all of the port of described bridge, so as with server that described bridge is connected in virtual machine receive described flow control frames after, stop to send the Frame that should be cached to described formation.
9. a network system is characterized in that, comprising: server, the bridge that is connected with described server,
Described bridge is used for judging that whether the number of data frames of buffer memory in the first formation of corresponding the first port of bridge is above the first-class control thresholding; Described the first port is the port that described bridge is connected with server; The Frame of buffer memory all is described the first port at inbound port and the outbound port of described bridge in described the first formation; When the number of data frames of described the first formation buffer memory surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described the first formation; Send described first-class control frame by described the first port to described server;
Described server is used for receiving described first-class control frame, stops to send the Frame that should be cached to described the first formation.
10. a network system is characterized in that, comprising: server, the bridge that is connected with server,
Described bridge is used for judging whether the number of data frames of buffer memory in the formation of corresponding the first port of bridge surpasses the Flow Control thresholding, if so, the generation flow control frames, described flow control frames is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described flow control frames;
Described server is used for receiving described flow control frames, stops to send the Frame that should be cached to described formation.
CN2009101355202A 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system Expired - Fee Related CN101867511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101355202A CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101355202A CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Publications (2)

Publication Number Publication Date
CN101867511A CN101867511A (en) 2010-10-20
CN101867511B true CN101867511B (en) 2013-01-09

Family

ID=42959082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101355202A Expired - Fee Related CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Country Status (1)

Country Link
CN (1) CN101867511B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075537B (en) * 2011-01-19 2013-12-04 华为技术有限公司 Method and system for realizing data transmission between virtual machines
CN102739505B (en) * 2011-04-06 2017-02-08 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN102611620A (en) * 2012-02-23 2012-07-25 福建星网锐捷网络有限公司 Congestion control method and message processing device
CN103036755A (en) * 2012-12-11 2013-04-10 蓝盾信息安全技术股份有限公司 Method of achieving distributed system real-time communication among devices by using controller area network (CAN) bus
CN103152251A (en) * 2013-02-27 2013-06-12 杭州华三通信技术有限公司 Method and device for processing message
CN104219159B (en) * 2013-05-31 2017-12-05 国际商业机器公司 Virtual interface based on VLAN carries out link aggregation method and device
US9124536B2 (en) * 2013-12-12 2015-09-01 International Business Machines Corporation Managing data flows in overlay networks
US9288135B2 (en) 2013-12-13 2016-03-15 International Business Machines Corporation Managing data flows in software-defined network using network interface card
CN104936315B (en) * 2014-03-21 2019-12-20 海信集团有限公司 Method for transmitting data through wifi, main device and module device
CN105337895B (en) * 2014-07-14 2019-02-19 新华三技术有限公司 A kind of network equipment main computer unit, network equipment subcard and the network equipment
WO2016086385A1 (en) * 2014-12-04 2016-06-09 华为技术有限公司 Congestion control method, device and system
CN105991470B (en) * 2015-02-10 2019-12-06 新华三技术有限公司 method and device for caching message by Ethernet equipment
CN108471385B (en) * 2017-02-23 2021-12-10 苏宁易购集团股份有限公司 Flow control method and device for distributed system
CN108111428B (en) * 2017-12-20 2021-12-28 苏州盛科通信股份有限公司 Congestion control method and device
CN110138673B (en) * 2019-05-29 2023-08-08 南京南瑞继保电气有限公司 Network flow control method of secondary equipment
CN114095435A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Method and device for sending bit block
CN113098785B (en) * 2021-03-31 2022-05-27 新华三信息安全技术有限公司 Message processing method and device
CN116418753A (en) * 2021-12-31 2023-07-11 中兴通讯股份有限公司 Message scheduling method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353901A (en) * 1999-06-02 2002-06-12 汤姆森许可贸易公司 Method and device for establishing routing table in communication network
CN1878144A (en) * 2006-07-14 2006-12-13 华为技术有限公司 Multi-queue flow control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1353901A (en) * 1999-06-02 2002-06-12 汤姆森许可贸易公司 Method and device for establishing routing table in communication network
CN1878144A (en) * 2006-07-14 2006-12-13 华为技术有限公司 Multi-queue flow control method

Also Published As

Publication number Publication date
CN101867511A (en) 2010-10-20

Similar Documents

Publication Publication Date Title
CN101867511B (en) Pause frame sending method, associated equipment and system
US11876702B2 (en) System and method for facilitating efficient address translation in a network interface controller (NIC)
US7941569B2 (en) Input/output tracing in a protocol offload system
US9253287B2 (en) Speculation based approach for reliable message communications
US8885480B2 (en) Packet priority in a network processor
CN110661725A (en) Techniques for reordering network packets on egress
US8116311B1 (en) Method and system for tag arbitration in switches
CN113157465B (en) Message sending method and device based on pointer linked list
CN106372013B (en) Long-distance inner access method, device and system
US9906468B2 (en) Packet traffic control in a network processor
US9912604B2 (en) Reduction of silicon area for ethernet PFC protocol implementation in queue based network processors
US7577157B2 (en) Facilitating transmission of a packet in accordance with a number of transmit buffers to be associated with the packet
CN113572575A (en) Self-adaptive data transmission method and system
US20150101035A1 (en) Duplicating packets efficiently within a network security appliance
RU2611337C1 (en) Method for transmitting messages between computing devices
US9426097B1 (en) Facilitating communication between devices in a network
JP5617625B2 (en) Data relay apparatus and communication priority control method
CN117834517A (en) TBOX internal flow sending method and communication module
CN116418750A (en) PFC storm detection method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180426

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

Effective date of registration: 20180426

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130109