Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/bnxt/
HDif_bnxt.c436 free(softc->rx_cp_rings, M_DEVBUF); in bnxt_queues_free()
449 softc->rx_cp_rings = malloc(sizeof(struct bnxt_cp_ring) * nrxqsets, in bnxt_rx_queues_alloc()
451 if (!softc->rx_cp_rings) { in bnxt_rx_queues_alloc()
518 softc->rx_cp_rings[i].stats_ctx_id = HWRM_NA_SIGNATURE; in bnxt_rx_queues_alloc()
519 softc->rx_cp_rings[i].ring.phys_id = in bnxt_rx_queues_alloc()
521 softc->rx_cp_rings[i].ring.softc = softc; in bnxt_rx_queues_alloc()
522 softc->rx_cp_rings[i].ring.id = i + 1; in bnxt_rx_queues_alloc()
523 softc->rx_cp_rings[i].ring.doorbell = in bnxt_rx_queues_alloc()
524 softc->rx_cp_rings[i].ring.id * 0x80; in bnxt_rx_queues_alloc()
528 softc->rx_cp_rings[i].ring.ring_size = in bnxt_rx_queues_alloc()
[all …]
HDbnxt_txrx.c318 if (softc->rx_cp_rings[rxqid].cons != UINT32_MAX) in bnxt_isc_rxd_flush()
319 BNXT_CP_IDX_DISABLE_DB(&softc->rx_cp_rings[rxqid].ring, in bnxt_isc_rxd_flush()
320 softc->rx_cp_rings[rxqid].cons); in bnxt_isc_rxd_flush()
332 struct bnxt_cp_ring *cpr = &softc->rx_cp_rings[rxqid]; in bnxt_isc_rxd_available()
620 struct bnxt_cp_ring *cpr = &softc->rx_cp_rings[ri->iri_qsidx]; in bnxt_isc_rxd_pkt_get()
HDbnxt.h607 struct bnxt_cp_ring *rx_cp_rings; member