ethtool: Document correct attribute type
authorIdo Schimmel <idosch@nvidia.com>
Tue, 22 Jun 2021 06:50:47 +0000 (09:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 17:40:54 +0000 (10:40 -0700)
'ETHTOOL_A_MODULE_EEPROM_DATA' is a binary attribute, not a nested one.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool_netlink.h

index c3600f9..8ae644f 100644 (file)
@@ -1388,7 +1388,7 @@ Kernel response contents:
  +---------------------------------------------+--------+---------------------+
  | ``ETHTOOL_A_MODULE_EEPROM_HEADER``          | nested | reply header        |
  +---------------------------------------------+--------+---------------------+
- | ``ETHTOOL_A_MODULE_EEPROM_DATA``            | nested | array of bytes from |
+ | ``ETHTOOL_A_MODULE_EEPROM_DATA``            | binary | array of bytes from |
  |                                             |        | module EEPROM       |
  +---------------------------------------------+--------+---------------------+
 
index 825cfda..c7135c9 100644 (file)
@@ -675,7 +675,7 @@ enum {
        ETHTOOL_A_MODULE_EEPROM_PAGE,                   /* u8 */
        ETHTOOL_A_MODULE_EEPROM_BANK,                   /* u8 */
        ETHTOOL_A_MODULE_EEPROM_I2C_ADDRESS,            /* u8 */
-       ETHTOOL_A_MODULE_EEPROM_DATA,                   /* nested */
+       ETHTOOL_A_MODULE_EEPROM_DATA,                   /* binary */
 
        __ETHTOOL_A_MODULE_EEPROM_CNT,
        ETHTOOL_A_MODULE_EEPROM_MAX = (__ETHTOOL_A_MODULE_EEPROM_CNT - 1)