Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1460 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, u32 nreq, in hns_roce_wq_overflow()
1466 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1467 if (likely(cur + nreq < hr_wq->wqe_cnt)) in hns_roce_wq_overflow()
1472 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1475 return cur + nreq >= hr_wq->wqe_cnt;
1458 hns_roce_wq_overflow(struct hns_roce_wq * hr_wq,u32 nreq,struct ib_cq * ib_cq) hns_roce_wq_overflow() argument
H A Dhns_roce_device.h1215 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, u32 nreq,