Lines Matching refs:q1

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()
1828 &q1->qpt); in bna_bfi_rx_enet_start()
1830 htons((u16)q1->buffer_size); in bna_bfi_rx_enet_start()
2054 struct bna_rxq *q1) in bna_rxp_add_rxqs() argument
2063 rxp->rxq.slr.small = q1; in bna_rxp_add_rxqs()
2067 rxp->rxq.hds.hdr = q1; 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()
2363 if (q1) { in bna_bfi_rx_enet_start_rsp()
2364 q1->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2367 q1->hw_id = cfg_rsp->q_handles[i].hw_sqid; in bna_bfi_rx_enet_start_rsp()
2374 if (q1) in bna_bfi_rx_enet_start_rsp()
2375 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2513 struct bna_rxq *q1; in bna_rx_create() local
2602 q1 = NULL; in bna_rx_create()
2604 q1 = bna_rxq_get(rx_mod); in bna_rx_create()
2628 bna_rxp_add_rxqs(rxp, q0, q1); in bna_rx_create()
2657 if (q1) { in bna_rx_create()
2658 q1->rx = rx; in bna_rx_create()
2659 q1->rxp = rxp; in bna_rx_create()
2661 q1->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2662 q1->rcb->unmap_q = (void *)hqunmap_mem[hq_idx].kva; in bna_rx_create()
2664 q1->rcb->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2665 q1->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2666 q1->multi_buffer = BNA_STATUS_T_DISABLED; in bna_rx_create()
2667 q1->num_vecs = 1; in bna_rx_create()
2668 q1->rcb->rxq = q1; in bna_rx_create()
2669 q1->rcb->bnad = bna->bnad; in bna_rx_create()
2670 q1->rcb->id = 1; in bna_rx_create()
2671 q1->buffer_size = (rx_cfg->rxp_type == BNA_RXP_HDS) ? in bna_rx_create()
2674 q1->rx_packets = q1->rx_bytes = 0; in bna_rx_create()
2675 q1->rx_packets_with_error = q1->rxbuf_alloc_failed = 0; in bna_rx_create()
2677 bna_rxq_qpt_setup(q1, rxp, hpage_count, PAGE_SIZE, in bna_rx_create()
2682 rx->rcb_setup_cbfn(bnad, q1->rcb); in bna_rx_create()
2699 if (q1) { in bna_rx_create()
2700 rxp->cq.ccb->rcb[1] = q1->rcb; in bna_rx_create()
2701 q1->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2738 struct bna_rxq *q1 = NULL; in bna_rx_destroy() local
2746 GET_RXQS(rxp, q0, q1); in bna_rx_destroy()
2754 if (q1) { in bna_rx_destroy()
2756 rx->rcb_destroy_cbfn(rx->bna->bnad, q1->rcb); in bna_rx_destroy()
2757 q1->rcb = NULL; in bna_rx_destroy()
2758 q1->rxp = NULL; in bna_rx_destroy()
2759 q1->rx = NULL; in bna_rx_destroy()
2760 bna_rxq_put(rx_mod, q1); in bna_rx_destroy()