Message ID | 20240405081547.20676-2-louis.peens@corigine.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | nfp: series of minor driver improvements | expand |
On Fri, Apr 05, 2024 at 10:15:44AM +0200, Louis Peens wrote: > From: Fei Qin <fei.qin@corigine.com> > > Add definition and documentation for the new generic > info "board.part_number". > > The new one is for part number specific use, and board.id > is modified to match the documentation in devlink-info. > > Signed-off-by: Fei Qin <fei.qin@corigine.com> > Signed-off-by: Louis Peens <louis.peens@corigine.com> Thanks, I agree this is consistent with the review of v2 [1]. And addresses the documentation formatting problem of v3 [2]. Reviewed-by: Simon Horman <horms@kernel.org> [1] https://lore.kernel.org/all/20240228075140.12085-2-louis.peens@corigine.com/ [2] https://lore.kernel.org/all/20240403145700.26881-2-louis.peens@corigine.com/ ...
diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst index 1242b0e6826b..805ee673113b 100644 --- a/Documentation/networking/devlink/devlink-info.rst +++ b/Documentation/networking/devlink/devlink-info.rst @@ -146,6 +146,11 @@ board.manufacture An identifier of the company or the facility which produced the part. +board.part_number +----------------- + +Part number of the board design. + fw -- diff --git a/include/net/devlink.h b/include/net/devlink.h index 9ac394bdfbe4..2100e62c2c2d 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -599,12 +599,14 @@ enum devlink_param_generic_id { .validate = _validate, \ } -/* Part number, identifier of board design */ +/* Identifier of board design */ #define DEVLINK_INFO_VERSION_GENERIC_BOARD_ID "board.id" /* Revision of board design */ #define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev" /* Maker of the board */ #define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture" +/* Part number of board design */ +#define DEVLINK_INFO_VERSION_GENERIC_BOARD_PART_NUMBER "board.part_number" /* Part number, identifier of asic design */ #define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"