History

net/smc: add SMC-D diag support

This patch adds diag support for SMC-D.

Hans Wippel committed 8 years ago

Commit 4b1b7d31 parent 41349842 files · +25 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/smc_diag.h+10−0
@@ -35,6 +35,7 @@ enum { · 34 unmodified lines
35 SMC_DIAG_CONNINFO,35 SMC_DIAG_CONNINFO,
36 SMC_DIAG_LGRINFO,36 SMC_DIAG_LGRINFO,
37 SMC_DIAG_SHUTDOWN,37 SMC_DIAG_SHUTDOWN,
38 SMC_DIAG_DMBINFO,
38 __SMC_DIAG_MAX,39 __SMC_DIAG_MAX,
39};40};
40 41
@@ -83,4 +84,13 @@ struct smc_diag_lgrinfo { · 42 unmodified lines
83 struct smc_diag_linkinfo lnk[1];84 struct smc_diag_linkinfo lnk[1];
84 __u8 role;85 __u8 role;
85};86};
87
88struct smcd_diag_dmbinfo { /* SMC-D Socket internals */
89 __u32 linkid; /* Link identifier */
90 __u64 peer_gid; /* Peer GID */
91 __u64 my_gid; /* My GID */
92 __u64 token; /* Token of DMB */
93 __u64 peer_token; /* Token of remote DMBE */
94};
95
86#endif /* _UAPI_SMC_DIAG_H_ */96#endif /* _UAPI_SMC_DIAG_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t