OSDN Git Service

Merge branch 'hns3-debugfs'
authorDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:29:00 +0000 (17:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:29:00 +0000 (17:29 -0800)
commitfd0fb612155b32dde6b06347ce309b7f682b3406
tree1fccae57d979247d53f0e3a761d942ec24d115a0
parent53b44cb9220e4ff7e3c091d91c94b2872b2f62d1
parent7d9d7f8864bacdf5afd68daa737f4f082fd724c8
Merge branch 'hns3-debugfs'

Salil Mehta says:

====================
net: hns3: Adds support of debugfs to HNS3 driver

This patchset adds support of debugfs to the HNS3 driver.

Support has been added to query info related to below items:
1. Queue related ("echo queue info [queue no] > cmd")
2. Flow Director ("echo dump fd tcam > cmd")
3. TC config ("echo dump tc > cmd")
4. Transmit Module/Scheduler ("echo dump tm > cmd")
5. QoS pause ("echo dump qos pause cfg > cmd")
6. QoS buffer ("echo dump qos pri map > cmd")
7. QoS prio map ("echo dump qos buf cfg > cmd")

NOTE: Above commands are *read-only* and are only intended to
query the information from the SoC(and dump inside the kernel,
for now) and in no way tries to perform write operations for
the purpose of configuration etc.

Change Log
----------
V1-->V2:
   * Addressed the comments provided by Jakub Kicinski.
     1. Removed the .rej files mistakenly made part of Flow Director patch.
Link: https://lkml.org/lkml/2018/11/20/249
     2. Added command summary in the cover letter
Link: https://lkml.org/lkml/2018/11/22/1
====================

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