Patent ID: 7146478

Claim:
A method comprising inserting cache entries into a cache memory, in a device in which incoming data packets are directed to output links according to address information, the step of inserting comprising the following steps: a) an evaluation step for evaluating for each said incoming data packet classification information which is relevant to the type of flow or to the priority to which said data packet is associated, said data packet classification information being positive when indicating one of: information indicating that it is foreseeable that additional data packets of the same data packet flow will follow within a relatively short time period, said time being measured in data packet arrival rate, and information that said flow is a periodic data packet flow; b) a selection step for selecting based on the result of said evaluation step being positive, that for said data packet said cache entry is to be inserted into said cache memory and c) an entry step for inserting as said cache entry into said cache memory; in the case the result of said selection step is that said cache entry is to be inserted, for said data packet said address information and associated output link information.