Lines Matching refs:tx_ring
188 static void igc_tx_common_locked(struct ifnet *, struct tx_ring *, int);
189 static bool igc_txeof(struct tx_ring *, u_int);
210 static bool igc_tx_ctx_setup(struct tx_ring *, struct mbuf *, int,
226 static int igc_allocate_transmit_buffers(struct tx_ring *);
228 static int igc_setup_transmit_ring(struct tx_ring *);
231 static void igc_free_transmit_buffers(struct tx_ring *);
232 static void igc_withdraw_transmit_packets(struct tx_ring *, bool);
269 igc_txdesc_sync(struct tx_ring *txr, int id, int ops)
649 kmem_zalloc(sc->sc_nqueues * sizeof(struct tx_ring), KM_SLEEP);
657 struct tx_ring *txr = &sc->tx_rings[iq];
724 for (struct tx_ring *txr = sc->tx_rings; txconf > 0; txr++, txconf--)
729 kmem_free(sc->tx_rings, sc->sc_nqueues * sizeof(struct tx_ring));
775 struct tx_ring *txr = &sc->tx_rings[iq];
781 kmem_free(sc->tx_rings, sc->sc_nqueues * sizeof(struct tx_ring));
1635 struct tx_ring *txr = &sc->tx_rings[0]; /* queue 0 */
1654 struct tx_ring *txr = &sc->tx_rings[qid];
1671 igc_tx_common_locked(struct ifnet *ifp, struct tx_ring *txr, int caller)
1780 igc_txeof(struct tx_ring *txr, u_int limit)
1912 struct tx_ring *txr = &sc->tx_rings[iq];
2758 struct tx_ring *txr = iq->txr;
2792 struct tx_ring *txr = iq->txr;
2862 struct tx_ring *txr = iq->txr;
2938 igc_allocate_transmit_buffers(struct tx_ring *txr)
2979 struct tx_ring *txr = &sc->tx_rings[iq];
2997 igc_setup_transmit_ring(struct tx_ring *txr)
3037 struct tx_ring *txr = &sc->tx_rings[iq];
3085 struct tx_ring *txr = &sc->tx_rings[iq];
3097 igc_free_transmit_buffers(struct tx_ring *txr)
3121 igc_withdraw_transmit_packets(struct tx_ring *txr, bool destroy)
3176 igc_tx_ctx_setup(struct tx_ring *txr, struct mbuf *mp, int prod,