Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_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()
H A Dadapter.h480 u_int udb_qid; /* relative qid within the doorbell page */ member
820 u_int udb_qid; member
H A Dt4_sge.c4490 eq->udb_qid = eq->cntxt_id & mask; /* id in page */ in alloc_eq_hwq()
4491 if (eq->udb_qid >= PAGE_SIZE / UDBS_SEG_SIZE) in alloc_eq_hwq()
4494 udb += eq->udb_qid << UDBS_SEG_SHIFT; /* seg offset */ in alloc_eq_hwq()
4495 eq->udb_qid = 0; in alloc_eq_hwq()
6144 *eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n)); in ring_eq_db()
6156 KASSERT(eq->udb_qid == 0 && n == 1, in ring_eq_db()
6171 *eq->udb = htole32(V_QID(eq->udb_qid) | V_PIDX(n)); in ring_eq_db()