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)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 03:17:21 +0000 (04:17 +0100)
commitac70b2e9a13423b5efa0178e081936ce6979aea5
tree8686f17a8ea46cceedcb643aa4c0814c8fe0a834
parent476ad154f3b41dd7d9a08a2f641e28388abc2fd1
sfc: Fix reporting of IPv4 full filters through ethtool

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