The invention discloses a PCIe switch
multicast processing system and method giving consideration to efficiency and resources, and the
system comprises a
unicast control module which is used for receiving the target port information of a
unicast TLP packet, a TLP indication
signal, TLP header information and TLP load data, and transmitting a
unicast request; the
multicast control module is used for receiving a target port
list of a
multicast TLP packet, a TLP indication
signal, TLP header information and TLP load data, and sending a multicast request; the target port arbitration module is used for receiving a unicast request and a multicast request, and sending a request packet corresponding to the unicast request or the multicast request to the sending cache module; and the sending cache module is used for receiving the authorized unicast TLP packet or multicast TLP packet, caching the unicast TLP packet or multicast TLP packet, and sending and outputting the unicast TLP packet or multicast TLP packet to the egress end of the target port. According to the invention, the
processing of the multicast packet is centralized at the ingress end of the PCIe port, the unicast packet and the multicast packet are separately processed, meanwhile, two
parallel processing channels are opened up in the multicast control module, and the
copying of the multicast packet is realized through a roll back FIFO read-
write pointer mode, so that the design is simplified, the resources are saved, and the efficiency is improved.