Searched refs:tx_rings (Results 1 - 21 of 21) sorted by relevance

/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_pipe.c184 struct netmap_kring *txkring = na->tx_rings + ring_nr,
344 na->tx_rings[i].save_ring = na->tx_rings[i].ring;
358 ona->tx_rings[i].save_ring = ona->tx_rings[i].ring;
364 na->tx_rings[i].pipe = pna->peer->up.rx_rings + i;
365 na->rx_rings[i].pipe = pna->peer->up.tx_rings + i;
366 pna->peer->up.tx_rings[i].pipe = na->rx_rings + i;
367 pna->peer->up.rx_rings[i].pipe = na->tx_rings + i;
375 na->tx_rings[
[all...]
H A Dnetmap_generic.c248 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[
[all...]
H A Dif_em_netmap.h48 struct tx_ring *txr = adapter->tx_rings;
69 struct tx_ring *txr = adapter->tx_rings;
119 struct netmap_kring *kring = &na->tx_rings[ring_nr];
131 struct tx_ring *txr = &adapter->tx_rings[ring_nr];
H A Dnetmap.c290 netmap_disable_ring(na->tx_rings + i);
292 na->tx_rings[i].nkr_stopped = 0;
472 * na->tx_rings ----->| | \
505 na->tx_rings = malloc((size_t)len, M_DEVBUF, M_NOWAIT | M_ZERO);
506 if (na->tx_rings == NULL) {
510 na->rx_rings = na->tx_rings + ntx;
518 kring = &na->tx_rings[i];
573 struct netmap_kring *kring = na->tx_rings;
579 free(na->tx_rings, M_DEVBUF);
580 na->tx_rings
[all...]
H A Dnetmap_vale.c343 kring = na->tx_rings;
370 kring = na->tx_rings;
1504 struct netmap_kring *kring = &na->up.tx_rings[ring_nr];
1740 kring = tx == NR_TX ? na->tx_rings : na->rx_rings;
1741 bkring = tx == NR_TX ? vpna->up.rx_rings : vpna->up.tx_rings;
1807 bkring = &vpna->up.tx_rings[ring_nr];
1861 hwna->tx_rings[i].nkr_num_slots = na->rx_rings[i].nkr_num_slots;
1862 hwna->tx_rings[i].ring = na->rx_rings[i].ring;
1865 hwna->rx_rings[i].nkr_num_slots = na->tx_rings[i].nkr_num_slots;
1866 hwna->rx_rings[i].ring = na->tx_rings[
[all...]
H A Dif_igb_netmap.h87 struct netmap_kring *kring = &na->tx_rings[ring_nr];
99 struct tx_ring *txr = &adapter->tx_rings[ring_nr];
H A Dixgbe_netmap.h159 struct netmap_kring *kring = &na->tx_rings[ring_nr];
174 struct tx_ring *txr = &adapter->tx_rings[ring_nr];
H A Dif_re_netmap.h71 struct netmap_kring *kring = &na->tx_rings[ring_nr];
315 int l = netmap_idx_n2k(&na->tx_rings[0], i);
H A Dnetmap_mem2.c1137 if (!na->tx_rings)
1139 for (kring = na->tx_rings; kring != na->rx_rings; kring++) {
1175 for (i =0, kring = na->tx_rings; kring != na->rx_rings; kring++, i++) {
1177 ND("%s %ld already created", kring->name, kring - na->tx_rings);
1329 netmap_ring_offset(na->nm_mem, na->tx_rings[i].ring) - base;
H A Dif_lem_netmap.h90 struct netmap_kring *kring = &na->tx_rings[ring_nr];
H A Dnetmap_kern.h410 /* tx_rings and rx_rings are private but allocated
414 struct netmap_kring *tx_rings; /* array of TX rings. */ member in struct:netmap_adapter
601 * |tx_rings->| |\ /| |----| |<-tx_rings|
/freebsd-9.3-release/sys/dev/e1000/
H A Dif_em.c871 struct tx_ring *txr = adapter->tx_rings;
969 struct tx_ring *txr = adapter->tx_rings;
988 struct tx_ring *txr = adapter->tx_rings;
1053 struct tx_ring *txr = adapter->tx_rings;
1429 struct tx_ring *txr = adapter->tx_rings;
1522 struct tx_ring *txr = adapter->tx_rings;
1664 struct tx_ring *txr = adapter->tx_rings;
2264 struct tx_ring *txr = adapter->tx_rings;
2328 struct tx_ring *txr = adapter->tx_rings;
2406 struct tx_ring *txr = adapter->tx_rings;
[all...]
H A Dif_em.h392 struct tx_ring *tx_rings; member in struct:adapter
H A Dif_igb.c844 struct tx_ring *txr = adapter->tx_rings;
941 struct tx_ring *txr = adapter->tx_rings;
971 txr = &adapter->tx_rings[i];
1061 struct tx_ring *txr = adapter->tx_rings;
1440 struct tx_ring *txr = adapter->tx_rings;
2216 struct tx_ring *txr = adapter->tx_rings;
2276 struct tx_ring *txr = adapter->tx_rings;
2379 struct tx_ring *txr = adapter->tx_rings;
3320 if (!(adapter->tx_rings =
3346 txr = &adapter->tx_rings[
[all...]
H A Dif_igb.h417 struct tx_ring *tx_rings; member in struct:adapter
H A Dif_lem.c2676 int si = netmap_idx_n2k(&na->tx_rings[0], i);
/freebsd-9.3-release/sys/dev/ixgbe/
H A Dixgbe.c659 struct tx_ring *txr = adapter->tx_rings;
797 struct tx_ring *txr = adapter->tx_rings;
827 txr = &adapter->tx_rings[i];
919 struct tx_ring *txr = adapter->tx_rings;
1454 struct tx_ring *txr = adapter->tx_rings;
2047 struct tx_ring *txr = adapter->tx_rings;
2277 struct tx_ring *txr = adapter->tx_rings;
2347 struct tx_ring *txr = adapter->tx_rings;
2836 if (!(adapter->tx_rings =
2864 txr = &adapter->tx_rings[
[all...]
H A Dixv.c558 struct tx_ring *txr = adapter->tx_rings;
586 txr = &adapter->tx_rings[i];
666 struct tx_ring *txr = adapter->tx_rings;
1428 struct tx_ring *txr = adapter->tx_rings;
1485 struct tx_ring *txr = adapter->tx_rings;
2000 if (!(adapter->tx_rings =
2028 txr = &adapter->tx_rings[i];
2108 que->txr = &adapter->tx_rings[i];
2118 for (txr = adapter->tx_rings; txconf > 0; txr++, txconf--)
2122 free(adapter->tx_rings, M_DEVBU
[all...]
H A Dixgbe.h447 struct tx_ring *tx_rings; member in struct:adapter
H A Dixv.h364 struct tx_ring *tx_rings; member in struct:adapter
/freebsd-9.3-release/sys/dev/re/
H A Dif_re.c2920 struct netmap_kring *kring = &NA(ifp)->tx_rings[0];

Completed in 173 milliseconds