Lines Matching refs:wr_id
460 static struct ib_recv_wr wr = { .wr_id = SRP_LAST_WR_ID }; in srp_destroy_qp()
1049 .wr_id = LOCAL_INV_WR_ID_MASK, in srp_inv_rkey()
1354 wr.wr.wr_id = FAST_REG_WR_ID_MASK; in srp_map_finish_fr()
1753 wr.wr_id = (uintptr_t) iu; in srp_post_send()
1773 wr.wr_id = (uintptr_t) iu; in srp_post_recv()
1909 struct srp_iu *iu = (struct srp_iu *) (uintptr_t) wc->wr_id; in srp_handle_recv()
1975 static void srp_handle_qp_err(u64 wr_id, enum ib_wc_status wc_status, in srp_handle_qp_err() argument
1980 if (wr_id == SRP_LAST_WR_ID) { in srp_handle_qp_err()
1986 if (wr_id & LOCAL_INV_WR_ID_MASK) { in srp_handle_qp_err()
1990 } else if (wr_id & FAST_REG_WR_ID_MASK) { in srp_handle_qp_err()
1999 (void *)(uintptr_t)wr_id); in srp_handle_qp_err()
2016 srp_handle_qp_err(wc.wr_id, wc.status, false, ch); in srp_recv_completion()
2029 iu = (struct srp_iu *) (uintptr_t) wc.wr_id; in srp_send_completion()
2032 srp_handle_qp_err(wc.wr_id, wc.status, true, ch); in srp_send_completion()
3590 BUILD_BUG_ON(FIELD_SIZEOF(struct ib_wc, wr_id) < sizeof(void *)); in srp_init_module()