Home
last modified time | relevance | path

Searched refs:swsqe (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dcq.c246 struct t4_swsqe *swsqe; in c4iw_flush_sq() local
252 swsqe = &wq->sq.sw_sq[idx]; in c4iw_flush_sq()
253 swsqe->flushed = 1; in c4iw_flush_sq()
254 insert_sq_cqe(wq, cq, swsqe); in c4iw_flush_sq()
255 if (wq->sq.oldest_read == swsqe) { in c4iw_flush_sq()
270 struct t4_swsqe *swsqe; in flush_completed_wrs() local
278 swsqe = &wq->sq.sw_sq[cidx]; in flush_completed_wrs()
279 if (!swsqe->signaled) { in flush_completed_wrs()
282 } else if (swsqe->complete) { in flush_completed_wrs()
289 swsqe->cqe.header |= htonl(CQE_SWCQE_V(1)); in flush_completed_wrs()
[all …]
Dqp.c691 struct t4_swsqe *swsqe; in post_write_cmpl() local
706 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; in post_write_cmpl()
707 swsqe->opcode = FW_RI_RDMA_WRITE; in post_write_cmpl()
708 swsqe->idx = qhp->wq.sq.pidx; in post_write_cmpl()
709 swsqe->complete = 0; in post_write_cmpl()
710 swsqe->signaled = write_signaled; in post_write_cmpl()
711 swsqe->flushed = 0; in post_write_cmpl()
712 swsqe->wr_id = wr->wr_id; in post_write_cmpl()
714 swsqe->sge_ts = in post_write_cmpl()
716 swsqe->host_time = ktime_get(); in post_write_cmpl()
[all …]