Lines Matching defs:smc_connection
121 struct smc_connection { struct
122 struct rb_node alert_node;
123 struct smc_link_group *lgr; /* link group of connection */
124 u32 alert_token_local; /* unique conn. id */
125 u8 peer_rmbe_idx; /* from tcp handshake */
126 int peer_rmbe_size; /* size of peer rx buffer */
127 atomic_t peer_rmbe_space;/* remaining free bytes in peer
130 int rtoken_idx; /* idx to peer RMB rkey/addr */
132 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */
133 struct smc_buf_desc *rmb_desc; /* RMBE descriptor */
134 int rmbe_size_short;/* compressed notation */
135 int rmbe_update_limit;
140 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
145 union smc_host_cursor tx_curs_prep; /* tx - prepared data
148 union smc_host_cursor tx_curs_sent; /* tx - sent data
151 union smc_host_cursor tx_curs_fin; /* tx - confirmed by peer
154 atomic_t sndbuf_space; /* remaining space in sndbuf */
155 u16 tx_cdc_seq; /* sequence # for CDC send */
156 spinlock_t send_lock; /* protect wr_sends */
157 struct delayed_work tx_work; /* retry of smc_cdc_msg_send */
158 u32 tx_off; /* base offset in peer rmb */
160 struct smc_host_cdc_msg local_rx_ctrl; /* filled during event_handl.
164 union smc_host_cursor rx_curs_confirmed; /* confirmed to peer
167 union smc_host_cursor urg_curs; /* points at urgent byte */
168 enum smc_urg_state urg_state;
169 bool urg_tx_pend; /* urgent data staged */
170 bool urg_rx_skip_pend;
175 char urg_rx_byte; /* urgent byte */
176 atomic_t bytes_to_rcv; /* arrived data,
202 struct smc_connection conn; /* smc connection */ argument