Lines Matching +full:byte +full:- +full:order
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
28 #define SMC_MAX_ISM_DEVS 8 /* max # of proposed non-native ISM
97 /* in host byte order */
98 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */
111 /* in host byte order, except for flag bitfields in network byte order */
135 struct smc_link *lnk; /* assigned SMC-R link */
152 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
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 */
174 * - inc when post wqe,
175 * - dec on polled tx cqe
188 union smc_host_cursor urg_curs; /* points at urgent byte */
196 char urg_rx_byte; /* urgent byte */
208 struct tasklet_struct rx_tsklet; /* Receiver tasklet for SMC-D */
210 * 0 for SMC-R, 32 for SMC-D
212 u64 peer_token; /* SMC-D token of peer */
224 struct work_struct connect_work; /* handle non-blocking connect*/
242 /* non-blocking connect in
266 /* convert an u32 value into network byte order, store it into a 3 byte field */
275 /* convert a received 3 byte field into host byte order*/
287 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec()
288 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()
302 set_bit(flag, &sk->sk_flags); in smc_sock_set_flag()