]> git.baikalelectronics.ru Git - kernel.git/commit
niu: Recognise original ethtool class code for AH/ESP flow hashing
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 8 Apr 2011 13:49:15 +0000 (13:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 20:28:44 +0000 (13:28 -0700)
commitd5c9c154ba218a1d660fe50a9354a5febd3f7036
treef41b834ae30098cd8a831a8d75ac08318ca6f5b9
parent768c3967a9d960d4065c52ed1f63177bfd9fa27b
niu: Recognise original ethtool class code for AH/ESP flow hashing

When the RX network flow classification interface was originally
defined for reporting and controlling of flow hashing, AH and ESP were
not given distinct flow class codes (apparently because the Sun
Neptune hardware treats them very similarly).

For flow steering, they must be distinguished, so new and separate
flow class codes were added for AH and ESP.  But for backward-
compatibility, flow hash operations should continue to support the
original class codes.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c