• Home
  • Raw
  • Download

Lines Matching defs:smc_connection

132 struct smc_connection {  struct
133 struct rb_node alert_node;
134 struct smc_link_group *lgr; /* link group of connection */
135 struct smc_link *lnk; /* assigned SMC-R link */
136 u32 alert_token_local; /* unique conn. id */
137 u8 peer_rmbe_idx; /* from tcp handshake */
138 int peer_rmbe_size; /* size of peer rx buffer */
139 atomic_t peer_rmbe_space;/* remaining free bytes in peer
142 int rtoken_idx; /* idx to peer RMB rkey/addr */
144 struct smc_buf_desc *sndbuf_desc; /* send buffer descriptor */
145 struct smc_buf_desc *rmb_desc; /* RMBE descriptor */
146 int rmbe_size_short;/* compressed notation */
147 int rmbe_update_limit;
152 struct smc_host_cdc_msg local_tx_ctrl; /* host byte order staging
157 union smc_host_cursor local_tx_ctrl_fin;
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
169 atomic_t sndbuf_space; /* remaining space in sndbuf */
170 u16 tx_cdc_seq; /* sequence # for CDC send */
171 u16 tx_cdc_seq_fin; /* sequence # - tx completed */
172 spinlock_t send_lock; /* protect wr_sends */
173 atomic_t cdc_pend_tx_wr; /* number of pending tx CDC wqe
177 wait_queue_head_t cdc_pend_tx_wq; /* wakeup on no cdc_pend_tx_wr*/
178 struct delayed_work tx_work; /* retry of smc_cdc_msg_send */
179 u32 tx_off; /* base offset in peer rmb */
181 struct smc_host_cdc_msg local_rx_ctrl; /* filled during event_handl.
185 union smc_host_cursor rx_curs_confirmed; /* confirmed to peer
188 union smc_host_cursor urg_curs; /* points at urgent byte */
189 enum smc_urg_state urg_state;
190 bool urg_tx_pend; /* urgent data staged */
191 bool urg_rx_skip_pend;
196 char urg_rx_byte; /* urgent byte */
197 atomic_t bytes_to_rcv; /* arrived data,
222 struct smc_connection conn; /* smc connection */ argument