Home
last modified time | relevance | path

Searched refs:wr_id (Results 1 – 9 of 9) sorted by relevance

/net/smc/
Dsmc_wr.h67 u64 wr_id, temp_wr_id; in smc_wr_rx_post() local
70 wr_id = ++link->wr_rx_id; /* tasklet context, thus not atomic */ in smc_wr_rx_post()
71 temp_wr_id = wr_id; in smc_wr_rx_post()
73 link->wr_rx_ibs[index].wr_id = wr_id; in smc_wr_rx_post()
Dsmc_wr.c41 u64 wr_id; /* work request id sent */ member
53 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() argument
58 if (link->wr_tx_pends[i].wr_id == wr_id) in smc_wr_tx_find_pending_index()
82 pnd_snd_idx = smc_wr_tx_find_pending_index(link, wc->wr_id); in smc_wr_tx_process_cqe()
177 u64 wr_id; in smc_wr_tx_get_free_slot() local
200 wr_id = smc_wr_tx_get_next_wr_id(link); in smc_wr_tx_get_free_slot()
202 wr_pend->wr_id = wr_id; in smc_wr_tx_get_free_slot()
207 wr_ib->wr_id = wr_id; in smc_wr_tx_get_free_slot()
263 link->wr_reg.wr.wr_id = (u64)(uintptr_t)mr; in smc_wr_reg_send()
347 temp_wr_id = wc->wr_id; in smc_wr_rx_demultiplex()
Dsmc_tx.c275 rdma_wr->wr.wr_id = smc_wr_tx_get_next_wr_id(link); in smc_tx_rdma_write()
/net/rds/
Dib_ring.c156 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest) in rds_ib_ring_completed() argument
160 if (oldest <= (unsigned long long)wr_id) in rds_ib_ring_completed()
161 ret = (unsigned long long)wr_id - oldest + 1; in rds_ib_ring_completed()
163 ret = ring->w_nr - oldest + (unsigned long long)wr_id + 1; in rds_ib_ring_completed()
166 wr_id, oldest); in rds_ib_ring_completed()
Dib_frmr.c154 reg_wr.wr.wr_id = (unsigned long)(void *)ibmr; in rds_ib_post_reg_frmr()
288 s_wr->wr_id = (unsigned long)(void *)ibmr; in rds_ib_post_inv()
324 struct rds_ib_mr *ibmr = (void *)(unsigned long)wc->wr_id; in rds_ib_mr_cqe_handler()
Dib_send.c199 send->s_wr.wr_id = i; in rds_ib_send_init_ring()
253 (unsigned long long)wc->wr_id, wc->status, in rds_ib_send_cqe_handler()
258 if (wc->wr_id == RDS_IB_ACK_WR_ID) { in rds_ib_send_cqe_handler()
267 completed = rds_ib_ring_completed(&ic->i_send_ring, wc->wr_id, oldest); in rds_ib_send_cqe_handler()
Dib_cm.c302 (unsigned long long)wc->wr_id, wc->status, in poll_scq()
305 if (wc->wr_id <= ic->i_send_ring.w_nr || in poll_scq()
306 wc->wr_id == RDS_IB_ACK_WR_ID) in poll_scq()
347 (unsigned long long)wc->wr_id, wc->status, in poll_rcq()
Dib_recv.c59 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring()
586 wr->wr_id = RDS_IB_ACK_WR_ID; in rds_ib_recv_init_ack()
979 (unsigned long long)wc->wr_id, wc->status, in rds_ib_recv_cqe_handler()
Dib.h426 u32 rds_ib_ring_completed(struct rds_ib_work_ring *ring, u32 wr_id, u32 oldest);