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)
commitf7852b8e9ee17a286d8462d77d9b6c7bdb97f947
tree9c0a83b8536034627cc2e4b1c41f337a0503f4ea
parent8a925303b695f6319b45a412b6945318e3e8b0da
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