]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'mvpp2-add-debugfs-interface'
authorDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:10:01 +0000 (00:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:10:01 +0000 (00:10 -0700)
commitcc98419a572ccf625bbf6e6fdb8d5ce31f2a9470
tree795376be3bc9be687ab632a24fd5a7817b9cb580
parent2aa4a3378ad077d02131a23d22641ae8ae44cb28
parentf9d30d5bd57e6451345b3e021b789f629719923b
Merge branch 'mvpp2-add-debugfs-interface'

Maxime Chevallier says:

====================
net: mvpp2: add debugfs interface

The PPv2 Header Parser and Classifier are not straightforward to debug,
having easy access to some of the many lookup tables configuration is
helpful during development and debug.

This series adds a basic debugfs interface, allowing to read data from
the Header Parser and some of the Classifier tables.

For now, the interface is read-only, and contains only some basic info.

This was actually used during RSS development, and might be useful to
troubleshoot some issues we might find.

The first patch of the series converts the mvpp2 files to SPDX, which
eases adding the new debugfs dedicated file.

The second patch adds the interface, and exposes basic Header Parser data.

The 3rd patch adds a hit counter for the Header Parser TCAM.

The 4th patch exposes classifier info.

The 5th patch adds some hit counters for some of the classifier engines.

Changes since V1:
- Rebased on the lastest net-next
- Made cls_flow_get non static so that it can be used in mvpp2_debugfs
====================

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