Availability of context information for packet processing
AssigneeIntel Corporation
InventorAnil Vasudevan
Life of this patent
Estimating the term…
Abstract
Some examples provide for storage of context information in memory in the process of creating a network connection and subsequent availability of the context information. A context address can refer to context for a packet processing path. A host can provide a context address and associated packet characteristics to a network interface device. If the network interface device receives a packet with the characteristics, the context address can be passed to the host and the host can retrieve the context information using the context address.
Claims19
An apparatus comprising a network interface, the network interface comprising:
- a memory and
- at least one processor, the at least one processor to:
- store a look-up table, the look-up table comprising at least one entry, wherein the at least one entry comprises packet characteristics and an associated context pointer and wherein the packet characteristics and the associated context pointer are to program the network interface to monitor for one or more flows corresponding to the packet characteristics;
- determine if a packet has characteristics matching content of an entry stored in the look-up table;
- and
- in response to the packet having characteristics matching content of an entry stored in the look-up table, provide an associated context pointer for the matched entry for prefetch of context information related to the packet, wherein:
- the at least one processor is to cause a prefetch of one or more context information associated with the packet into a processor cache,
- to cause a prefetch of one or more context information associated with the packet into the processor cache comprises cause copying of context information prior to processing of the context information.
A method comprising:
- at a network interface:
- storing at least one entry, wherein the at least one entry comprises packet characteristics and an associated context pointer;
- monitoring for receipt of at least one packet that includes characteristics corresponding to content of an entry;
- based on a received packet including characteristics corresponding to content of an entry, providing, to a host system a context address related to context information associated with the received packet, the context information associated at least with network protocol processing;
- and
- causing a prefetch of one or more context information associated with the received packet into a processor cache, wherein causing a prefetch of one or more context information associated with the received packet into the processor cache comprises causing copying of context information prior to processing of the context information.
A system comprising:
- a network interface comprising at least one processor and at least one memory;
- a computing platform communicatively coupled to the network interface and comprising at least one processor and at least one memory, wherein:
- the at least one processor of the network interface to:
- store at least one entry, wherein the at least one entry comprises packet characteristics and an associated context address and wherein the packet characteristics and the associated context address are to program the network interface to monitor for one or more flows corresponding to the packet characteristics;
- process a received packet to determine a context address associated with the received packet and
- based on a stored entry including a context address associated with the received packet, provide a portion of the received packet and the context address from the stored entry to the computing platform, wherein:
- the at least one processor of the network interface is to cause a prefetch of one or more context information associated with the received packet into a processor cache,
- to cause a prefetch of one or more context information associated with the received packet into the processor cache comprises cause a copy of context information prior to processing of the context information;
- the at least one processor of the computing platform to:
- retrieve context information associated with the context address and
- use a portion of the context information to process the received packet.
Dependencies are inferred from the claim text.