]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6ad7d19e99dd517516e4c56cad0291426dd79a2
tree2cb39a7e536a2bd88bd93da070b8a8ecf2fb97da
parent304747a77941aefc932cb5a10d89c0dfe2e2d005
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