]> 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)
commit840682e44c5172be6e32723d9d207a704c245505
treeeab8d07b4b658b5eda523f668ded777706da718f
parent9c832959dad1e808cf97712c2f19743adfa4683c
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