Lines Matching refs:num_desc
101 for (i = 0; i < rds_ring->num_desc; ++i) { in netxen_release_rx_buffers()
122 for (i = 0; i < tx_ring->num_desc; i++) { in netxen_release_tx_buffers()
194 tx_ring->num_desc = adapter->num_txd; in netxen_alloc_sw_resources()
216 rds_ring->num_desc = adapter->num_rxd; in netxen_alloc_sw_resources()
235 rds_ring->num_desc = adapter->num_jumbo_rxd; in netxen_alloc_sw_resources()
251 rds_ring->num_desc = adapter->num_lro_rxd; in netxen_alloc_sw_resources()
268 for (i = 0; i < rds_ring->num_desc; i++) { in netxen_alloc_sw_resources()
282 sds_ring->num_desc = adapter->num_rxd; in netxen_alloc_sw_resources()
1437 index = get_next_index(index, sds_ring->num_desc); in netxen_handle_fw_message()
1531 if (unlikely(index >= rds_ring->num_desc)) in netxen_process_rcv()
1592 if (unlikely(index >= rds_ring->num_desc)) in netxen_process_lro()
1703 consumer = get_next_index(consumer, sds_ring->num_desc); in netxen_process_rcv_ring()
1772 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in netxen_process_cmd_ring()
1838 producer = get_next_index(producer, rds_ring->num_desc); in netxen_post_rx_buffers()
1844 (producer-1) & (rds_ring->num_desc-1)); in netxen_post_rx_buffers()
1856 (rds_ring->num_desc - 1))); in netxen_post_rx_buffers()
1898 producer = get_next_index(producer, rds_ring->num_desc); in netxen_post_rx_buffers_nodb()
1904 (producer - 1) & (rds_ring->num_desc - 1)); in netxen_post_rx_buffers_nodb()