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