[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220923013818.51003-1-huangguangbin2@huawei.com>
Date: Fri, 23 Sep 2022 09:38:16 +0800
From: Guangbin Huang <huangguangbin2@...wei.com>
To: <jiri@...lanox.com>, <moshe@...lanox.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <idosch@...dia.com>
CC: <edumazet@...gle.com>, <pabeni@...hat.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<huangguangbin2@...wei.com>, <lipeng321@...wei.com>,
<chenhao418@...wei.com>
Subject: [PATCH net-next 0/2] net: hns3: add support setting parameters of congestion control algorithm by devlink param
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
Powered by blists - more mailing lists