]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: dump prolog
authorCarl Heymann <carl.heymann@netronome.com>
Mon, 4 Dec 2017 22:34:14 +0000 (23:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:01 +0000 (15:01 -0500)
commit4a50fa9b9669c55bdc81ce025102a8d2c5409987
tree9c0a83b8536034627cc2e4b1c41f337a0503f4ea
parentc518d52241edad32d4b31a821f86889816290ead
nfp: dump prolog

- Use a TLV structure, with the typed chunks aligned to 8-byte sizes.
- Dump numeric fields as big-endian.
- Prolog contains the dump level.

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