linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 net-next 0/8] net: hns3: Adds support of debugfs to HNS3 driver
@ 2018-11-22 14:09 Salil Mehta
  2018-11-22 14:09 ` [PATCH V2 net-next 1/8] net: hns3: Add debugfs framework registration Salil Mehta
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Salil Mehta @ 2018-11-22 14:09 UTC (permalink / raw)
  To: davem
  Cc: salil.mehta, yisen.zhuang, lipeng321, mehta.salil, netdev,
	linux-kernel, linuxarm

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 

liuzhongzhu (8):
  net: hns3: Add debugfs framework registration
  net: hns3: Add "queue info" query function
  net: hns3: Add "FD flow table" info query function
  net: hns3: Add "tc config" info query function
  net: hns3: Add "tm config" info query function
  net: hns3: Add "qos pause" config info query function
  net: hns3: Add "qos prio map" info query function
  net: hns3: Add "qos buffer" config info query function

 drivers/net/ethernet/hisilicon/hns3/Makefile       |   2 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |   2 +
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 265 +++++++++++
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |  17 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |   4 +
 .../net/ethernet/hisilicon/hns3/hns3pf/Makefile    |   2 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |   1 +
 .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 487 +++++++++++++++++++++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h |  23 +
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    |   1 +
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |   1 +
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h  |   6 +
 12 files changed, 807 insertions(+), 4 deletions(-)
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h

-- 
2.7.4



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-24  1:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-22 14:09 [PATCH V2 net-next 0/8] net: hns3: Adds support of debugfs to HNS3 driver Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 1/8] net: hns3: Add debugfs framework registration Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 2/8] net: hns3: Add "queue info" query function Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 3/8] net: hns3: Add "FD flow table" info " Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 4/8] net: hns3: Add "tc config" " Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 5/8] net: hns3: Add "tm " Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 6/8] net: hns3: Add "qos pause" config " Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 7/8] net: hns3: Add "qos prio map" " Salil Mehta
2018-11-22 14:09 ` [PATCH V2 net-next 8/8] net: hns3: Add "qos buffer" config " Salil Mehta
2018-11-24  1:29 ` [PATCH V2 net-next 0/8] net: hns3: Adds support of debugfs to HNS3 driver David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).