Configurable parser and a method for parsing information units
AssigneeAmazon Technologies, Inc.
InventorsOfer Naaman, Erez Izenberg, Nafea Bshara
Life of this patent
Estimating the term…
Abstract
A packet processing technique can include selecting a protocol field from the packet, and performing a comparison of the selected protocol field with comparison data in a compare logic array to output a protocol index. The protocol index can be used as an address to read parsing commands from a parse control table, and a parse result can be generated based on executing the parsing commands on the packet. The parse results are used to derive a parse result vector, which can be used by a forwarding engine to forward the packet.
Claims20
A packet processing method comprising:
- receiving a packet;
- performing a packet parsing process including:
- selecting a protocol field from the packet;
- performing a comparison of the selected protocol field with comparison data in a compare logic array to output a protocol index;
- using the protocol index as an address to read parsing command information from a parse control table;
- and
- generating parse result based on the parsing command information;
- and
- storing a parse result vector based on the parse result in a completion descriptor for a forwarding engine.
An integrated circuit device comprising:
- a configurable parsing engine having:
- a data register operable to store a packet;
- an offset selector operable to select a protocol field from the packet;
- compare and command logic operable to perform a comparison of the selected protocol field with comparison data in a compare logic array to generate a protocol index, and use the protocol index as an address to read parsing command information from a parse control table;
- and
- parser engine control logic operable to generate a parse result for a parse result vector based on the parsing command information.
Dependencies are inferred from the claim text.