| CPC H04L 45/566 (2013.01) [H04L 45/123 (2013.01); H04L 45/42 (2013.01)] | 20 Claims |

|
1. A method for processing a control packet, wherein the method comprises:
forwarding, by a first switch of a switch network, a query packet transmitted by a source node to a destination node, wherein a packet header of the query packet includes an in-network computing tag (INC Tag) and a communicator identifier, the INC Tag includes an INC Tag low and an INC Tag high, the INC Tag low and the INC Tag high indicate that the query packet is an INC packet, the communicator identifier identifies a communicator serving a group of communication processes in a collective communication system, the collective communication system comprises the switch network, the source node, and the destination node, the query packet is used to query an in-network computing capability of the switch network, and the query packet is generated by the source node based on a context of the communicator;
receiving, by the first switch and in response to forwarding the query packet to the destination node, a notification packet transmitted by the destination node to the source node, wherein the notification packet carries the in-network computing capability of the switch network; and
forwarding, by the first switch, the notification packet transmitted by the destination node to the source node.
|