Lines Matching refs:rx_wr
702 struct ib_recv_wr *rx_wr; in isert_post_recvm() local
706 for (rx_wr = isert_conn->rx_wr, i = 0; i < count; i++, rx_wr++) { in isert_post_recvm()
709 rx_wr->wr_cqe = &rx_desc->rx_cqe; in isert_post_recvm()
710 rx_wr->sg_list = &rx_desc->rx_sg; in isert_post_recvm()
711 rx_wr->num_sge = 1; in isert_post_recvm()
712 rx_wr->next = rx_wr + 1; in isert_post_recvm()
715 rx_wr--; in isert_post_recvm()
716 rx_wr->next = NULL; /* mark end of work requests list */ in isert_post_recvm()
718 ret = ib_post_recv(isert_conn->qp, isert_conn->rx_wr, NULL); in isert_post_recvm()
728 struct ib_recv_wr rx_wr; in isert_post_recv() local
740 rx_wr.wr_cqe = &rx_desc->rx_cqe; in isert_post_recv()
741 rx_wr.sg_list = &rx_desc->rx_sg; in isert_post_recv()
742 rx_wr.num_sge = 1; in isert_post_recv()
743 rx_wr.next = NULL; in isert_post_recv()
745 ret = ib_post_recv(isert_conn->qp, &rx_wr, NULL); in isert_post_recv()
859 struct ib_recv_wr rx_wr; in isert_login_post_recv() local
874 memset(&rx_wr, 0, sizeof(struct ib_recv_wr)); in isert_login_post_recv()
875 rx_wr.wr_cqe = &isert_conn->login_desc->rx_cqe; in isert_login_post_recv()
876 rx_wr.sg_list = &sge; in isert_login_post_recv()
877 rx_wr.num_sge = 1; in isert_login_post_recv()
879 ret = ib_post_recv(isert_conn->qp, &rx_wr, NULL); in isert_login_post_recv()