nfp: dumpspec TLV traversal
authorCarl Heymann <carl.heymann@netronome.com>
Mon, 4 Dec 2017 22:34:15 +0000 (23:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:01 +0000 (15:01 -0500)
commitf3682c78667d1ac6547447492a540ca2e2cc4ea4
treec94546f282ab18fd03ca9e88b6a162b69a8de401
parentf7852b8e9ee17a286d8462d77d9b6c7bdb97f947
nfp: dumpspec TLV traversal

- Perform dumpspec traversals for calculating size and populating the
  dump.
- Initially, wrap all spec TLVs in dump error TLVs (changed by later
  patches in the series).

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