摘要:
Certain aspects of the invention for packet segmentation and offload may comprise determining whether an identified packet is a large send offload packet (LSOP). If the identified packet is a LSOP, a selection may be made between a hardware process and a firmware process for handling the LSOP. The LSOP may then be processed by the selected hardware process or firmware process. At least a portion of protocol header information for a first segment of the LSOP may be stored and subsequently utilized for at least a header portion of a second segment of the LSOP. A payload corresponding to the second segment of the LSOP may be placed at a determined offset within a transmit buffer for the second segment. A header portion of the second segment may be updated based on at least a header portion of a previous segment.
摘要:
Certain aspects of the invention for packet segmentation and offload may comprise determining whether an identified packet is a large send offload packet (LSOP). If the identified packet is a LSOP, a selection may be made between a hardware process and a firmware process for handling the LSOP. The LSOP may then be processed by the selected hardware process or firmware process. At least a portion of protocol header information for a first segment of the LSOP may be stored and subsequently utilized for at least a header portion of a second segment of the LSOP. A payload corresponding to the second segment of the LSOP may be placed at a determined offset within a transmit buffer for the second segment. A header portion of the second segment may be updated based on at least a header portion of a previous segment.
摘要:
A method for processing packets includes performing by a plurality of processors integrated in a single NIC chip, the plurality of processors including at least a hardware processor and a firmware processor, receiving information identifying at least one packet to be processed. The method may include determining whether the identified packet is a large send offload packet. If the identified packet is a large send offload packet, the method may include selecting between at least the hardware processor and the firmware processor to process the large send offload packet. If the identified packet is not a large send offload packet, the method may include bypassing the hardware process and the firmware process, and read DMA processing the identified packet from a host memory.
摘要:
A method for processing packets includes performing by a plurality of processors integrated in a single NIC chip, the plurality of processors including at least a hardware processor and a firmware processor, receiving information identifying at least one packet to be processed. The method may include determining whether the identified packet is a large send offload packet. If the identified packet is a large send offload packet, the method may include selecting between at least the hardware processor and the firmware processor to process the large send offload packet. If the identified packet is not a large send offload packet, the method may include bypassing the hardware process and the firmware process, and read DMA processing the identified packet from a host memory.