Method to offload a network stack
First Claim
1. A method to offload a network stack state object and at least one associated protocol stack in a computer system environment from a first path going through a plurality of software layers to a peripheral device to a second path going from a switch layer to the peripheral device, the network stack state object having a cached state variable and at least one of a constant state variable and a delegated state variable, the method comprising the steps of:
- sending a request to offload the network stack state object from the switch layer to the peripheral device through the plurality of software layers, the request having a list of resource requirements;
if the network stack state object will be offloaded;
receiving an offload handle at at least one of the plurality of software layers;
sending the network stack state object to the peripheral device from the at least one of the plurality of software layers; and
transferring buffers to the peripheral device from the switch layer;
comprising the step of assigning a portion of a total IP ID space to the peripheral device;
wherein the step of assigning the portion of the total IP ID space comprises the step of assigning approximately one half of the total IP ID space to the peripheral device; and
further comprising the step of generating an IP ID for a packet
Cur_IPID=[(Start_IPID_For_This_Path)+(Counter_For_This_Path)mod32K]mod64K Counter_For_This_Path=Counter_For_This_Path+1.
2 Assignments
0 Petitions
Accused Products
Abstract
A method to offload a network stack connection is presented. A request, which includes a list of resource requirements from each software layer in the stack, to offload the network stack connection is sent through the stack to the peripheral device. The device allocates resources for the list and sends a handle to each of the software layers for communication with the device. The state for each layer is sent to the device that includes state variables that are classified as a constant, a cached variable handled by the CPU, or a delegated variable handled by the device.
-
Citations
1 Claim
-
1. A method to offload a network stack state object and at least one associated protocol stack in a computer system environment from a first path going through a plurality of software layers to a peripheral device to a second path going from a switch layer to the peripheral device, the network stack state object having a cached state variable and at least one of a constant state variable and a delegated state variable, the method comprising the steps of:
- sending a request to offload the network stack state object from the switch layer to the peripheral device through the plurality of software layers, the request having a list of resource requirements;
if the network stack state object will be offloaded;
receiving an offload handle at at least one of the plurality of software layers;
sending the network stack state object to the peripheral device from the at least one of the plurality of software layers; and
transferring buffers to the peripheral device from the switch layer;comprising the step of assigning a portion of a total IP ID space to the peripheral device; wherein the step of assigning the portion of the total IP ID space comprises the step of assigning approximately one half of the total IP ID space to the peripheral device; and further comprising the step of generating an IP ID for a packet
Cur_IPID=[(Start_IPID_For_This_Path)+(Counter_For_This_Path)mod32K]mod64K Counter_For_This_Path=Counter_For_This_Path+1.
- sending a request to offload the network stack state object from the switch layer to the peripheral device through the plurality of software layers, the request having a list of resource requirements;
Specification