ethtool: Add support for control of RX flow hash indirection
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 30 Jun 2010 05:05:23 +0000 (05:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 21:09:37 +0000 (14:09 -0700)
commita5b6ee291e39e285e021cf251dbcf770c83cd74e
tree4fa96af8095cda9949fff3e79e2c5e8ef7328dbd
parentcbf2d604a1cd77944a795bb8dbe844eaa38b44c8
ethtool: Add support for control of RX flow hash indirection

Many NICs use an indirection table to map an RX flow hash value to one
of an arbitrary number of queues (not necessarily a power of 2).  It
can be useful to remove some queues from this indirection table so
that they are only used for flows that are specifically filtered
there.  It may also be useful to weight the mapping to account for
user processes with the same CPU-affinity as the RX interrupts.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/core/ethtool.c