Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c406 if (softc->nq_rings) in bnxt_nq_alloc()
409 softc->nq_rings = malloc(sizeof(struct bnxt_cp_ring) * nqsets, in bnxt_nq_alloc()
417 if (softc->nq_rings) in bnxt_nq_free()
418 free(softc->nq_rings, M_DEVBUF); in bnxt_nq_free()
419 softc->nq_rings = NULL; in bnxt_nq_free()
439 if (!softc->nq_rings) { in bnxt_tx_queues_alloc()
505 softc->nq_rings[i].stats_ctx_id = HWRM_NA_SIGNATURE; in bnxt_tx_queues_alloc()
506 softc->nq_rings[i].ring.phys_id = in bnxt_tx_queues_alloc()
508 softc->nq_rings[i].ring.softc = softc; in bnxt_tx_queues_alloc()
509 softc->nq_rings[i].ring.idx = i; in bnxt_tx_queues_alloc()
[all …]
H A Dbnxt.h1074 struct bnxt_cp_ring *nq_rings; member
H A Dbnxt_hwrm.c1742 req.nq_ring_id = htole16(softc->nq_rings[idx].ring.phys_id); in bnxt_hwrm_ring_alloc()
2179 req.async_event_cr = htole16(softc->nq_rings[0].ring.phys_id); in bnxt_cfg_async_cr()
H A Dbnxt_sysctl.c1007 "nq_num_ints", CTLFLAG_RD, &softc->nq_rings[rxr].int_count, in bnxt_create_rx_sysctls()