[net-next,0/4] devlink: minor tweaks to reported device info
mbox series

Message ID 20190209031611.1102-1-jakub.kicinski@netronome.com
Headers show
Series
  • devlink: minor tweaks to reported device info
Related show

Message

Jakub Kicinski Feb. 9, 2019, 3:16 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".

Jakub Kicinski (4):
  devlink: fix condition for compat device info
  devlink: don't allocate attrs on the stack
  nfp: devlink: rename vendor to manufacture
  nfp: devlink: include vendor/product info in serial number

 .../net/ethernet/netronome/nfp/nfp_devlink.c  | 23 +++++++++++++++----
 net/core/devlink.c                            | 15 ++++++++----
 2 files changed, 29 insertions(+), 9 deletions(-)