nfp: devlink: report driver name and serial number
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 31 Jan 2019 18:50:43 +0000 (10:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2019 23:30:30 +0000 (15:30 -0800)
commit4adba00839d6819cc678920095996c56b26fe96d
tree70b7864076aa9111e9b72b63cbc57a0929c56540
parent785bd550c4fb0e12cb29dd24cf0a0be103f145a0
nfp: devlink: report driver name and serial number

Report the basic info through new devlink info API.

RFCv2:
 - add driver name;
 - align serial to core changes.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_devlink.c