Home
last modified time | relevance | path

Searched refs:tx_br (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/qlxgbe/
H A Dql_os.c1368 fp->tx_br = buf_ring_alloc(NUM_TX_DESCRIPTORS, M_DEVBUF, in qla_alloc_tx_br()
1370 if (fp->tx_br == NULL) { in qla_alloc_tx_br()
1385 if (fp->tx_br != NULL) { in qla_free_tx_br()
1388 while ((mp = drbr_dequeue(ifp, fp->tx_br)) != NULL) { in qla_free_tx_br()
1394 buf_ring_free(fp->tx_br, M_DEVBUF); in qla_free_tx_br()
1395 fp->tx_br = NULL; in qla_free_tx_br()
1443 mp = drbr_peek(ifp, fp->tx_br); in qla_fp_taskqueue()
1463 drbr_putback(ifp, fp->tx_br, mp); in qla_fp_taskqueue()
1465 drbr_advance(ifp, fp->tx_br); in qla_fp_taskqueue()
1472 drbr_advance(ifp, fp->tx_br); in qla_fp_taskqueue()
[all …]
H A Dql_def.h119 struct buf_ring *tx_br; member
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c549 if (!drbr_empty(ifp, fp->tx_br)) { in qlnx_fp_taskqueue()
2998 ret = drbr_enqueue(ifp, fp->tx_br, mp); in qlnx_transmit_locked()
3003 ret = drbr_enqueue(ifp, fp->tx_br, mp); in qlnx_transmit_locked()
3005 mp = drbr_peek(ifp, fp->tx_br); in qlnx_transmit_locked()
3010 drbr_putback(ifp, fp->tx_br, mp); in qlnx_transmit_locked()
3013 drbr_advance(ifp, fp->tx_br); in qlnx_transmit_locked()
3018 drbr_advance(ifp, fp->tx_br); in qlnx_transmit_locked()
3023 mp = drbr_peek(ifp, fp->tx_br); in qlnx_transmit_locked()
3055 if (fp->tx_br == NULL) { in qlnx_transmit()
3075 ret = drbr_enqueue(ifp, fp->tx_br, mp); in qlnx_transmit()
[all …]
H A Dqlnx_def.h186 struct buf_ring *tx_br; member
/freebsd/sys/dev/bxe/
H A Dbxe.c5626 struct buf_ring *tx_br = fp->tx_br; in bxe_tx_mq_start_locked() local
5640 if (!tx_br) { in bxe_tx_mq_start_locked()
5646 rc = drbr_enqueue(ifp, tx_br, m); in bxe_tx_mq_start_locked()
5659 depth = drbr_inuse(ifp, tx_br); in bxe_tx_mq_start_locked()
5665 while ((next = drbr_peek(ifp, tx_br)) != NULL) { in bxe_tx_mq_start_locked()
5675 drbr_advance(ifp, tx_br); in bxe_tx_mq_start_locked()
5695 drbr_putback(ifp, tx_br, next); in bxe_tx_mq_start_locked()
5699 drbr_advance(ifp, tx_br); in bxe_tx_mq_start_locked()
5711 drbr_advance(ifp, tx_br); in bxe_tx_mq_start_locked()
5722 if (!drbr_empty(ifp, tx_br)) { in bxe_tx_mq_start_locked()
[all …]