Abstract:
This application provides a method and an apparatus for determining a port orientation. The method includes: A first network device receives, through a first port, a protocol data unit PDU sent by a second network device. The first network device determines, based on the PDU, that the first port is an upstream port or a downstream port. In this embodiment of this application, the first network device may determine, based on the PDU sent by the second network device, whether the first port is the upstream port or the downstream port, to provide a basis for subsequently helping an SDN controller reduce load.
Abstract:
This application provides a collective communication method and a communication apparatus. The method includes: A first terminal device receives at least one second packet from a first network device, where the second packet includes information about a first process and information about a network device corresponding to the first process, the first process is used to execute a first task, and the information about the network device corresponding to the first process is information about a network device to which a terminal device including the first process belongs. The first terminal device determines a third packet based on the at least one second packet, where the third packet includes information about a target network device and information about all first processes that correspond to the target network device and that execute the first task.
Abstract:
A method implemented by a communication apparatus for processing a packet. The method includes obtaining, by the communication apparatus, a first packet, where the first packet includes a first-layer header. The first-layer header includes an identification field used to identify whether the first-layer header of the first packet includes information in a second-layer header. The communication apparatus then processes the first packet, which may include sending the first packet, forwarding the first packet, scheduling or marking the first packet, or the like.
Abstract:
Example packet control methods and apparatus are described. One example method includes detecting a packet flow causing a congestion status change. A congestion isolation message is generated and is used to change a priority of a packet in the packet flow. The congestion isolation message includes description information of the packet flow. The congestion isolation message is sent to at least one node.
Abstract:
Embodiments of the present disclosure disclose a Clos network load balancing method and apparatus. In certain embodiments, the method includes receiving, by a first switch, a first packet and determining, by the first switch, a third switch. The third switch is a switch in a second group of switches. The method includes performing, by the first switch, tunnel encapsulation on the first packet, a destination Internet Protocol (IP) address in a tunnel-encapsulated IP header being an IP address of a second switch. The method includes performing, by the first switch, Internet Protocol in Internet Protocol (IP-in-IP) encapsulation on the tunnel-encapsulated first packet and sending, by the first switch, the IP-in-IP encapsulated first packet.
Abstract:
A method for network diagnosis processing of the present invention includes: receiving, by a first network tunnel source end, at a first network layer, a network diagnosis instruction sent by an instruction center; sending, by the first network tunnel source end, at the first network layer, a diagnosis message to a first network layer of a first network tunnel peer end, where the diagnosis message carries characteristic information, so that the first network tunnel peer end reports, at the first network layer, a diagnosis result including the characteristic information to the instruction center; and sending, by the first network tunnel source end, at the second network layer, the diagnosis message to a second network layer of the first network tunnel peer end, so that the first network tunnel peer end reports, at the second network layer, a diagnosis result including the characteristic information to the instruction center.
Abstract:
Embodiments of the present invention provide a method, an apparatus and a system for sending and receiving a media stream. In the embodiments of the present invention, during a transmission process of media content, if the packet loss occurs, and if retransmission still does not succeed after the retransmission has been attempted for finite times, the retransmission of the lost data packet is abandoned through notification of the retransmission suppression information, and transmission of a subsequent part of media stream is continued, which ensures uninterrupted transmission of the media stream, and avoids the occurrence of a screen mess of a picture, a picture jitter or pause, and even a program interrupt, thereby improving picture quality.
Abstract:
A faulty link detection method includes receiving statistical data that is reported by all nodes every preset quantity of packets that carry a program clock reference value. All the nodes collect statistical data starting from a unified program clock reference value. The quantity of packets lost between an upstream node and a downstream node among all the nodes is acquired according to the statistical data. A faulty link is determined according to the quantity of packets lost between the upstream node and the downstream node.
Abstract:
This application provides a flow rate control method and apparatus. The flow rate control method in this application includes: receiving N explicit congestion notification packets CNPs from a first device, where the N CNPs correspond to a first data flow, and N is a natural number; and sending M CNPs to a second device based on the N CNPs, where the M CNPs correspond to the first data flow, and M is an integer greater than N. This application resolves a problem that rate increase processing is still performed on a data flow when the data flow is congested.
Abstract:
Embodiments of this application disclose a communication method, and may be applied to a scenario such as switch networking (for example, high-performance computing HPC), the industrial Ethernet, or the like. The method includes: receiving first information sent by a second device, where the first information indicates a second MAC frame length supported by the second device; determining a third MAC frame length based on a first media access control MAC frame length and the second MAC frame length, where the first MAC frame length is a MAC frame length supported by the first device, and the first MAC frame length is the same as or different from the second MAC frame length; and communicating with the second device based on the third MAC frame length.