Lines Matching refs:beacon
149 mtx_lock(&ib_conn->beacon.flush_lock);
151 cv_signal(&ib_conn->beacon.flush_cv);
152 mtx_unlock(&ib_conn->beacon.flush_lock);
675 mtx_lock(&ib_conn->beacon.flush_lock);
676 memset(&ib_conn->beacon.send, 0, sizeof(struct ib_send_wr));
677 ib_conn->beacon.send.wr_id = ISER_BEACON_WRID;
678 ib_conn->beacon.send.opcode = IB_WR_SEND;
680 err = ib_post_send(ib_conn->qp, &ib_conn->beacon.send, &bad_send_wr);
683 mtx_unlock(&ib_conn->beacon.flush_lock);
688 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock);
691 memset(&ib_conn->beacon.recv, 0, sizeof(struct ib_recv_wr));
692 ib_conn->beacon.recv.wr_id = ISER_BEACON_WRID;
694 err = ib_post_recv(ib_conn->qp, &ib_conn->beacon.recv, &bad_recv_wr);
697 mtx_unlock(&ib_conn->beacon.flush_lock);
702 cv_wait(&ib_conn->beacon.flush_cv, &ib_conn->beacon.flush_lock);
703 mtx_unlock(&ib_conn->beacon.flush_lock);