Method and system for efficient input/output transfer in network devices
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsAmir ROOZBEH, Alireza FARSHIN, Dejan KOSTIC, Gerald Q MAGUIRE
Life of this patent
Estimating the term…
Abstract
Methods and systems for selective direct access to a processing unit of a network device are described. A network interface of the network device receives packets of a flow. The network interface determines based on attributes of the packets that the packets are to be directly sent to the processing unit. In response to determining that the packets are to be directly sent to the processing unit, they are directly sent to the processing unit for processing.
Claims21
A method in a network interface (NI) that is coupled with a processing unit for processing packets received through the NI, the method comprising:
- receiving at the NI a first packet;
- determining based on one or more first attributes of the first packet that the first packet is to be directly sent to the processing unit;
- responsive to determining that the first packet is to be directly sent to the processing unit, directly sending the first packet to the processing unit for processing;
- receiving a second packet;
- determining based on one or more second attributes of the second packet that the second packet is not to be directly sent to the processing unit;
- and
- responsive to determining that the second packet is not to be directly sent to the processing unit, sending the second packet to be stored in a main memory associated with the processing unit before being processed by the processing unit.
A non-transitory machine-readable storage medium comprising computer program code which when executed by a computer, causes a network interface (NI) that is coupled with a processing unit for processing packets received through the NI to perform operations comprising:
- receiving at the NI a first packet;
- determining based on one or more first attributes of the first packet that the first packet is to be directly sent to the processing unit;
- responsive to determining that the first packet is to be directly sent to the processing unit, directly sending the first packet to the processing unit for processing;
- receiving a second packet;
- determining based on one or more second attributes of the second packet that the second packet is not to be directly sent to the processing unit;
- and
- responsive to determining that the second packet is not to be directly sent to the processing unit, sending the second packet to be stored in a main memory associated with the processing unit before being processed by the processing unit.
A network interface (NI) that is to be coupled with a processing unit for processing packets received through the NI, the NI comprising:
- a non-transitory machine-readable storage medium that provides instructions that, when executed by a processor, will cause the NI to perform operations comprising,
- receiving at the NI a first packet;
- determining based on one or more first attributes of the first packet that the first packet is to be directly sent to the processing unit;
- responsive to determining that the first packet is to be directly sent to the processing unit, directly sending the first packet to the processing unit for processing;
- receiving a second packet;
- determining based on one or more second attributes of the second packet that the second packet is not to be directly sent to the processing unit;
- and
- responsive to determining that the second packet is not to be directly sent to the processing unit, sending the second packet to be stored in a main memory associated with the processing unit before being processed by the processing unit.
(canceled)
Dependencies are inferred from the claim text.