]> 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)
commitaf92ff5371965c38b8712f76391222f7200c14b9
tree2cb39a7e536a2bd88bd93da070b8a8ecf2fb97da
parentbe0b0dc50c07d134b0e60d85964fe57f6f98aa5e
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