Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcq.c243 struct t4_swsqe *swsqe; in c4iw_flush_sq() local
250 swsqe = &wq->sq.sw_sq[idx]; in c4iw_flush_sq()
251 BUG_ON(swsqe->flushed); in c4iw_flush_sq()
252 swsqe->flushed = 1; in c4iw_flush_sq()
253 insert_sq_cqe(wq, cq, swsqe); in c4iw_flush_sq()
254 if (wq->sq.oldest_read == swsqe) { in c4iw_flush_sq()
255 BUG_ON(swsqe->opcode != FW_RI_READ_REQ); in c4iw_flush_sq()
270 struct t4_swsqe *swsqe; in flush_completed_wrs() local
279 swsqe = &wq->sq.sw_sq[cidx]; in flush_completed_wrs()
280 if (!swsqe->signaled) { in flush_completed_wrs()
[all …]
Dqp.c749 struct t4_swsqe *swsqe; in c4iw_post_send() local
778 swsqe = &qhp->wq.sq.sw_sq[qhp->wq.sq.pidx]; in c4iw_post_send()
786 swsqe->opcode = FW_RI_SEND; in c4iw_post_send()
788 swsqe->opcode = FW_RI_SEND_WITH_INV; in c4iw_post_send()
793 swsqe->opcode = FW_RI_RDMA_WRITE; in c4iw_post_send()
799 swsqe->opcode = FW_RI_READ_REQ; in c4iw_post_send()
807 swsqe->read_len = wr->sg_list[0].length; in c4iw_post_send()
809 qhp->wq.sq.oldest_read = swsqe; in c4iw_post_send()
813 swsqe->opcode = FW_RI_FAST_REGISTER; in c4iw_post_send()
823 swsqe->opcode = FW_RI_LOCAL_INV; in c4iw_post_send()
[all …]