diff options
| author | David S. Miller <davem@davemloft.net> | 2019-02-11 20:39:56 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-11 20:39:56 -0800 |
| commit | 5ed9d4f2e74595a0a2034a8c010adcdcc1d63b61 (patch) | |
| tree | f4c851b113ad79442fbfe5d9825388d4e0130081 /include | |
| parent | b904aada8033749558e3aaeb574a2200bf0458f0 (diff) | |
| parent | 1f5cf1036cbe4df7f078312561b5fefb2594a3bd (diff) | |
Merge branch 'devinfo-tweaks'
Jakub Kicinski says:
====================
devlink: minor tweaks to reported device info
This series contains two minor touch ups for devlink code. First
|| is corrected to && in the ethtool compat code. Next patch
decreases the stack allocation size.
On the nfp side after further discussions with the manufacturing
team we decided to realign the serial number contents slightly and
rename one of the other fields from "vendor" to "mfr", short for
"manufacture".
v2: - add patch 3 - move board maker as a generic attribute.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/devlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index 2b384a38911b..07660fe4c0e3 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -435,6 +435,8 @@ enum devlink_param_wol_types { #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" /* Control processor FW version */ #define DEVLINK_INFO_VERSION_GENERIC_FW_MGMT "fw.mgmt" |
