mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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>
This commit is contained in:
parent
ba569dc3e8
commit
073e3cf219
1 changed files with 9 additions and 7 deletions
|
@ -351,17 +351,18 @@ struct ethtool_modinfo {
|
||||||
* @rate_sample_interval: How often to do adaptive coalescing packet rate
|
* @rate_sample_interval: How often to do adaptive coalescing packet rate
|
||||||
* sampling, measured in seconds. Must not be zero.
|
* sampling, measured in seconds. Must not be zero.
|
||||||
*
|
*
|
||||||
* Each pair of (usecs, max_frames) fields specifies this exit
|
* Each pair of (usecs, max_frames) fields specifies that interrupts
|
||||||
* condition for interrupt coalescing:
|
* should be coalesced until
|
||||||
* (usecs > 0 && time_since_first_completion >= usecs) ||
|
* (usecs > 0 && time_since_first_completion >= usecs) ||
|
||||||
* (max_frames > 0 && completed_frames >= max_frames)
|
* (max_frames > 0 && completed_frames >= max_frames)
|
||||||
|
*
|
||||||
* It is illegal to set both usecs and max_frames to zero as this
|
* It is illegal to set both usecs and max_frames to zero as this
|
||||||
* 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
|
* Some implementations ignore the value of max_frames and use the
|
||||||
* condition:
|
* condition time_since_first_completion >= usecs
|
||||||
* time_since_first_completion >= usecs
|
*
|
||||||
* This is deprecated. Drivers for hardware that does not support
|
* This is deprecated. Drivers for hardware that does not support
|
||||||
* counting completions should validate that max_frames == !rx_usecs.
|
* counting completions should validate that max_frames == !rx_usecs.
|
||||||
*
|
*
|
||||||
|
@ -809,7 +810,7 @@ struct ethtool_rx_flow_spec {
|
||||||
* %ETHTOOL_SRXCLSRLINS may add the rule at any suitable unused
|
* %ETHTOOL_SRXCLSRLINS may add the rule at any suitable unused
|
||||||
* location, and may remove a rule at a later location (lower
|
* location, and may remove a rule at a later location (lower
|
||||||
* priority) that matches exactly the same set of flows. The special
|
* priority) that matches exactly the same set of flows. The special
|
||||||
* values are: %RX_CLS_LOC_ANY, selecting any location;
|
* values are %RX_CLS_LOC_ANY, selecting any location;
|
||||||
* %RX_CLS_LOC_FIRST, selecting the first suitable location (maximum
|
* %RX_CLS_LOC_FIRST, selecting the first suitable location (maximum
|
||||||
* priority); and %RX_CLS_LOC_LAST, selecting the last suitable
|
* priority); and %RX_CLS_LOC_LAST, selecting the last suitable
|
||||||
* location (minimum priority). Additional special values may be
|
* location (minimum priority). Additional special values may be
|
||||||
|
@ -949,8 +950,9 @@ struct ethtool_get_features_block {
|
||||||
/**
|
/**
|
||||||
* struct ethtool_gfeatures - command to get state of device's features
|
* struct ethtool_gfeatures - command to get state of device's features
|
||||||
* @cmd: command number = %ETHTOOL_GFEATURES
|
* @cmd: command number = %ETHTOOL_GFEATURES
|
||||||
* @size: in: number of elements in the features[] array;
|
* @size: On entry, the number of elements in the features[] array;
|
||||||
* out: number of elements in features[] needed to hold all features
|
* on return, the number of elements in features[] needed to hold
|
||||||
|
* all features
|
||||||
* @features: state of features
|
* @features: state of features
|
||||||
*/
|
*/
|
||||||
struct ethtool_gfeatures {
|
struct ethtool_gfeatures {
|
||||||
|
|
Loading…
Add table
Reference in a new issue