Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_qp.c1086 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq, in hns_roce_wq_overflow() argument
1092 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1093 if (likely(cur + nreq < hr_wq->max_post)) in hns_roce_wq_overflow()
1098 cur = hr_wq->head - hr_wq->tail; in hns_roce_wq_overflow()
1101 return cur + nreq >= hr_wq->max_post; in hns_roce_wq_overflow()
Dhns_roce_device.h993 bool hns_roce_wq_overflow(struct hns_roce_wq *hr_wq, int nreq,