Lines Matching refs:num_desc
100 for (i = 0; i < rds_ring->num_desc; ++i) { in qlcnic_release_rx_buffers()
129 for (i = 0; i < rds_ring->num_desc; i++) { in qlcnic_reset_rx_buffers_list()
145 for (i = 0; i < tx_ring->num_desc; i++) { in qlcnic_release_tx_buffers()
219 tx_ring->num_desc = adapter->num_txd; in qlcnic_alloc_sw_resources()
243 rds_ring->num_desc = adapter->num_rxd; in qlcnic_alloc_sw_resources()
249 rds_ring->num_desc = adapter->num_jumbo_rxd; in qlcnic_alloc_sw_resources()
272 for (i = 0; i < rds_ring->num_desc; i++) { in qlcnic_alloc_sw_resources()
285 sds_ring->num_desc = adapter->num_rxd; in qlcnic_alloc_sw_resources()
1396 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message()
1543 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv()
1612 if (unlikely(index > rds_ring->num_desc)) in qlcnic_process_lro()
1722 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1785 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers()
1790 writel((producer-1) & (rds_ring->num_desc-1), in qlcnic_post_rx_buffers()
1829 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers_nodb()
1834 writel((producer - 1) & (rds_ring->num_desc - 1), in qlcnic_post_rx_buffers_nodb()
1869 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv_diag()
1930 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring_diag()