aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-02-12 17:15:09 -0500
committerDavid S. Miller <davem@davemloft.net>2014-02-12 17:33:04 -0500
commit073e3cf21916afa25c1f3e8807a8ebf4faf6f4d5 (patch)
tree28fc3944bd2983e8e677312e951c63d9dd98b2d7
parentba569dc3e8b9964a91da0cb802d3e46796e1168e (diff)
ethtool: Fix unwanted section breaks in kernel-doc
A colon almost unavoidably starts a new section. The script should be changed to provide a way to avoid this, but for now reword the comments to avoid using colons. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/uapi/linux/ethtool.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 24418ac78b77..fd161e91b6d7 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -351,17 +351,18 @@ struct ethtool_modinfo {
351 * @rate_sample_interval: How often to do adaptive coalescing packet rate 351 * @rate_sample_interval: How often to do adaptive coalescing packet rate
352 * sampling, measured in seconds. Must not be zero. 352 * sampling, measured in seconds. Must not be zero.
353 * 353 *
354 * Each pair of (usecs, max_frames) fields specifies this exit 354 * Each pair of (usecs, max_frames) fields specifies that interrupts
355 * condition for interrupt coalescing: 355 * should be coalesced until
356 * (usecs > 0 && time_since_first_completion >= usecs) || 356 * (usecs > 0 && time_since_first_completion >= usecs) ||
357 * (max_frames > 0 && completed_frames >= max_frames) 357 * (max_frames > 0 && completed_frames >= max_frames)
358 *
358 * It is illegal to set both usecs and max_frames to zero as this 359 * It is illegal to set both usecs and max_frames to zero as this
359 * would cause interrupts to never be generated. To disable 360 * would cause interrupts to never be generated. To disable
360 * coalescing, set usecs = 0 and max_frames = 1. 361 * coalescing, set usecs = 0 and max_frames = 1.
361 * 362 *
362 * Some implementations ignore the value of max_frames and use the 363 * Some implementations ignore the value of max_frames and use the
363 * condition: 364 * condition time_since_first_completion >= usecs
364 * time_since_first_completion >= usecs 365 *
365 * This is deprecated. Drivers for hardware that does not support 366 * This is deprecated. Drivers for hardware that does not support
366 * counting completions should validate that max_frames == !rx_usecs. 367 * counting completions should validate that max_frames == !rx_usecs.
367 * 368 *
@@ -809,7 +810,7 @@ struct ethtool_rx_flow_spec {
809 * %ETHTOOL_SRXCLSRLINS may add the rule at any suitable unused 810 * %ETHTOOL_SRXCLSRLINS may add the rule at any suitable unused
810 * location, and may remove a rule at a later location (lower 811 * location, and may remove a rule at a later location (lower
811 * priority) that matches exactly the same set of flows. The special 812 * priority) that matches exactly the same set of flows. The special
812 * values are: %RX_CLS_LOC_ANY, selecting any location; 813 * values are %RX_CLS_LOC_ANY, selecting any location;
813 * %RX_CLS_LOC_FIRST, selecting the first suitable location (maximum 814 * %RX_CLS_LOC_FIRST, selecting the first suitable location (maximum
814 * priority); and %RX_CLS_LOC_LAST, selecting the last suitable 815 * priority); and %RX_CLS_LOC_LAST, selecting the last suitable
815 * location (minimum priority). Additional special values may be 816 * location (minimum priority). Additional special values may be
@@ -949,8 +950,9 @@ struct ethtool_get_features_block {
949/** 950/**
950 * struct ethtool_gfeatures - command to get state of device's features 951 * struct ethtool_gfeatures - command to get state of device's features
951 * @cmd: command number = %ETHTOOL_GFEATURES 952 * @cmd: command number = %ETHTOOL_GFEATURES
952 * @size: in: number of elements in the features[] array; 953 * @size: On entry, the number of elements in the features[] array;
953 * out: number of elements in features[] needed to hold all features 954 * on return, the number of elements in features[] needed to hold
955 * all features
954 * @features: state of features 956 * @features: state of features
955 */ 957 */
956struct ethtool_gfeatures { 958struct ethtool_gfeatures {