* [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters
@ 2018-04-21 23:18 Florian Fainelli
2018-04-22 8:51 ` Sergei Shtylyov
2018-04-23 14:28 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Florian Fainelli @ 2018-04-21 23:18 UTC (permalink / raw)
To: netdev; +Cc: davem, vidya.chowdary, dustin, roopa, Florian Fainelli
While adding support for ethtool::get_fecparam and set_param, kernel doc for
these functions was missed, add those.
Fixes: 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
include/linux/ethtool.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index ebe41811ed34..f95d47b4d545 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -310,6 +310,10 @@ bool ethtool_convert_link_mode_to_legacy_u32(u32 *legacy_u32,
* fields should be ignored (use %__ETHTOOL_LINK_MODE_MASK_NBITS
* instead of the latter), any change to them will be overwritten
* by kernel. Returns a negative error code or zero.
+ * @get_fecparam: Get the network device Forward Error Correction
+ * parameters.
+ * @sec_fecparam: Set the network device Forward Error Correction
+ * parameters.
*
* All operations are optional (i.e. the function pointer may be set
* to %NULL) and callers must take this into account. Callers must
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters
2018-04-21 23:18 [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters Florian Fainelli
@ 2018-04-22 8:51 ` Sergei Shtylyov
2018-04-23 14:28 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2018-04-22 8:51 UTC (permalink / raw)
To: Florian Fainelli, netdev; +Cc: davem, vidya.chowdary, dustin, roopa
Hello!
On 4/22/2018 2:18 AM, Florian Fainelli wrote:
> While adding support for ethtool::get_fecparam and set_param, kernel doc for
set_fecparam.
> these functions was missed, add those.
>
> Fixes: 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
[...]
MBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters
2018-04-21 23:18 [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters Florian Fainelli
2018-04-22 8:51 ` Sergei Shtylyov
@ 2018-04-23 14:28 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-04-23 14:28 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev, vidya.chowdary, dustin, roopa
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Sat, 21 Apr 2018 16:18:48 -0700
> + * @sec_fecparam: Set the network device Forward Error Correction
As Sergei pointed out this should be "set_fecparam"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-23 14:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-21 23:18 [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters Florian Fainelli
2018-04-22 8:51 ` Sergei Shtylyov
2018-04-23 14:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).