History

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.

Vasundhara Volam committed 6 years ago

Commit b5872cd1 parent 406fcb54 files · +17 −7Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -453,6 +453,8 @@ enum devlink_attr { · 452 unmodified lines
453453
454454 DEVLINK_ATTR_PORT_FUNCTION, /* nested */
455455
456+ DEVLINK_ATTR_INFO_BOARD_SERIAL_NUMBER, /* string */
457+
456458 /* add new attributes above here, update the policy in devlink.c */
457459
458460 __DEVLINK_ATTR_MAX,