[PATCH net-next 0/2] net: hns3: add support setting parameters of congestion control algorithm by devlink param

From: Guangbin Huang
Date: Thu Sep 22 2022 - 21:41:12 EST


This series adds support setting parameters of congestion control algorithm
by devlink param for HNS3 driver of PF.

There are several parameters need to be set, but the devlink param string
is limited to 32 characters, it is not enough, so expand the string length
to 256.

Hao Chen (2):
devlink: expand __DEVLINK_PARAM_MAX_STRING_VALUE to 256
net: hns3: PF add support setting parameters of congestion control
algorithm by devlink param

.../hns3/hns3_common/hclge_comm_cmd.h | 6 +
.../hisilicon/hns3/hns3pf/hclge_cmd.h | 44 +
.../hisilicon/hns3/hns3pf/hclge_devlink.c | 788 ++++++++++++++++++
.../hisilicon/hns3/hns3pf/hclge_devlink.h | 6 +
.../hisilicon/hns3/hns3pf/hclge_main.c | 122 +++
.../hisilicon/hns3/hns3pf/hclge_main.h | 61 ++
include/net/devlink.h | 2 +-
7 files changed, 1028 insertions(+), 1 deletion(-)

--
2.33.0