nfp: dump CPP, XPB and direct ME CSRs
authorCarl Heymann <carl.heymann@netronome.com>
Mon, 4 Dec 2017 22:34:20 +0000 (23:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:02 +0000 (15:01 -0500)
commit0e6c4955e149dc4733e0265a99c3040bf4f4a164
tree3b13ad0476676d4c7712bf9fc25f15b6789bc720
parente9364d30d5cb1e7fa95a0d26730d57b87c2d1eaa
nfp: dump CPP, XPB and direct ME CSRs

- The spec defines CSR address ranges for these types.
- Dump each TLV chunk in the spec as a chunk that includes the spec and
  the data over the defined address range.

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