net: RPS: Make hardware-accelerated RFS conditional on NETIF_F_NTUPLE
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 15 Feb 2011 20:32:04 +0000 (20:32 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 15 Feb 2011 20:36:11 +0000 (20:36 +0000)
commit69a19ee60d5d5adc0addbdffd254f83b60660a07
tree1ddb2f75bb69dde71bf9d13dc04d2dfbd71e12d7
parent94b274bf5fba6c75b922c8a23ad4b5639a168780
net: RPS: Make hardware-accelerated RFS conditional on NETIF_F_NTUPLE

For testing and debugging purposes it is useful to be able to disable
hardware acceleration of RFS without disabling RFS altogether.  Since
this is a similar feature to 'n-tuple' flow steering through the
ethtool API, test the same feature flag that controls that.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
net/core/dev.c