Host ethernet adapter frame forwarding
Abstract
A method for receiving a data packet is described. The method may include receiving a frame in a host Ethernet adapter from an Ethernet network. The frame may be parsed to determine a data packet size. A work queue element (WQE) may be selected from two or more available WQEs having different data packet size capacity. Data packet storage may be provided for each WQE, including at least some cache storage associated with a processor. The data packet may be stored in the data packet storage associated with the selected WQE based on the data packet size, including storing in the cache for data packets under selected conditions.
Claims
exact text as granted — not AI-modified1 . A method for receiving a data packet, comprising:
receiving a frame in a host Ethernet adapter from an Ethernet network; parsing the frame to determine a data packet size; selecting a work queue element (WQE) from two or more available WQEs having different data packet size capacity; providing data packet storage for each WQE, including at least some cache storage associated with a processor; and storing the data packet in the data packet storage associated with the selected WQE based on the data packet size, including storing in the cache for data packets under selected conditions.
2 . The method of claim 1 , wherein the data packet size capacity of the selected WQE is a cache line size.
3 . The method of claim 2 , wherein the cache line size is 64 bytes.
4 . The method of claim 1 , wherein the data packet size capacity of the selected WQE is a maximum data packet size.
5 . The method of claim 1 , wherein the selected conditions for storing data packets in the cache includes if the data packet is less than or equal to a cache line size.
6 . The method of claim 1 , wherein the cache is an L2 cache.
7 . A method for sending a data packet, comprising:
producing a data packet; determining the data packet size; selecting a work queue element (WQE) from two or more available WQEs having different data packet size capacity; providing data packet storage for each WQE, including at least some cache storage associated with a processor; storing the data packet in the data packet storage associated with the selected WQE based on the data packet size, including storing in the cache for data packets under selected conditions; retrieving the data packet from the selected WQE and building a frame; and sending the frame, via a host Ethernet adapter, to an Ethernet network.
8 . The method of claim 7 , wherein the data packet size capacity of the selected WQE is a cache line size.
9 . The method of claim 8 , wherein the cache line size is 64 bytes.
10 . The method of claim 7 , wherein the data packet size capacity of the selected WQE is a maximum data packet size.
11 . The method of claim 7 , wherein the selected conditions for storing data packets in the cache includes if the data packet is less than or equal to a cache line size.
12 . The method of claim 7 , wherein the cache is an L2 cache.
13 - 20 . (canceled)Join the waitlist — get patent alerts
Track US2014160954A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.