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

/freebsd-10.2-release/sys/dev/netmap/
H A Dnetmap_pipe.c342 na->tx_rings[i].save_ring = na->tx_rings[i].ring;
356 ona->tx_rings[i].save_ring = ona->tx_rings[i].ring;
362 na->tx_rings[i].pipe = pna->peer->up.rx_rings + i;
363 na->rx_rings[i].pipe = pna->peer->up.tx_rings + i;
364 pna->peer->up.tx_rings[i].pipe = na->rx_rings + i;
365 pna->peer->up.rx_rings[i].pipe = na->tx_rings + i;
373 na->tx_rings[i].ring = na->tx_rings[
[all...]
H A Dnetmap_generic.c285 na->tx_rings[r].tx_pool = NULL;
287 na->tx_rings[r].tx_pool = malloc(na->num_tx_desc * sizeof(struct mbuf *),
289 if (!na->tx_rings[r].tx_pool) {
295 na->tx_rings[r].tx_pool[i] = NULL;
303 na->tx_rings[r].tx_pool[i] = m;
332 } else if (na->tx_rings[0].tx_pool) {
335 If it was not, na->tx_rings[0].tx_pool was set to NULL by the
361 m_freem(na->tx_rings[r].tx_pool[i]);
363 free(na->tx_rings[r].tx_pool, M_DEVBUF);
387 if (na->tx_rings[
[all...]
H A Dnetmap_monitor.c273 kring = &pna->tx_rings[i];
295 kring = &pna->tx_rings[i];
336 pna->tx_rings[i].monitor = NULL;
405 struct netmap_kring *kring = &pna->tx_rings[i];
484 if (pna->tx_rings[i].monitor == mna)
485 pna->tx_rings[i].monitor = NULL;
H A Dnetmap.c503 netmap_disable_ring(na->tx_rings + ring_id);
505 na->tx_rings[ring_id].nkr_stopped = 0;
715 * na->tx_rings ----->| | \
749 na->tx_rings = malloc((size_t)len, M_DEVBUF, M_NOWAIT | M_ZERO);
750 if (na->tx_rings == NULL) {
754 na->rx_rings = na->tx_rings + ntx;
762 kring = &na->tx_rings[i];
831 struct netmap_kring *kring = na->tx_rings;
838 free(na->tx_rings, M_DEVBUF);
839 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;
131 struct tx_ring *txr = &adapter->tx_rings[kring->ring_id];
H A Dnetmap_vale.c350 kring = na->tx_rings;
377 kring = na->tx_rings;
1936 na->tx_rings[ring_nr].nkr_stopped);
2002 bkring = &vpna->up.tx_rings[ring_nr];
2070 hwna->tx_rings[i].nkr_num_slots = na->rx_rings[i].nkr_num_slots;
2071 hwna->tx_rings[i].ring = na->rx_rings[i].ring;
2074 hwna->rx_rings[i].nkr_num_slots = na->tx_rings[i].nkr_num_slots;
2075 hwna->rx_rings[i].ring = na->tx_rings[i].ring;
2157 hostna->tx_rings = na->tx_rings
[all...]
H A Dnetmap_mem2.c1309 if (!na->tx_rings)
1311 for (kring = na->tx_rings; kring != na->rx_rings; kring++) {
1347 for (i =0, kring = na->tx_rings; kring != na->rx_rings; kring++, i++) {
1349 ND("%s %ld already created", kring->name, kring - na->tx_rings);
1501 netmap_ring_offset(na->nm_mem, na->tx_rings[i].ring) - base;
H A Dif_igb_netmap.h99 struct tx_ring *txr = &adapter->tx_rings[kring->ring_id];
H A Dixgbe_netmap.h174 struct tx_ring *txr = &adapter->tx_rings[kring->ring_id];
H A Dif_re_netmap.h311 int l = netmap_idx_n2k(&na->tx_rings[0], i);
H A Dnetmap_kern.h475 /* tx_rings and rx_rings are private but allocated
479 struct netmap_kring *tx_rings; /* array of TX rings. */ member in struct:netmap_adapter
523 * nm_krings_create() create and init the tx_rings and
531 * nm_krings_delete() cleanup and delete the tx_rings and rx_rings
716 * |tx_rings->| |\ /| |----| |<-tx_rings|
/freebsd-10.2-release/sys/dev/ixgbe/
H A Dix_txrx.c173 struct tx_ring *txr = adapter->tx_rings;
213 txr = &adapter->tx_rings[i];
310 struct tx_ring *txr = adapter->tx_rings;
604 int si = netmap_idx_n2k(&na->tx_rings[txr->me], i);
634 struct tx_ring *txr = adapter->tx_rings;
650 struct tx_ring *txr = adapter->tx_rings;
659 free(adapter->tx_rings, M_DEVBUF);
988 struct netmap_kring *kring = &na->tx_rings[txr->me];
2108 if (!(adapter->tx_rings =
2136 txr = &adapter->tx_rings[
[all...]
H A Dif_ix.c606 struct tx_ring *txr = adapter->tx_rings;
1317 struct tx_ring *txr = adapter->tx_rings;
2141 struct tx_ring *txr = adapter->tx_rings;
2212 struct tx_ring *txr = adapter->tx_rings;
2676 struct tx_ring *txr = adapter->tx_rings;
3755 txr = adapter->tx_rings;
3977 struct tx_ring *txr = adapter->tx_rings;
H A Dixgbe.h482 struct tx_ring *tx_rings; member in struct:adapter
H A Dif_ixv.c1221 struct tx_ring *txr = adapter->tx_rings;
1538 struct tx_ring *txr = adapter->tx_rings;
/freebsd-10.2-release/sys/dev/e1000/
H A Dif_em.c908 struct tx_ring *txr = adapter->tx_rings;
991 struct tx_ring *txr = adapter->tx_rings;
1016 struct tx_ring *txr = adapter->tx_rings;
1024 txr = &adapter->tx_rings[i];
1096 struct tx_ring *txr = adapter->tx_rings;
1474 struct tx_ring *txr = adapter->tx_rings;
1567 struct tx_ring *txr = adapter->tx_rings;
1725 struct tx_ring *txr = adapter->tx_rings;
2323 struct tx_ring *txr = adapter->tx_rings;
2383 struct tx_ring *txr = adapter->tx_rings;
[all...]
H A Dif_igb.c857 struct tx_ring *txr = adapter->tx_rings;
954 struct tx_ring *txr = adapter->tx_rings;
984 txr = &adapter->tx_rings[i];
1073 struct tx_ring *txr = adapter->tx_rings;
1460 struct tx_ring *txr = adapter->tx_rings;
2108 struct tx_ring *txr = adapter->tx_rings;
2168 struct tx_ring *txr = adapter->tx_rings;
2282 struct tx_ring *txr = adapter->tx_rings;
2384 struct tx_ring *txr = adapter->tx_rings;
3310 if (!(adapter->tx_rings
[all...]
H A Dif_em.h432 struct tx_ring *tx_rings; member in struct:adapter
H A Dif_igb.h446 struct tx_ring *tx_rings; member in struct:adapter
H A Dif_lem.c2812 int si = netmap_idx_n2k(&na->tx_rings[0], i);
/freebsd-10.2-release/sys/dev/re/
H A Dif_re.c2926 struct netmap_kring *kring = &NA(ifp)->tx_rings[0];

Completed in 298 milliseconds