Home
last modified time | relevance | path

Searched refs:tx_cp_rings (Results 1 – 4 of 4) sorted by relevance

/freebsd-13-stable/sys/dev/bnxt/
HDif_bnxt.c396 softc->tx_cp_rings = malloc(sizeof(struct bnxt_cp_ring) * ntxqsets, in bnxt_tx_queues_alloc()
398 if (!softc->tx_cp_rings) { in bnxt_tx_queues_alloc()
424 softc->tx_cp_rings[i].stats_ctx_id = HWRM_NA_SIGNATURE; in bnxt_tx_queues_alloc()
425 softc->tx_cp_rings[i].ring.phys_id = in bnxt_tx_queues_alloc()
427 softc->tx_cp_rings[i].ring.softc = softc; in bnxt_tx_queues_alloc()
428 softc->tx_cp_rings[i].ring.idx = i; in bnxt_tx_queues_alloc()
429 softc->tx_cp_rings[i].ring.id = in bnxt_tx_queues_alloc()
431 softc->tx_cp_rings[i].ring.doorbell = (BNXT_CHIP_P5(softc)) ? in bnxt_tx_queues_alloc()
432 DB_PF_OFFSET_P5: softc->tx_cp_rings[i].ring.id * 0x80; in bnxt_tx_queues_alloc()
433 softc->tx_cp_rings[i].ring.ring_size = in bnxt_tx_queues_alloc()
[all …]
HDbnxt.h721 struct bnxt_cp_ring *tx_cp_rings; member
HDbnxt_txrx.c189 struct bnxt_cp_ring *cpr = &softc->tx_cp_rings[txqid]; in bnxt_isc_txd_credits_update()
HDbnxt_hwrm.c1262 cp_ring = &softc->tx_cp_rings[idx]; in bnxt_hwrm_ring_alloc()