Large receive offload for virtual machines
US-2015261556-A1 · Sep 17, 2015 · US
US12199883B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12199883-B2 |
| Application number | US-202217965112-A |
| Country | US |
| Kind code | B2 |
| Filing date | Oct 13, 2022 |
| Priority date | Apr 17, 2020 |
| Publication date | Jan 14, 2025 |
| Grant date | Jan 14, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A stateful service processing method and apparatus are provided, related to the field of communication technologies. The method includes: preprocessing a received first packet to obtain a coalescing message of the first packet; coalescing the first packet into a first queue based on the coalescing message of the first packet, where the first queue is used to coalesce packets of a first connection to which the first packet belongs, and the first connection is a connection in which a stateful service is located; when a preset condition is met, processing, based on a context of the first connection, a plurality of packets coalesced in the first queue to obtain a second packet, where the context of the first connection is an updated context obtained after a previous second packet of the first connection is obtained; and transmitting the second packet to the host.
Opening claim text (preview).
What is claimed is: 1. A stateful service processing method, the method applied to a network interface card, and the network interface card is connected to a host, the method comprising: preprocessing a received first packet to obtain a coalescing message of the first packet; coalescing the first packet into a first queue based on the coalescing message of the first packet, wherein the first queue is used to coalesce packets of a first connection to which the first packet belongs and the first connection is a connection in which a stateful service is located; wherein coalescing the first packet into the first queue based on the coalescing message of the first packet further comprises: when the coalescing message of the first packet does not meet the coalescing context of the first queue: coalescing the first packet to a Y chain of the first queue as a basic node; and updating the coalescing context of the first queue based on the coalescing message of the first packet; when a preset condition is met, processing, based on a context of the first connection, a plurality of packets coalesced in the first queue to obtain a second packet, wherein the context of the first connection indicates related information of the first connection and the context of the first connection is an updated context obtained after a previous second packet of the first connection is obtained; and transmitting the second packet to the host. 2. The stateful service processing method according to claim 1 , wherein the coalescing message of the first packet comprises at least one of the following: an identifier of the first connection, a function identifier, and metadata. 3. The stateful service processing method according to claim 1 , wherein coalescing the first packet into the first queue based on the coalescing message of the first packet further comprises: when the coalescing message of the first packet meets a coalescing context of the first queue, coalescing the first packet to an X chain of the first queue as a coalescing node, wherein the coalescing context of the first queue indicates a coalescing message of the first queue. 4. The stateful service processing method according to claim 1 , wherein processing the plurality of packets in the first queue further comprises: editing and chaining a plurality of packets that belong to a same X chain in the first queue. 5. The stateful service processing method according to claim 1 , wherein the preset condition comprises any one of the following: coalescing duration reaches specified duration, a quantity of coalesced packets reaches a preset threshold, and a volume of coalesced data reaches a preset data volume. 6. The stateful service processing method according to claim 1 , further comprising: providing a receive bandwidth for the first queue from an available bus bandwidth; and transmitting the second packet to the host by using the receive bandwidth. 7. A stateful service processing apparatus, the apparatus applied to a network interface card, and the network interface card is connected to a host, the apparatus comprising: a preprocessor unit, configured to preprocess a received first packet to obtain a coalescing message of the first packet; a coalescing unit, configured to coalesce the first packet into a first queue based on the coalescing message of the first packet, wherein the first queue is used to coalesce packets of a first connection to which the first packet belongs and the first connection is a connection in which a stateful service is located; wherein the coalescing unit is further configured to: when the coalescing message of the first packet does not meet the coalescing context of the first queue: coalesce the first packet to a Y chain of the first queue as a basic node: and update the coalescing context of the first queue based on the coalescing message of the first packet; a processing unit, configured to: when a preset condition is met, process, based on a context of the first connection, a plurality of packets coalesced in the first queue to obtain a second packet, wherein the context of the first connection indicates related information of the first connection and the context of the first connection is an updated context obtained after a previous second packet of the first connection is obtained; and a transmitting unit, configured to transmit the second packet to the host. 8. The stateful service processing apparatus according to claim 7 , wherein the coalescing message of the first packet comprises at least one of the following: an identifier of the first connection, a function identifier, and metadata. 9. The stateful service processing apparatus according to claim 7 , wherein the coalescing unit is further configured to: when the coalescing message of the first packet meets a coalescing context of the first queue, coalesce the first packet to an X chain of the first queue as a coalescing node, wherein the coalescing context of the first queue indicates a coalescing message of the first queue. 10. The stateful service processing apparatus according to claim 7 , wherein the processing unit is further configured to: edit and chain a plurality of packets that belong to a same X chain in the first queue. 11. The stateful service processing apparatus according to claim 7 , wherein the preset condition comprises any one of the following: coalescing duration reaches specified duration, a quantity of coalesced packets reaches a preset threshold, and a volume of coalesced data reaches a preset data volume. 12. The stateful service processing apparatus according to claim 7 , further comprising: a bandwidth provision unit, configured to provide a receive bandwidth for the first queue from an available bus bandwidth, wherein the transmitting unit is further configured to transmit the second packet to the host by using the receive bandwidth. 13. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores instructions, and when the instructions are run on a computer, the computer is enabled to perform the stateful service processing method according to claim 1 .
for service slots or service orders · CPC title
Altering the ordering of packets in an individual queue · CPC title
Fixed service order, e.g. Round Robin · CPC title
Flow control; Congestion control · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.