]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'hns3-Add-more-commands-to-Debugfs-in-HNS3-driver'
authorDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 18:54:18 +0000 (10:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 18:54:18 +0000 (10:54 -0800)
commit171545429d27da433a05cf6ff8c76f2cc2b37da1
tree4e9e35007d344bc7e3127812d4d3b324fd2c650a
parent30b738f91dde41cf7ba04c2c0ebada7af792554a
parent42d6b2b70284bc866caf814520be1ae3ed808664
Merge branch 'hns3-Add-more-commands-to-Debugfs-in-HNS3-driver'

Salil Mehta says:

====================
net: hns3: Add more commands to Debugfs in HNS3 driver

This patch-set adds few more debugfs commands to HNS3 Ethernet
Driver. Support has been added to query info related to below
items:
1. Packet buffer descriptor ("echo bd info [queue no] [bd index] > cmd")
2. Manager table("echo dump mng tbl > cmd")
3. Dfx status register("echo dump reg ssu [prt id] > cmd")
4. Dcb status register("echo dump reg dcb [port id] > cmd")
5. Queue map ("echo queue map [queue no] > cmd")
6. Tm map ("echo tm map [queue no] > 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:
1. Addressed the GCC-8.2 compiler issue reported by David S. Miller.
Link: https://lkml.org/lkml/2018/12/14/1298
====================

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