Lines Matching defs:smc_connection

150 struct smc_connection {  struct
151 struct rb_node alert_node;
152 struct smc_link_group *lgr; /* link group of connection */
153 struct smc_link *lnk; /* assigned SMC-R link */
154 u32 alert_token_local; /* unique conn. id */
155 u8 peer_rmbe_idx; /* from tcp handshake */
156 int peer_rmbe_size; /* size of peer rx buffer */
157 atomic_t peer_rmbe_space;/* remaining free bytes in peer
160 int rtoken_idx; /* idx to peer RMB rkey/addr */
162 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */
163 struct smc_buf_desc *rmb_desc; /* RMBE descriptor */
164 int rmbe_size_short;/* compressed notation */
165 int rmbe_update_limit;
170 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
175 union smc_host_cursor local_tx_ctrl_fin;
178 union smc_host_cursor tx_curs_prep; /* tx - prepared data
181 union smc_host_cursor tx_curs_sent; /* tx - sent data
184 union smc_host_cursor tx_curs_fin; /* tx - confirmed by peer
187 atomic_t sndbuf_space; /* remaining space in sndbuf */
188 u16 tx_cdc_seq; /* sequence # for CDC send */
189 u16 tx_cdc_seq_fin; /* sequence # - tx completed */
190 spinlock_t send_lock; /* protect wr_sends */
191 atomic_t cdc_pend_tx_wr; /* number of pending tx CDC wqe
195 wait_queue_head_t cdc_pend_tx_wq; /* wakeup on no cdc_pend_tx_wr*/
196 atomic_t tx_pushing; /* nr_threads trying tx push */
197 struct delayed_work tx_work; /* retry of smc_cdc_msg_send */
198 u32 tx_off; /* base offset in peer rmb */
200 struct smc_host_cdc_msg local_rx_ctrl; /* filled during event_handl.
204 union smc_host_cursor rx_curs_confirmed; /* confirmed to peer
207 union smc_host_cursor urg_curs; /* points at urgent byte */
208 enum smc_urg_state urg_state;
209 bool urg_tx_pend; /* urgent data staged */
210 bool urg_rx_skip_pend;
215 char urg_rx_byte; /* urgent byte */
216 bool tx_in_release_sock;
220 atomic_t bytes_to_rcv; /* arrived data,
223 atomic_t splice_pending; /* number of spliced bytes
227 spinlock_t acurs_lock; /* protect cursors */
252 struct smc_connection conn; /* smc connection */ argument