Lines Matching refs:num_desc
530 if (++i == txr->num_desc) in ixgbe_xmit()
691 for (int i = 0; i < txr->num_desc; i++, txbuf++) { in ixgbe_setup_transmit_ring()
977 if (++ctxd == txr->num_desc) in ixgbe_tx_ctx_setup()
1089 if (++ctxd == txr->num_desc) in ixgbe_tso_setup()
1153 if (txr->tx_avail == txr->num_desc) { in ixgbe_txeof()
1162 work -= txr->num_desc; /* The distance to ring end */ in ixgbe_txeof()
1194 work -= txr->num_desc; in ixgbe_txeof()
1222 work -= txr->num_desc; in ixgbe_txeof()
1232 work += txr->num_desc; in ixgbe_txeof()
1258 if (txr->tx_avail == txr->num_desc) in ixgbe_txeof()
1363 if (++i == rxr->num_desc) in ixgbe_refresh_mbufs()
1408 if (++i == rxr->num_desc) in ixgbe_refresh_mbufs()
1435 bsize = sizeof(struct ixgbe_rx_buf) * rxr->num_desc; in ixgbe_allocate_receive_buffers()
1452 for (int i = 0; i < rxr->num_desc; i++, rxbuf++) { in ixgbe_allocate_receive_buffers()
1476 for (int i = 0; i < rxr->num_desc; i++) { in ixgbe_free_receive_ring()
1524 for (int i = 0; i < rxr->num_desc; i++) { in ixgbe_setup_receive_ring()
1717 sizeof(struct ixgbe_rx_buf) * rxr->num_desc); in ixgbe_free_receive_buffers()
1853 if ((rxr->next_to_check + limit) <= rxr->num_desc) { in ixgbe_rxeof()
1859 numdesc = rxr->num_desc - rxr->next_to_check; in ixgbe_rxeof()
2173 if (++i == rxr->num_desc) { in ixgbe_rxeof()
2398 txr->num_desc = sc->num_tx_desc; in ixgbe_allocate_queues()
2448 rxr->num_desc = sc->num_rx_desc; in ixgbe_allocate_queues()