Searched refs:nic_i (Results 1 - 8 of 8) sorted by relevance
/freebsd-11.0-release/sys/dev/netmap/ |
H A D | ixgbe_netmap.h | 163 u_int nic_i; /* index into the NIC ring */ local 184 * nic_i is the corresponding index in the NIC ring. 190 * nic_i = IXGBE_TDT (not tracked in the driver) 192 * nm_i == (nic_i + kring->nkr_hwofs) % ring_size 218 nic_i = netmap_idx_k2n(kring, nm_i); 221 __builtin_prefetch(&txr->tx_buffers[nic_i]); 230 union ixgbe_adv_tx_desc *curr = &txr->tx_base[nic_i]; 231 struct ixgbe_tx_buf *txbuf = &txr->tx_buffers[nic_i]; 233 nic_i == 0 || nic_i 350 u_int nic_i; /* index into the NIC ring */ local [all...] |
H A D | if_lem_netmap.h | 94 u_int nic_i; /* index into the NIC ring */ local 129 nic_i = netmap_idx_k2n(kring, nm_i); 137 struct e1000_tx_desc *curr = &adapter->tx_desc_base[nic_i]; 138 struct em_buffer *txbuf = &adapter->tx_buffer_area[nic_i]; 140 nic_i == 0 || nic_i == report_frequency) ? 160 nic_i = nm_next(nic_i, lim); 184 csb->guest_tdt = nic_i; 192 /* (re)start the tx unit up to slot nic_i (exclude 319 u_int nic_i; /* index into the NIC ring */ local [all...] |
H A D | if_em_netmap.h | 122 u_int nic_i; /* index into the NIC ring */ local 142 nic_i = netmap_idx_k2n(kring, nm_i); 150 struct e1000_tx_desc *curr = &txr->tx_base[nic_i]; 151 struct em_txbuffer *txbuf = &txr->tx_buffers[nic_i]; 153 nic_i == 0 || nic_i == report_frequency) ? 173 nic_i = nm_next(nic_i, lim); 181 /* (re)start the tx unit up to slot nic_i (excluded) */ 182 E1000_WRITE_REG(&adapter->hw, E1000_TDT(txr->me), nic_i); 215 u_int nic_i; /* index into the NIC ring */ local [all...] |
H A D | if_re_netmap.h | 74 u_int nic_i; /* index into the NIC ring */ local 92 nic_i = sc->rl_ldata.rl_tx_prodidx; 102 struct rl_desc *desc = &sc->rl_ldata.rl_tx_list[nic_i]; 108 if (nic_i == lim) /* mark end of ring */ 116 txd[nic_i].tx_dmamap, addr); 125 txd[nic_i].tx_dmamap, 129 nic_i = nm_next(nic_i, lim); 131 sc->rl_ldata.rl_tx_prodidx = nic_i; 147 nic_i 176 u_int nic_i; /* index into the NIC ring */ local 323 uint32_t nic_i, max_avail; local [all...] |
H A D | if_igb_netmap.h | 90 u_int nic_i; /* index into the NIC ring */ local 113 nic_i = netmap_idx_k2n(kring, nm_i); 122 (union e1000_adv_tx_desc *)&txr->tx_base[nic_i]; 123 struct igb_tx_buf *txbuf = &txr->tx_buffers[nic_i]; 125 nic_i == 0 || nic_i == report_frequency) ? 153 nic_i = nm_next(nic_i, lim); 165 /* (re)start the tx unit up to slot nic_i (excluded) */ 166 E1000_WRITE_REG(&adapter->hw, E1000_TDT(txr->me), nic_i); 197 u_int nic_i; /* index into the NIC ring */ local [all...] |
H A D | if_ixl_netmap.h | 169 u_int nic_i; /* index into the NIC ring */ local 190 * nic_i is the corresponding index in the NIC ring. 211 nic_i = netmap_idx_k2n(kring, nm_i); 214 __builtin_prefetch(&txr->buffers[nic_i]); 223 struct i40e_tx_desc *curr = &txr->base[nic_i]; 224 struct ixl_tx_buf *txbuf = &txr->buffers[nic_i]; 226 nic_i == 0 || nic_i == report_frequency) ? 231 __builtin_prefetch(&txr->buffers[nic_i + 1]); 254 nic_i 300 u_int nic_i; /* index into the NIC ring */ local [all...] |
H A D | if_vtnet_netmap.h | 116 u_int nic_i; /* index into the NIC ring */ local 135 nic_i = netmap_idx_k2n(kring, nm_i); 164 nic_i = nm_next(nic_i, lim); 275 // u_int nic_i; /* index into the NIC ring */
|
/freebsd-11.0-release/sys/net/ |
H A D | iflib.c | 709 u_int nic_i; /* index into the NIC ring */ local 735 * nic_i is the corresponding index in the NIC ring. 756 nic_i = netmap_idx_k2n(kring, nm_i); 759 __builtin_prefetch(&txq->ift_sds.ifsd_m[nic_i]); 760 __builtin_prefetch(&txq->ift_sds.ifsd_map[nic_i]); 768 nic_i == 0 || nic_i == report_frequency) ? 772 pi.ipi_pidx = nic_i; 780 __builtin_prefetch(&txq->ift_sds.ifsd_m[nic_i + 1]); 781 __builtin_prefetch(&txq->ift_sds.ifsd_map[nic_i 839 u_int nic_i; /* index into the NIC ring */ local [all...] |
Completed in 73 milliseconds