Lines Matching refs:q_no
93 if (unlikely(__netif_subqueue_stopped(iq->netdev, iq->q_no)) && in octep_iq_process_completions()
96 netif_wake_subqueue(iq->netdev, iq->q_no); in octep_iq_process_completions()
149 netdev_tx_reset_queue(netdev_get_tx_queue(iq->netdev, iq->q_no)); in octep_iq_free_pending()
178 static int octep_setup_iq(struct octep_device *oct, int q_no) in octep_setup_iq() argument
187 oct->iq[q_no] = iq; in octep_setup_iq()
192 iq->q_no = q_no; in octep_setup_iq()
196 iq->netdev_q = netdev_get_tx_queue(iq->netdev, q_no); in octep_setup_iq()
204 "Failed to allocate DMA memory for IQ-%d\n", q_no); in octep_setup_iq()
216 q_no); in octep_setup_iq()
225 "Failed to allocate buff info for IQ-%d\n", q_no); in octep_setup_iq()
241 oct->hw_ops.setup_iq_regs(oct, q_no); in octep_setup_iq()
253 oct->iq[q_no] = NULL; in octep_setup_iq()
269 int q_no = iq->q_no; in octep_free_iq() local
286 oct->iq[q_no] = NULL; in octep_free_iq()