net/smc: introduce loopback-ism for SMC intra-OS shortcut
authorWen Gu <guwen@linux.alibaba.com>
Sun, 28 Apr 2024 06:07:29 +0000 (14:07 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Apr 2024 11:24:48 +0000 (13:24 +0200)
commit46ac64419ded7bcbe1fb8d0f4df3258384a425c2
treeaf53434261d25b0ec118a151de9c561b9249657b
parent784c46f5467c3cd516e518de211e26611da5c0fb
net/smc: introduce loopback-ism for SMC intra-OS shortcut

This introduces a kind of Emulated-ISM device named loopback-ism for
SMCv2.1. The loopback-ism device is currently exclusive for SMC usage,
and aims to provide an SMC shortcut for sockets within the same kernel,
leading to improved intra-OS traffic performance. Configuration of this
feature is managed through the config SMC_LO.

Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Gerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-and-tested-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/smc/Kconfig
net/smc/Makefile
net/smc/af_smc.c
net/smc/smc_loopback.c [new file with mode: 0644]
net/smc/smc_loopback.h [new file with mode: 0644]