]> 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)
commitf0f5e6e2801daf850f56dc6f10c5bd1b421ec53c
tree1b0ed2dc54dee3f14354ca3389260e6c350b93a1
parent135579e90462469cb9630b0161dd4bf7f7c433a6
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