[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1626335110-50769-1-git-send-email-huangguangbin2@huawei.com>
Date: Thu, 15 Jul 2021 15:45:01 +0800
From: Guangbin Huang <huangguangbin2@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>, <jiri@...dia.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lipeng321@...wei.com>, <chenhao288@...ilicon.com>,
<huangguangbin2@...wei.com>
Subject: [PATCH V2 net-next 0/9] net: hns3: add support devlink
This series adds devlink support for the HNS3 ethernet driver.
change log:
V1 -> V2:
1. add more detailed descriptions of parameters in document hns3.rst.
RFC -> V1:
1. use DEVLINK_INFO_VERSION_GENERIC_FW instead of "fw-version".
2. add devlink documentation for hns3 driver.
Hao Chen (5):
devlink: add documentation for hns3 driver
net: hns3: add devlink reload support for PF
net: hns3: add devlink reload support for VF
net: hns3: add support for PF setting rx/tx buffer size by devlink
param
net: hns3: add support for VF setting rx/tx buffer size by devlink
param
Yufeng Mo (4):
net: hns3: add support for registering devlink for PF
net: hns3: add support for registering devlink for VF
net: hns3: add support for devlink get info for PF
net: hns3: add support for devlink get info for VF
Documentation/networking/devlink/hns3.rst | 56 +++++
Documentation/networking/devlink/index.rst | 1 +
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 8 +-
.../net/ethernet/hisilicon/hns3/hns3pf/Makefile | 2 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c | 241 ++++++++++++++++++++
.../ethernet/hisilicon/hns3/hns3pf/hclge_devlink.h | 22 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 13 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +
.../net/ethernet/hisilicon/hns3/hns3vf/Makefile | 2 +-
.../hisilicon/hns3/hns3vf/hclgevf_devlink.c | 242 +++++++++++++++++++++
.../hisilicon/hns3/hns3vf/hclgevf_devlink.h | 22 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 11 +
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 3 +
14 files changed, 621 insertions(+), 5 deletions(-)
create mode 100644 Documentation/networking/devlink/hns3.rst
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.h
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.h
--
2.8.1
Powered by blists - more mailing lists