sky2: add support for receive hashing
authorStephen Hemminger <shemminger@vyatta.com>
Sun, 25 Apr 2010 03:04:12 +0000 (20:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Apr 2010 03:04:12 +0000 (20:04 -0700)
commitbf73130d7f98c8c4db143e2dc4982f4eefd5d5e5
tree19a73b4ce836c4a7224706de5febb77ab1ca0c7f
parentb7d6a4321195c32b548f0185a2fa0b8f6e02bcfc
sky2: add support for receive hashing

Sky2 hardware supports hardware receive hash calculation.
Now that Receive Packet Steering is available, add support
to enable it.

This version does not depend on CONFIG_RPS. Also set_flags rejects
all values except RXHASH, so driver won't have to change next time
somebody adds a new one.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c
drivers/net/sky2.h