]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Use sysctl-specified types of buffers in new link group
authorWen Gu <guwen@linux.alibaba.com>
Thu, 14 Jul 2022 09:44:03 +0000 (17:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2022 10:19:17 +0000 (11:19 +0100)
commited3d442373463c056b1435cb5a91ebfeed77fa8e
treeeab8d07b4b658b5eda523f668ded777706da718f
parent6cea5976ad1f199b9ab2f1f10dacd547c62c7246
net/smc: Use sysctl-specified types of buffers in new link group

This patch introduces a new SMC-R specific element buf_type
in struct smc_link_group, for recording the value of sysctl
smcr_buf_type when link group is created.

New created link group will create and reuse buffers of the
type specified by buf_type.

Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_core.h