]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53d42812f1bed7ba02542e031f1e4c776603298e
tree4fa96af8095cda9949fff3e79e2c5e8ef7328dbd
parentfbcea4b9a40d16f384c850c5534f8d485fb4468a
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