Lines Matching refs:tx_rings
248 na->tx_rings[r].tx_pool = NULL;
250 na->tx_rings[r].tx_pool = malloc(na->num_tx_desc * sizeof(struct mbuf *),
252 if (!na->tx_rings[r].tx_pool) {
258 na->tx_rings[r].tx_pool[i] = NULL;
266 na->tx_rings[r].tx_pool[i] = m;
295 } else if (na->tx_rings[0].tx_pool) {
298 If it was not, na->tx_rings[0].tx_pool was set to NULL by the
324 m_freem(na->tx_rings[r].tx_pool[i]);
326 free(na->tx_rings[r].tx_pool, M_DEVBUF);
350 if (na->tx_rings[r].tx_pool == NULL)
353 if (na->tx_rings[r].tx_pool[i])
354 m_freem(na->tx_rings[r].tx_pool[i]);
355 free(na->tx_rings[r].tx_pool, M_DEVBUF);
356 na->tx_rings[r].tx_pool = NULL;
501 struct netmap_kring *kring = &na->tx_rings[ring_nr];