Lines Matching refs:setup_q

605 	struct vfpf_setup_q_tlv *req = &bp->vf2pf_mbox->req.setup_q;  in bnx2x_vfpf_setup_q()
1523 struct vfpf_setup_q_tlv *setup_q = &mbx->msg->req.setup_q; in bnx2x_vf_mbx_setup_q() local
1528 if (setup_q->vf_qid >= vf_rxq_count(vf)) { in bnx2x_vf_mbx_setup_q()
1530 setup_q->vf_qid, vf_rxq_count(vf)); in bnx2x_vf_mbx_setup_q()
1538 if (setup_q->param_valid & (VFPF_RXQ_VALID|VFPF_TXQ_VALID)) { in bnx2x_vf_mbx_setup_q()
1539 struct bnx2x_vf_queue *q = vfq_get(vf, setup_q->vf_qid); in bnx2x_vf_mbx_setup_q()
1557 if (setup_q->param_valid & VFPF_TXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1564 q->sb_idx = setup_q->txq.vf_sb; in bnx2x_vf_mbx_setup_q()
1567 init_p->tx.hc_rate = setup_q->txq.hc_rate; in bnx2x_vf_mbx_setup_q()
1568 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1570 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1574 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1580 txq_params->dscr_map = setup_q->txq.txq_addr; in bnx2x_vf_mbx_setup_q()
1581 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1582 txq_params->traffic_type = setup_q->txq.traffic_type; in bnx2x_vf_mbx_setup_q()
1588 if (setup_q->param_valid & VFPF_RXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1597 q->sb_idx = setup_q->rxq.vf_sb; in bnx2x_vf_mbx_setup_q()
1600 init_p->rx.hc_rate = setup_q->rxq.hc_rate; in bnx2x_vf_mbx_setup_q()
1601 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1602 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1606 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1610 setup_p->gen_params.mtu = setup_q->rxq.mtu; in bnx2x_vf_mbx_setup_q()
1613 rxq_params->drop_flags = setup_q->rxq.drop_flags; in bnx2x_vf_mbx_setup_q()
1614 rxq_params->dscr_map = setup_q->rxq.rxq_addr; in bnx2x_vf_mbx_setup_q()
1615 rxq_params->sge_map = setup_q->rxq.sge_addr; in bnx2x_vf_mbx_setup_q()
1616 rxq_params->rcq_map = setup_q->rxq.rcq_addr; in bnx2x_vf_mbx_setup_q()
1617 rxq_params->rcq_np_map = setup_q->rxq.rcq_np_addr; in bnx2x_vf_mbx_setup_q()
1618 rxq_params->buf_sz = setup_q->rxq.buf_sz; in bnx2x_vf_mbx_setup_q()
1619 rxq_params->tpa_agg_sz = setup_q->rxq.tpa_agg_sz; in bnx2x_vf_mbx_setup_q()
1620 rxq_params->max_sges_pkt = setup_q->rxq.max_sge_pkt; in bnx2x_vf_mbx_setup_q()
1621 rxq_params->sge_buf_sz = setup_q->rxq.sge_buf_sz; in bnx2x_vf_mbx_setup_q()
1623 setup_q->rxq.cache_line_log; in bnx2x_vf_mbx_setup_q()
1624 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()