diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2020-06-20 19:31:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 02:15:04 +0300 |
commit | b5872cd0e823e4cb50b3a75cd9522167eeb676a2 (patch) | |
tree | 1dbe79bf810e1b5b4471379fc5cf58662b427125 /include/uapi/linux/devlink.h | |
parent | 406fcb5baeb3ffde07230380f17a147eb2c88f84 (diff) | |
download | linux-b5872cd0e823e4cb50b3a75cd9522167eeb676a2.tar.xz |
devlink: Add support for board.serial_number to info_get cb.
Board serial number is a serial number, often available in PCI
*Vital Product Data*.
Also, update devlink-info.rst documentation file.
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/devlink.h')
-rw-r--r-- | include/uapi/linux/devlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index 07d0af8f5923..87c83a82991b 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -453,6 +453,8 @@ enum devlink_attr { DEVLINK_ATTR_PORT_FUNCTION, /* nested */ + DEVLINK_ATTR_INFO_BOARD_SERIAL_NUMBER, /* string */ + /* add new attributes above here, update the policy in devlink.c */ __DEVLINK_ATTR_MAX, |