commit | af12fa6e46aa651e7b86a4c4117b562518fef184 | [log] [tgz] |
---|---|---|
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | Mon Jun 10 11:39:41 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 10 21:22:35 2013 -0700 |
tree | 1425ef11083e66af192c33abb3b1fa3b04b26f4b | |
parent | 6f00a0229627ca189529cad3f9154ac2f9e5c7db [diff] |
net: add napi_id and hash Adds a napi_id and a hashing mechanism to lookup a napi by id. This will be used by subsequent patches to implement low latency Ethernet device polling. Based on a code sample by Eric Dumazet. Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Tested-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>