nfp: load debug dump spec
authorCarl Heymann <carl.heymann@netronome.com>
Mon, 4 Dec 2017 22:34:13 +0000 (23:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:01 +0000 (15:01 -0500)
commit8a925303b695f6319b45a412b6945318e3e8b0da
tree1b0ed2dc54dee3f14354ca3389260e6c350b93a1
parentd79e19f564bfbd8017e75878fb2a9fce0af764cf
nfp: load debug dump spec

Load the TLV-based binary specification of what needs to be included in
a dump, from the "_abi_dump_spec" rtsymbol. If the symbol is not defined,
then dumps for levels >= 1 are not supported.

Signed-off-by: Carl Heymann <carl.heymann@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_debugdump.c