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()
1318 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message()
1441 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv()
1510 if (unlikely(index > rds_ring->num_desc)) in qlcnic_process_lro()
1621 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1683 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers()
1688 writel((producer-1) & (rds_ring->num_desc-1), in qlcnic_post_rx_buffers()
1726 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers_nodb()
1731 writel((producer - 1) & (rds_ring->num_desc - 1), in qlcnic_post_rx_buffers_nodb()