OSDN Git Service

Merge branch 'nfp-enhanced-debug-dump-via-ethtool'
authorDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:03 +0000 (15:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 20:01:03 +0000 (15:01 -0500)
Simon Horman says:

====================
nfp: enhanced debug dump via ethtool

Add debug dump implementation to the NFP driver. This makes use of
existing ethtool infrastructure.  ethtool -W is used to select the dump
level and ethtool -w is used to dump NFP state.

The existing behaviour of dump level 0, dumping the arm.diag resource, is
preserved. Dump levels greater than 0 are implemented by this patchset and
optionally supported by firmware providing a _abi_dump_spec rtsym. This
rtsym provides a specification, in TLV format, of the information to be
dumped from the NFP at each supported dump level.

Dumps are also structured using a TLVs. They consist a prolog and the data
described int he corresponding dump.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge