Lines Matching +full:smc +full:- +full:id

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
5 * Definitions for the SMC module (socket related)
21 #define SMC_V1 1 /* SMC version V1 */
22 #define SMC_V2 2 /* SMC version V2 */
25 #define SMCPROTO_SMC 0 /* SMC protocol, IPv4 */
26 #define SMCPROTO_SMC6 1 /* SMC protocol, IPv6 */
28 #define SMC_MAX_ISM_DEVS 8 /* max # of proposed non-native ISM
42 enum smc_state { /* possible states of an SMC socket */
98 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */
135 struct smc_link *lnk; /* assigned SMC-R link */
136 u32 alert_token_local; /* unique conn. id */
158 /* prod crsr - confirmed by peer
160 union smc_host_cursor tx_curs_prep; /* tx - prepared data
163 union smc_host_cursor tx_curs_sent; /* tx - sent data
166 union smc_host_cursor tx_curs_fin; /* tx - confirmed by peer
167 * snd-wnd-begin ?
171 u16 tx_cdc_seq_fin; /* sequence # - tx completed */
203 struct tasklet_struct rx_tsklet; /* Receiver tasklet for SMC-D */
205 * 0 for SMC-R, 32 for SMC-D
207 u64 peer_token; /* SMC-D token of peer */
212 struct smc_sock { /* smc sock container */
217 struct smc_connection conn; /* smc connection */
219 struct work_struct connect_work; /* handle non-blocking connect*/
237 /* non-blocking connect in
280 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec() argument
282 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec()
283 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()
286 static inline bool using_ipsec(struct smc_sock *smc) in using_ipsec() argument