×

Hashing algorithm for network receive filtering

  • US 8,959,095 B2
  • Filed: 06/16/2011
  • Issued: 02/17/2015
  • Est. Priority Date: 10/20/2005
  • Status: Active Grant
First Claim
Patent Images

1. A network interface device for processing data packets received from a network, for use with a computing device, comprising:

  • a memory having stored therein a filter table having a plurality of filter entries, each filter entry including respective comparison criteria and identifying a respective queue in the computing device to which matching incoming data packets are to be delivered;

    storage containing a value indicating a first search limit;

    logic which, in response to receipt by the network interface device of a first incoming data packet;

    calculates a first hash key in dependence upon content of the data packet, the first hash key identifying a first hash bucket in the filter table;

    performs a first iterative search of entries in the filter table for a matching entry whose comparison criteria are satisfied by content of the data packet received from the network, the first search beginning in the first hash bucket, proceeding according to a predetermined search algorithm, and terminating in response to identification of a matching entry or reaching of the first search limit, whichever occurs earlier, the first search limit being different than the total number of filter entries that can be reached beginning in the first hash bucket and proceeding using the predetermined search algorithm; and

    if a matching entry was identified by the first iterative search before the first search limit was reached, forwards the packet to the receive queue in the computing device that is indicated by the matching entry.

View all claims
  • 11 Assignments
Timeline View
Assignment View
    ×
    ×