netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: hns3: add support setting parameters of congestion control algorithm by devlink param
@ 2022-09-23  1:38 Guangbin Huang
  2022-09-23  1:38 ` [PATCH net-next 1/2] devlink: expand __DEVLINK_PARAM_MAX_STRING_VALUE to 256 Guangbin Huang
  2022-09-23  1:38 ` [PATCH net-next 2/2] net: hns3: PF add support setting parameters of congestion control algorithm by devlink param Guangbin Huang
  0 siblings, 2 replies; 7+ messages in thread
From: Guangbin Huang @ 2022-09-23  1:38 UTC (permalink / raw)
  To: jiri, moshe, davem, kuba, idosch
  Cc: edumazet, pabeni, netdev, linux-kernel, huangguangbin2, lipeng321,
	chenhao418

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-23 11:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23  1:38 [PATCH net-next 0/2] net: hns3: add support setting parameters of congestion control algorithm by devlink param Guangbin Huang
2022-09-23  1:38 ` [PATCH net-next 1/2] devlink: expand __DEVLINK_PARAM_MAX_STRING_VALUE to 256 Guangbin Huang
2022-09-23  6:13   ` kernel test robot
2022-09-23  1:38 ` [PATCH net-next 2/2] net: hns3: PF add support setting parameters of congestion control algorithm by devlink param Guangbin Huang
2022-09-23  2:23   ` Jakub Kicinski
2022-09-23  2:39     ` huangguangbin (A)
2022-09-23 11:20   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).