[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1627267627-38467-1-git-send-email-huangguangbin2@huawei.com>
Date: Mon, 26 Jul 2021 10:47:00 +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>, <moyufeng@...wei.com>,
<chenhao288@...ilicon.com>, <huangguangbin2@...wei.com>
Subject: [PATCH V3 net-next 0/7] net: hns3: add support devlink
This series adds devlink support for the HNS3 ethernet driver.
change log:
V2 -> V3:
1. remove two patches of setting rx/tx buffer size by devlink param.
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 (3):
devlink: add documentation for hns3 driver
net: hns3: add devlink reload support for PF
net: hns3: add devlink reload support for VF
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 | 25 ++++
Documentation/networking/devlink/index.rst | 1 +
drivers/net/ethernet/hisilicon/Kconfig | 1 +
.../net/ethernet/hisilicon/hns3/hns3pf/Makefile | 2 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c | 154 ++++++++++++++++++++
.../ethernet/hisilicon/hns3/hns3pf/hclge_devlink.h | 15 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 10 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +
.../net/ethernet/hisilicon/hns3/hns3vf/Makefile | 2 +-
.../hisilicon/hns3/hns3vf/hclgevf_devlink.c | 155 +++++++++++++++++++++
.../hisilicon/hns3/hns3vf/hclgevf_devlink.h | 15 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 8 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 3 +
13 files changed, 390 insertions(+), 3 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