Multi-rule approach to encoding a group of rules
AssigneeCavium, Inc.
InventorsFrank Worrell, Rajan Goyal, Satyanarayana Lakshmipathi Billa
Life of this patent
Estimating the term…
Loading patent…
AssigneeCavium, Inc.
InventorsFrank Worrell, Rajan Goyal, Satyanarayana Lakshmipathi Billa
Estimating the term…
A multi-rule approach for encoding rules grouped in a rule chunk is provided. The approach includes a multi-rule with a multi-rule header representing headers of the rules and, in some cases, dimensional data representing dimensional data of the rules. The approach further includes disabling dimension matching of always matching dimensions, responding to an always match rule with a match response without matching, interleaving minimum/maximum values in a range field, interleaving value/mask values in a mask field, and for a given rule of rule chunk, encoding a priority field at the end of dimension data stored for the rule in the multi-rule. Advantageously, this approach provides efficient storage of rules and enables the efficient comparison of rules to keys.
A method for encoding a plurality of key matching rules grouped in a chunk, each of the key matching rules beginning with a header and having at least one dimension, the method comprising:
A system for encoding one or more a plurality of key matching rules grouped in a chunk, each of the key matching rules including beginning with a header and having at least one dimension, the system comprising:
A tangible non-transitory computer-readable storage medium having computer readable instructions stored therein for encoding a plurality of key matching rules grouped in a chunk, each of the key matching rules beginning with a header, which when executed by a rule encoding engine, provided with a chunk in which each key matching rule of the chunk has at least one dimension, cause the rule encoding engine to build a multi-rule corresponding to the chunk by:
Dependencies are inferred from the claim text.