Lines Matching +full:byte +full:- +full:order
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
32 #define SMC_MAX_ISM_DEVS 8 /* max # of proposed non-native ISM
112 /* in host byte order */
113 union smc_host_cursor { /* SMC cursor - an offset in an RMBE */
126 /* in host byte order, except for flag bitfields in network byte order */
156 struct smc_link *lnk; /* assigned SMC-R link */
173 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
179 /* prod crsr - confirmed by peer
181 union smc_host_cursor tx_curs_prep; /* tx - prepared data
184 union smc_host_cursor tx_curs_sent; /* tx - sent data
187 union smc_host_cursor tx_curs_fin; /* tx - confirmed by peer
188 * snd-wnd-begin ?
192 u16 tx_cdc_seq_fin; /* sequence # - tx completed */
195 * - inc when post wqe,
196 * - dec on polled tx cqe
210 union smc_host_cursor urg_curs; /* points at urgent byte */
218 char urg_rx_byte; /* urgent byte */
234 struct tasklet_struct rx_tsklet; /* Receiver tasklet for SMC-D */
236 * 0 for SMC-R, 32 for SMC-D
238 u64 peer_token; /* SMC-D token of peer */
257 struct work_struct connect_work; /* handle non-blocking connect*/
280 /* non-blocking connect in
293 smc->clcsk_state_change = NULL; in smc_init_saved_callbacks()
294 smc->clcsk_data_ready = NULL; in smc_init_saved_callbacks()
295 smc->clcsk_write_space = NULL; in smc_init_saved_callbacks()
296 smc->clcsk_error_report = NULL; in smc_init_saved_callbacks()
302 ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY); in smc_clcsock_user_data()
336 /* convert an u32 value into network byte order, store it into a 3 byte field */
345 /* convert a received 3 byte field into host byte order*/
357 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec()
358 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()