aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ethtool.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-08-15 10:09:22 -0400
committerDavid S. Miller <davem@davemloft.net>2011-08-16 19:36:15 -0400
commita27fc96b0317b732b68b5f781bbdeb56ab5082a8 (patch)
treef52b25ab7a0005f0bd1da684873c8de8c1f3b7cf /include/linux/ethtool.h
parentacf42a2a575777681fee45ed59d7140be38e9142 (diff)
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: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r--include/linux/ethtool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index 42378b34ae8f..3829712ccc05 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -173,6 +173,12 @@ struct ethtool_eeprom {
173 * would cause interrupts to never be generated. To disable 173 * would cause interrupts to never be generated. To disable
174 * coalescing, set usecs = 0 and max_frames = 1. 174 * coalescing, set usecs = 0 and max_frames = 1.
175 * 175 *
176 * Some implementations ignore the value of max_frames and use the
177 * condition:
178 * time_since_first_completion >= usecs
179 * This is deprecated. Drivers for hardware that does not support
180 * counting completions should validate that max_frames == !rx_usecs.
181 *
176 * Adaptive RX/TX coalescing is an algorithm implemented by some 182 * Adaptive RX/TX coalescing is an algorithm implemented by some
177 * drivers to improve latency under low packet rates and improve 183 * drivers to improve latency under low packet rates and improve
178 * throughput under high packet rates. Some drivers only implement 184 * throughput under high packet rates. Some drivers only implement