Lines Matching +full:byte +full:- +full:order
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
114 /* in host byte order */
115 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */
128 /* in host byte order, except for flag bitfields in network byte order */
158 struct smc_link *lnk; /* assigned SMC-R link */
175 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
181 /* prod crsr - confirmed by peer
183 union smc_host_cursor tx_curs_prep; /* tx - prepared data
186 union smc_host_cursor tx_curs_sent; /* tx - sent data
189 union smc_host_cursor tx_curs_fin; /* tx - confirmed by peer
190 * snd-wnd-begin ?
194 u16 tx_cdc_seq_fin; /* sequence # - tx completed */
197 * - inc when post wqe,
198 * - dec on polled tx cqe
212 union smc_host_cursor urg_curs; /* points at urgent byte */
220 char urg_rx_byte; /* urgent byte */
236 struct tasklet_struct rx_tsklet; /* Receiver tasklet for SMC-D */
238 * 0 for SMC-R, 32 for SMC-D
240 u64 peer_token; /* SMC-D token of peer */
259 struct work_struct connect_work; /* handle non-blocking connect*/
282 /* non-blocking connect in
295 smc->clcsk_state_change = NULL; in smc_init_saved_callbacks()
296 smc->clcsk_data_ready = NULL; in smc_init_saved_callbacks()
297 smc->clcsk_write_space = NULL; in smc_init_saved_callbacks()
298 smc->clcsk_error_report = NULL; in smc_init_saved_callbacks()
304 ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY); in smc_clcsock_user_data()
338 /* convert an u32 value into network byte order, store it into a 3 byte field */
347 /* convert a received 3 byte field into host byte order*/
359 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec()
360 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()
384 set_bit(flag, &sk->sk_flags); in smc_sock_set_flag()