Patent ID: 7657654

Claim:
A resource unit, comprising: a request interface configured to receive a request from a packet processor, wherein the request includes associated data, a request type identifier, a reduction modulus, and a base address, the associated data including a variable amount of information and a size identifier indicating a size of the variable amount of information; a hashing engine to create a hash of the information responsive to the request type identifier included in the request; a modulo engine to create a modulus result of the information responsive to the request type identifier and the reduction modulus included in the request; a read engine to perform a memory read and create a read result using the information responsive to the request type identifier and the base address included in the request; and a results interface configured to provide a result to the packet processor comprising at least one of the hash, the modulus result, and the read result; wherein the hashing engine and the modulo engine are communicatively coupled and the modulo engine is further configured to create the modulus result using the hash output from the hashing engine.