net/smc: compatible with 128-bits extended GID of virtual ISM device
authorWen Gu <guwen@linux.alibaba.com>
Tue, 19 Dec 2023 14:26:13 +0000 (22:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Dec 2023 20:24:33 +0000 (20:24 +0000)
commitb40584d145700addc70cc29e4f0850a4ed955b1c
treefe363ce85f1d5c34e2779e95bde1c1446d5abed2
parent8dd512df3c98ce8081e3541990bf849157675723
net/smc: compatible with 128-bits extended GID of virtual ISM device

According to virtual ISM support feature defined by SMCv2.1, GIDs of
virtual ISM device are UUIDs defined by RFC4122, which are 128-bits
long. So some adaptation work is required. And note that the GIDs of
existing platform firmware ISM devices still remain 64-bits long.

Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/s390/net/ism_drv.c
include/net/smc.h
net/smc/af_smc.c
net/smc/smc.h
net/smc/smc_clc.c
net/smc/smc_clc.h
net/smc/smc_core.c
net/smc/smc_core.h
net/smc/smc_diag.c
net/smc/smc_ism.c
net/smc/smc_ism.h
net/smc/smc_pnet.c