Method of modifying packets to a generic format for enabling programmable modifications and an apparatus thereof
AssigneeCavium, Inc.
InventorsChirinjeev Singh, Vishal Anand, Tsahi Daniel, Gerald Schmidt
Life of this patent
Estimating the term…
Loading patent…
AssigneeCavium, Inc.
InventorsChirinjeev Singh, Vishal Anand, Tsahi Daniel, Gerald Schmidt
Estimating the term…
Embodiments of the apparatus for modifying packet headers relate to a rewrite engine that represents each protocol header of packets in a generic format specific to that protocol to enable programmable modifications of packets, resulting in hardware and software flexibility in modifying packet headers. Software programs generic formats in a hardware table for various protocols. The rewrite engine is able to detect missing fields from a protocol header and is able to expand the protocol header to a maximum size such that the protocol header contains all possible fields of that protocol. Each of the fields has the same offset irrespective of which variation of the protocol the protocol header corresponds to. In a bit vector, all newly added fields are marked invalid (represented by 0), and all existing fields are marked valid (represented by 1). Software modification commands allow data to be replaced, removed and inserted.
A method for protocol layer expansion using a rewrite engine of a network switch, the method comprising:
A method for a rewrite engine, the method comprising:
A method for a network switch, the method comprising:
A method for a network switch, the method comprising:
A network switch comprising:
A network switch comprising:
Dependencies are inferred from the claim text.