[PATCH net-next 0/8] net: hns3: Adds support of debugfs to HNS3 driver

From: Salil Mehta
Date: Mon Nov 19 2018 - 16:20:24 EST


This patchset adds support of debugfs to the HNS3 driver.

Support has been added to query info related to below items:
1. Queue related
2. Flow Director
3. TC config
4. Transmit Module/Scheduler
5. QoS pause
6. QoS buffer
7. QoS prio map

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 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 +
.../ethernet/hisilicon/hns3/hns3_debugfs.c | 265 ++++++++++
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 17 +-
.../net/ethernet/hisilicon/hns3/hns3_enet.h | 4 +
.../ethernet/hisilicon/hns3/hns3pf/Makefile | 2 +-
.../hisilicon/hns3/hns3pf/hclge_cmd.h | 1 +
.../hisilicon/hns3/hns3pf/hclge_debugfs.c | 487 ++++++++++++++++++
.../hisilicon/hns3/hns3pf/hclge_debugfs.h | 23 +
.../hisilicon/hns3/hns3pf/hclge_main.c | 1 +
.../hisilicon/hns3/hns3pf/hclge_main.h | 1 +
.../hisilicon/hns3/hns3pf/hclge_main.h.rej | 12 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 6 +
13 files changed, 819 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
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h.rej

--
2.17.1