]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc518d52241edad32d4b31a821f86889816290ead
tree1b0ed2dc54dee3f14354ca3389260e6c350b93a1
parentaf8f83414b7418a6d2a6ad9765642d2979309d38
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