summaryrefslogtreecommitdiff
path: root/include/uapi/linux/smc_diag.h
diff options
context:
space:
mode:
authorWen Gu <guwen@linux.alibaba.com>2023-12-19 17:26:14 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-26 23:24:33 +0300
commit01fd1617dbc6f558efd1811f2bc433659d1e8304 (patch)
tree672054b585666bf9da063f9b22e762cec6378b9f /include/uapi/linux/smc_diag.h
parentb40584d145700addc70cc29e4f0850a4ed955b1c (diff)
downloadlinux-01fd1617dbc6f558efd1811f2bc433659d1e8304.tar.xz
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>
Diffstat (limited to 'include/uapi/linux/smc_diag.h')
-rw-r--r--include/uapi/linux/smc_diag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/smc_diag.h b/include/uapi/linux/smc_diag.h
index 8cb3a6fef553..58eceb7f5df2 100644
--- a/include/uapi/linux/smc_diag.h
+++ b/include/uapi/linux/smc_diag.h
@@ -107,6 +107,8 @@ struct smcd_diag_dmbinfo { /* SMC-D Socket internals */
__aligned_u64 my_gid; /* My GID */
__aligned_u64 token; /* Token of DMB */
__aligned_u64 peer_token; /* Token of remote DMBE */
+ __aligned_u64 peer_gid_ext; /* Peer GID (extended part) */
+ __aligned_u64 my_gid_ext; /* My GID (extended part) */
};
#endif /* _UAPI_SMC_DIAG_H_ */