Lines Matching refs:num_desc

297 	tx_ring->producer = get_next_index(producer, tx_ring->num_desc);  in qlcnic_82xx_change_filter()
413 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_encap_pkt()
535 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
548 producer = get_next_index(producer, tx_ring->num_desc); in qlcnic_tx_pkt()
674 num_txd = tx_ring->num_desc; in qlcnic_xmit_frame()
875 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers_nodb()
879 writel((producer - 1) & (rds_ring->num_desc - 1), in qlcnic_post_rx_buffers_nodb()
920 sw_consumer = get_next_index(sw_consumer, tx_ring->num_desc); in qlcnic_process_cmd_ring()
1095 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message()
1211 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv()
1283 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_lro()
1407 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_process_rcv_ring()
1468 producer = get_next_index(producer, rds_ring->num_desc); in qlcnic_post_rx_buffers()
1473 writel((producer-1) & (rds_ring->num_desc-1), in qlcnic_post_rx_buffers()
1506 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv_diag()
1566 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_82xx_process_rcv_ring_diag()
1734 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_rcv()
1806 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_lro()
1923 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_83xx_process_rcv_ring()
2181 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_83xx_process_rcv_diag()
2223 consumer = get_next_index(consumer, sds_ring->num_desc); in qlcnic_83xx_process_rcv_ring_diag()