aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/nfp_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-05-28 17:52:59 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-30 11:27:05 -0400
commita87853f383afd6cb1cbda982d895e9cadf435098 (patch)
tree99cd036c47f59082b1d6c6d9ccdbc7a45f3c63cf /drivers/net/ethernet/netronome/nfp/nfp_main.c
parentnfp: shorten CPP core probe logs (diff)
downloadlinux-dev-a87853f383afd6cb1cbda982d895e9cadf435098.tar.xz
linux-dev-a87853f383afd6cb1cbda982d895e9cadf435098.zip
nfp: support variable NSP response lengths
We want to support extendable commands, where newer versions of the management FW may provide more information. Zero out the communication buffer before passing control to NSP. This way if management FW is old and only fills in first N bytes, the remaining ones will be zeros which extended ABI fields should reserve as not supported/not available. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_main.c')
0 files changed, 0 insertions, 0 deletions