sfc: Fix reporting of IPv4 full filters through ethtool
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 15 Aug 2012 17:09:15 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:29:38 +0000 (10:29 -0700)
commitfa1dcb6f0d338629cf1e3939227135ce0ea17b50
tree6bd85b93ddef522490d88bbc8fe5684e72f850c0
parentfbc350126994de9682e0400b969ab84437768894
sfc: Fix reporting of IPv4 full filters through ethtool

[ Upstream commit ac70b2e9a13423b5efa0178e081936ce6979aea5 ]

ETHTOOL_GRXCLSRULE returns filters for a TCP/IPv4 or UDP/IPv4 4-tuple
with source and destination swapped.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ethtool.c