Lines Matching full:q1
1617 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start() local
1630 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start()
1636 &q1->qpt); in bna_bfi_rx_enet_start()
1638 htons((u16)q1->buffer_size); in bna_bfi_rx_enet_start()
1832 struct bna_rxq *q1) in bna_rxp_add_rxqs() argument
1841 rxp->rxq.slr.small = q1; in bna_rxp_add_rxqs()
1845 rxp->rxq.hds.hdr = q1; in bna_rxp_add_rxqs()
2090 struct bna_rxq *q0 = NULL, *q1 = NULL; in bna_bfi_rx_enet_start_rsp() local
2100 GET_RXQS(rxp, q0, q1); in bna_bfi_rx_enet_start_rsp()
2111 if (q1) { in bna_bfi_rx_enet_start_rsp()
2112 q1->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2115 q1->hw_id = cfg_rsp->q_handles[i].hw_sqid; in bna_bfi_rx_enet_start_rsp()
2122 if (q1) in bna_bfi_rx_enet_start_rsp()
2123 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2260 struct bna_rxq *q1; in bna_rx_create() local
2349 q1 = NULL; in bna_rx_create()
2351 q1 = bna_rxq_get(rx_mod); in bna_rx_create()
2375 bna_rxp_add_rxqs(rxp, q0, q1); in bna_rx_create()
2405 if (q1) { in bna_rx_create()
2406 q1->rx = rx; in bna_rx_create()
2407 q1->rxp = rxp; in bna_rx_create()
2409 q1->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2410 q1->rcb->unmap_q = (void *)hqunmap_mem[hq_idx].kva; in bna_rx_create()
2412 q1->rcb->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2413 q1->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2414 q1->multi_buffer = BNA_STATUS_T_DISABLED; in bna_rx_create()
2415 q1->num_vecs = 1; in bna_rx_create()
2416 q1->rcb->rxq = q1; in bna_rx_create()
2417 q1->rcb->bnad = bna->bnad; in bna_rx_create()
2418 q1->rcb->id = 1; in bna_rx_create()
2419 q1->buffer_size = (rx_cfg->rxp_type == BNA_RXP_HDS) ? in bna_rx_create()
2422 q1->rx_packets = q1->rx_bytes = 0; in bna_rx_create()
2423 q1->rx_packets_with_error = q1->rxbuf_alloc_failed = 0; in bna_rx_create()
2424 q1->rxbuf_map_failed = 0; in bna_rx_create()
2426 bna_rxq_qpt_setup(q1, rxp, hpage_count, PAGE_SIZE, in bna_rx_create()
2431 rx->rcb_setup_cbfn(bnad, q1->rcb); in bna_rx_create()
2448 if (q1) { in bna_rx_create()
2449 rxp->cq.ccb->rcb[1] = q1->rcb; in bna_rx_create()
2450 q1->rcb->ccb = rxp->cq.ccb; in bna_rx_create()
2487 struct bna_rxq *q1 = NULL; in bna_rx_destroy() local
2496 GET_RXQS(rxp, q0, q1); in bna_rx_destroy()
2504 if (q1) { in bna_rx_destroy()
2506 rx->rcb_destroy_cbfn(rx->bna->bnad, q1->rcb); in bna_rx_destroy()
2507 q1->rcb = NULL; in bna_rx_destroy()
2508 q1->rxp = NULL; in bna_rx_destroy()
2509 q1->rx = NULL; in bna_rx_destroy()
2510 bna_rxq_put(rx_mod, q1); in bna_rx_destroy()