mbox series

[net-next,v2,0/5] devlink: minor tweaks to reported device info

Message ID 20190211033531.12928-1-jakub.kicinski@netronome.com
Headers show
Series devlink: minor tweaks to reported device info | expand

Message

Jakub Kicinski Feb. 11, 2019, 3:35 a.m. UTC
Hi!

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.

Jakub Kicinski (5):
  devlink: fix condition for compat device info
  devlink: don't allocate attrs on the stack
  devlink: add a generic board.manufacture version name
  nfp: devlink: use the generic manufacture identifier instead of vendor
  nfp: devlink: include vendor/product info in serial number

 .../networking/devlink-info-versions.rst      |  5 ++++
 .../net/ethernet/netronome/nfp/nfp_devlink.c  | 23 +++++++++++++++----
 include/net/devlink.h                         |  2 ++
 net/core/devlink.c                            | 16 +++++++++----
 4 files changed, 37 insertions(+), 9 deletions(-)

Comments

David Miller Feb. 12, 2019, 4:40 a.m. UTC | #1
From: Jakub Kicinski <jakub.kicinski@netronome.com>
Date: Sun, 10 Feb 2019 19:35:26 -0800

> 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.

Series applied, thanks Jakub.