net/smc: support extended GID in SMC-D lgr netlink attribute
authorWen Gu <guwen@linux.alibaba.com>
Tue, 19 Dec 2023 14:26:14 +0000 (22:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Dec 2023 20:24:33 +0000 (20:24 +0000)
commit01fd1617dbc6f558efd1811f2bc433659d1e8304
tree672054b585666bf9da063f9b22e762cec6378b9f
parentb40584d145700addc70cc29e4f0850a4ed955b1c
net/smc: support extended GID in SMC-D lgr netlink attribute

Virtual ISM devices introduced in SMCv2.1 requires a 128 bit extended
GID vs. the existing ISM 64bit GID. So the 2nd 64 bit of extended GID
should be included in SMC-D linkgroup netlink attribute as well.

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