[RFC PATCH net-next 0/8] net: hns3: add support devlink
From: Guangbin Huang
Date: Tue Jul 06 2021 - 02:45:15 EST
This series adds devlink support for the HNS3 ethernet driver.
Hao Chen (4):
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
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 | 239 ++++++++++++++++++++
.../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 | 240 +++++++++++++++++++++
.../hisilicon/hns3/hns3vf/hclgevf_devlink.h | 22 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 11 +
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 3 +
12 files changed, 560 insertions(+), 5 deletions(-)
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