Method and apparatus for implementing packet command instructions for network processing
First Claim
Patent Images
1. A method for implementing packet command instructions for network processing in a network processor system comprising the steps of:
- providing a packet condition register to store packet status and packet state information;
providing a packet storage interrupt status register to store packet storage interrupt status information;
defining a set of packet commands, whereineach said packet command is identified by opcode and defines a packet operation;
each said packet command enables predefined packet data manipulation functions by dataflow assist hardware with pointer manipulations;
said set of packet commands defines an application programming interface (API) to provide an abstraction layer for implementing each of a plurality of said predefined packet data manipulation functions by said dataflow assist hardware with pointer manipulations and for predefined network protocols;
issuing a packet command from said set of packet commands to perform said defined packet operation by writing said packet command to a packet command register; and
providing packet buffer structure hardware to store packet data, wherein said packet buffer structure hardware includes;
said dataflow assist hardware to provide said predefined packet data manipulation functions with pointer manipulations responsive to each said issued packet command, andsaid dataflow assist hardware to perform said predefined packet data manipulation functions to utilize said packet condition register to store said packet status and said packet state information and said packet storage interrupt status register (PSISR) to store said packet storage interrupt status information.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, apparatus and computer program product are provided for implementing packet command instructions for network processing. A set of packet commands is provided. Each packet command defines a corresponding packet operation. A command from the set of packet commands is issued to perform the defined corresponding packet operation. A packet buffer structure hardware is provided for performing one or more predefined packet manipulation functions responsive to the issued command.
-
Citations
18 Claims
-
1. A method for implementing packet command instructions for network processing in a network processor system comprising the steps of:
-
providing a packet condition register to store packet status and packet state information; providing a packet storage interrupt status register to store packet storage interrupt status information; defining a set of packet commands, wherein each said packet command is identified by opcode and defines a packet operation; each said packet command enables predefined packet data manipulation functions by dataflow assist hardware with pointer manipulations; said set of packet commands defines an application programming interface (API) to provide an abstraction layer for implementing each of a plurality of said predefined packet data manipulation functions by said dataflow assist hardware with pointer manipulations and for predefined network protocols; issuing a packet command from said set of packet commands to perform said defined packet operation by writing said packet command to a packet command register; and providing packet buffer structure hardware to store packet data, wherein said packet buffer structure hardware includes; said dataflow assist hardware to provide said predefined packet data manipulation functions with pointer manipulations responsive to each said issued packet command, and said dataflow assist hardware to perform said predefined packet data manipulation functions to utilize said packet condition register to store said packet status and said packet state information and said packet storage interrupt status register (PSISR) to store said packet storage interrupt status information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer storage medium storing a computer program product for implementing packet command instructions for network processing in a network processor system, said computer program product including a plurality of computer executable instructions stored on said computer storage medium, wherein said instructions, when executed by the network processor system, cause the network processor system to perform the method including the steps of:
-
defining a set of packet commands, wherein each said packet command is identified by opcode and defines a packet operation; each said packet command enables predefined packet data manipulation functions provided by dataflow assist hardware with pointer manipulations; said set of packet commands defines an application programming interface (API) to provide an abstraction layer for implementing each of a plurality of said predefined packet data manipulation functions by said dataflow assist hardware with pointer manipulations and for predefined network protocols; issuing a packet command from said set of packet commands to perform said defined packet operation by writing said packet command to a packet command register; and providing packet buffer structure hardware to store packet data, wherein said packet buffer structure hardware includes; said dataflow assist hardware to provide said predefined packet data manipulation functions with pointer manipulations responsive to each said issued packet command, and said dataflow assist hardware to perform said predefined packet data manipulation functions to utilize a packet condition register to store packet status and packet state information and a packet storage interrupt status register (PSISR) to store packet storage interrupt status information.
-
-
17. Apparatus for implementing packet command instructions for network processing in a network processor system comprising:
-
a set of packet commands, wherein each said packet command is identified by opcode and defines a packet operation; each said packet command enables predefined packet data manipulation functions by dataflow assist hardware with pointer manipulations; said set of packet commands defines an application programming interface (API) to provide an abstraction layer for implementing each of a plurality of said predefined packet data manipulation functions by said dataflow assist hardware with pointer manipulations and for predefined network protocols; a processor to issue a packet command from said set of packet commands to perform said defined packet operation by writing said packet command to a packet command register; packet buffer structure hardware to store packet data, wherein said packet buffer structure hardware includes; said dataflow assist hardware to provide said predefined packet data manipulation functions with pointer manipulations responsive to each said issued packet command by said processor; and said dataflow assist hardware to perform said predefined packet data manipulation functions to utilize a packet condition register to store packet status and packet state information and a packet storage interrupt status register (PSISR) to store packet storage interrupt status information. - View Dependent Claims (18)
-
Specification