Commit a27fc96b authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller

ethtool: Note common alternate exit condition for interrupt coalescing

Many implementations ignore the value of max_frames and do not
treat usecs == 0 as special.  Document this as deprecated.
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent acf42a2a
...@@ -173,6 +173,12 @@ struct ethtool_eeprom { ...@@ -173,6 +173,12 @@ struct ethtool_eeprom {
* would cause interrupts to never be generated. To disable * would cause interrupts to never be generated. To disable
* coalescing, set usecs = 0 and max_frames = 1. * coalescing, set usecs = 0 and max_frames = 1.
* *
* Some implementations ignore the value of max_frames and use the
* condition:
* time_since_first_completion >= usecs
* This is deprecated. Drivers for hardware that does not support
* counting completions should validate that max_frames == !rx_usecs.
*
* Adaptive RX/TX coalescing is an algorithm implemented by some * Adaptive RX/TX coalescing is an algorithm implemented by some
* drivers to improve latency under low packet rates and improve * drivers to improve latency under low packet rates and improve
* throughput under high packet rates. Some drivers only implement * throughput under high packet rates. Some drivers only implement
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment