nfp: report application FW build name in ethtool -i
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 9 Jun 2017 03:56:14 +0000 (20:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:52:09 +0000 (12:52 -0400)
commit76abc0f620549d7fdf960bb8c99e502e9b61faae
tree0e66d1836d458ba6986409a31d9e514c8afd6626
parent0be40e66e72a544e2d4a5bca9328463ebf2c55df
nfp: report application FW build name in ethtool -i

Make sure application FW build name is NULL-terminated and
print it as a part of ethtool's firmware version string.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_app.c
drivers/net/ethernet/netronome/nfp/nfp_app.h
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_mip.c
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h