Lines Matching refs:rx_wr
981 struct ib_recv_wr *rx_wr, *rx_wr_failed; in isert_post_recvm() local
985 for (rx_wr = isert_conn->rx_wr, i = 0; i < count; i++, rx_wr++) { in isert_post_recvm()
987 rx_wr->wr_id = (uintptr_t)rx_desc; in isert_post_recvm()
988 rx_wr->sg_list = &rx_desc->rx_sg; in isert_post_recvm()
989 rx_wr->num_sge = 1; in isert_post_recvm()
990 rx_wr->next = rx_wr + 1; in isert_post_recvm()
992 rx_wr--; in isert_post_recvm()
993 rx_wr->next = NULL; /* mark end of work requests list */ in isert_post_recvm()
995 ret = ib_post_recv(isert_conn->qp, isert_conn->rx_wr, in isert_post_recvm()
1006 struct ib_recv_wr *rx_wr_failed, rx_wr; in isert_post_recv() local
1009 rx_wr.wr_id = (uintptr_t)rx_desc; in isert_post_recv()
1010 rx_wr.sg_list = &rx_desc->rx_sg; in isert_post_recv()
1011 rx_wr.num_sge = 1; in isert_post_recv()
1012 rx_wr.next = NULL; in isert_post_recv()
1014 ret = ib_post_recv(isert_conn->qp, &rx_wr, &rx_wr_failed); in isert_post_recv()
1112 struct ib_recv_wr rx_wr, *rx_wr_fail; in isert_rdma_post_recvl() local
1124 memset(&rx_wr, 0, sizeof(struct ib_recv_wr)); in isert_rdma_post_recvl()
1125 rx_wr.wr_id = (uintptr_t)isert_conn->login_req_buf; in isert_rdma_post_recvl()
1126 rx_wr.sg_list = &sge; in isert_rdma_post_recvl()
1127 rx_wr.num_sge = 1; in isert_rdma_post_recvl()
1129 ret = ib_post_recv(isert_conn->qp, &rx_wr, &rx_wr_fail); in isert_rdma_post_recvl()