net/smc: implement ID-related operations of loopback-ism
authorWen Gu <guwen@linux.alibaba.com>
Sun, 28 Apr 2024 06:07:30 +0000 (14:07 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Apr 2024 11:24:48 +0000 (13:24 +0200)
commit45783ee85bf337693a99e03cd6142fdcfb06585d
tree21bca2dda293c3b9ebca8019aa8912924c3e5bdd
parent46ac64419ded7bcbe1fb8d0f4df3258384a425c2
net/smc: implement ID-related operations of loopback-ism

This implements operations related to IDs for the loopback-ism device.
loopback-ism uses an Extended GID that is a 128-bit GID instead of the
existing ISM 64-bit GID, and uses the CHID defined with the reserved
value 0xFFFF.

Signed-off-by: Wen Gu <guwen@linux.alibaba.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/smc_loopback.c
net/smc/smc_loopback.h