Lines Matching refs:q0

1806 	struct bna_rxq *q0 = NULL, *q1 = NULL;  in bna_bfi_rx_enet_start()  local
1822 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start()
1836 &q0->qpt); in bna_bfi_rx_enet_start()
1837 if (q0->multi_buffer) in bna_bfi_rx_enet_start()
1846 q0->buffer_size = in bna_bfi_rx_enet_start()
1849 htons((u16)q0->buffer_size); in bna_bfi_rx_enet_start()
2053 bna_rxp_add_rxqs(struct bna_rxp *rxp, struct bna_rxq *q0, in bna_rxp_add_rxqs() argument
2058 rxp->rxq.single.only = q0; in bna_rxp_add_rxqs()
2062 rxp->rxq.slr.large = q0; in bna_rxp_add_rxqs()
2066 rxp->rxq.hds.data = q0; in bna_rxp_add_rxqs()
2339 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start_rsp() local
2352 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start_rsp()
2359 q0->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2362 q0->hw_id = cfg_rsp->q_handles[i].hw_lqid; in bna_bfi_rx_enet_start_rsp()
2373 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2512 struct bna_rxq *q0; in bna_rx_create() local
2600 q0 = bna_rxq_get(rx_mod); in bna_rx_create()
2628 bna_rxp_add_rxqs(rxp, q0, q1); in bna_rx_create()
2632 q0->rx = rx; in bna_rx_create()
2633 q0->rxp = rxp; in bna_rx_create()
2635 q0->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2636 q0->rcb->unmap_q = (void *)dqunmap_mem[dq_idx].kva; in bna_rx_create()
2638 q0->rcb->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2639 q0->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2640 q0->multi_buffer = rx_cfg->q0_multi_buf; in bna_rx_create()
2641 q0->buffer_size = rx_cfg->q0_buf_size; in bna_rx_create()
2642 q0->num_vecs = rx_cfg->q0_num_vecs; in bna_rx_create()
2643 q0->rcb->rxq = q0; in bna_rx_create()
2644 q0->rcb->bnad = bna->bnad; in bna_rx_create()
2645 q0->rcb->id = 0; in bna_rx_create()
2646 q0->rx_packets = q0->rx_bytes = 0; in bna_rx_create()
2647 q0->rx_packets_with_error = q0->rxbuf_alloc_failed = 0; in bna_rx_create()
2649 bna_rxq_qpt_setup(q0, rxp, dpage_count, PAGE_SIZE, in bna_rx_create()
2653 rx->rcb_setup_cbfn(bnad, q0->rcb); in bna_rx_create()
2697 rxp->cq.ccb->rcb[0] = q0->rcb; in bna_rx_create()
2698 q0->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2737 struct bna_rxq *q0 = NULL; in bna_rx_destroy() local
2746 GET_RXQS(rxp, q0, q1); in bna_rx_destroy()
2748 rx->rcb_destroy_cbfn(rx->bna->bnad, q0->rcb); in bna_rx_destroy()
2749 q0->rcb = NULL; in bna_rx_destroy()
2750 q0->rxp = NULL; in bna_rx_destroy()
2751 q0->rx = NULL; in bna_rx_destroy()
2752 bna_rxq_put(rx_mod, q0); in bna_rx_destroy()