Home
last modified time | relevance | path

Searched refs:udb_qid (Results 1 – 3 of 3) sorted by relevance

/freebsd-13-stable/sys/dev/cxgbe/
HDt4_netmap.c469 nm_txq->udb_qid = nm_txq->cntxt_id & mask; in alloc_nm_txq_hwq()
470 if (nm_txq->udb_qid >= PAGE_SIZE / UDBS_SEG_SIZE) in alloc_nm_txq_hwq()
473 udb += nm_txq->udb_qid << UDBS_SEG_SHIFT; in alloc_nm_txq_hwq()
474 nm_txq->udb_qid = 0; in alloc_nm_txq_hwq()
924 *nm_txq->udb = htole32(V_QID(nm_txq->udb_qid) | V_PIDX(n)); in ring_nm_txq_db()
935 KASSERT(nm_txq->udb_qid == 0 && n == 1, in ring_nm_txq_db()
949 *nm_txq->udb = htole32(V_QID(nm_txq->udb_qid) | V_PIDX(n)); in ring_nm_txq_db()
HDadapter.h484 u_int udb_qid; /* relative qid within the doorbell page */ member
820 u_int udb_qid; member
HDt4_sge.c4536 eq->udb_qid = eq->cntxt_id & mask; /* id in page */ in alloc_eq_hwq()
4537 if (eq->udb_qid >= PAGE_SIZE / UDBS_SEG_SIZE) in alloc_eq_hwq()
4540 udb += eq->udb_qid << UDBS_SEG_SHIFT; /* seg offset */ in alloc_eq_hwq()
4541 eq->udb_qid = 0; in alloc_eq_hwq()
6186 *eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n)); in ring_eq_db()
6198 KASSERT(eq->udb_qid == 0 && n == 1, in ring_eq_db()
6213 *eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n)); in ring_eq_db()