From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net] net: ethtool: Add missing kernel doc for FEC parameters Date: Sat, 21 Apr 2018 16:18:48 -0700 Message-ID: <20180421231848.17450-1-f.fainelli@gmail.com> Cc: davem@davemloft.net, vidya.chowdary@gmail.com, dustin@cumulusnetworks.com, roopa@cumulusnetworks.com, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-qt0-f193.google.com ([209.85.216.193]:37050 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753208AbeDUXSy (ORCPT ); Sat, 21 Apr 2018 19:18:54 -0400 Received: by mail-qt0-f193.google.com with SMTP id w12-v6so13683894qti.4 for ; Sat, 21 Apr 2018 16:18:54 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: 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 --- 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