sfc: Use correct fields of struct ethtool_coalesce
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 5 Sep 2011 07:43:49 +0000 (07:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2011 20:50:36 +0000 (16:50 -0400)
commit13225977f5429fc5a8c0c1933e3283ab4c7042d8
tree2cb39a7e536a2bd88bd93da070b8a8ecf2fb97da
parent9e393b3060ec4ed7e7c7c5de154e08e48c98f623
sfc: Use correct fields of struct ethtool_coalesce

An earlier developer misunderstood the meaning of the 'irq' fields and
the driver did not support the standard fields.  To avoid invalidating
existing user documentation, we report and accept changes through
either the standard or 'irq' fields.  If both are changed at the same
time, we prefer the standard field.

Also explain why we don't currently use the 'max_frames' fields.

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