Lines Matching refs:setup_q

602 	struct vfpf_setup_q_tlv *req = &bp->vf2pf_mbox->req.setup_q;  in bnx2x_vfpf_setup_q()
1520 struct vfpf_setup_q_tlv *setup_q = &mbx->msg->req.setup_q; in bnx2x_vf_mbx_setup_q() local
1525 if (setup_q->vf_qid >= vf_rxq_count(vf)) { in bnx2x_vf_mbx_setup_q()
1527 setup_q->vf_qid, vf_rxq_count(vf)); in bnx2x_vf_mbx_setup_q()
1535 if (setup_q->param_valid & (VFPF_RXQ_VALID|VFPF_TXQ_VALID)) { in bnx2x_vf_mbx_setup_q()
1536 struct bnx2x_vf_queue *q = vfq_get(vf, setup_q->vf_qid); in bnx2x_vf_mbx_setup_q()
1554 if (setup_q->param_valid & VFPF_TXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1561 q->sb_idx = setup_q->txq.vf_sb; in bnx2x_vf_mbx_setup_q()
1564 init_p->tx.hc_rate = setup_q->txq.hc_rate; in bnx2x_vf_mbx_setup_q()
1565 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1567 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1571 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1577 txq_params->dscr_map = setup_q->txq.txq_addr; in bnx2x_vf_mbx_setup_q()
1578 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1579 txq_params->traffic_type = setup_q->txq.traffic_type; in bnx2x_vf_mbx_setup_q()
1585 if (setup_q->param_valid & VFPF_RXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1594 q->sb_idx = setup_q->rxq.vf_sb; in bnx2x_vf_mbx_setup_q()
1597 init_p->rx.hc_rate = setup_q->rxq.hc_rate; in bnx2x_vf_mbx_setup_q()
1598 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1599 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1603 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1607 setup_p->gen_params.mtu = setup_q->rxq.mtu; in bnx2x_vf_mbx_setup_q()
1610 rxq_params->drop_flags = setup_q->rxq.drop_flags; in bnx2x_vf_mbx_setup_q()
1611 rxq_params->dscr_map = setup_q->rxq.rxq_addr; in bnx2x_vf_mbx_setup_q()
1612 rxq_params->sge_map = setup_q->rxq.sge_addr; in bnx2x_vf_mbx_setup_q()
1613 rxq_params->rcq_map = setup_q->rxq.rcq_addr; in bnx2x_vf_mbx_setup_q()
1614 rxq_params->rcq_np_map = setup_q->rxq.rcq_np_addr; in bnx2x_vf_mbx_setup_q()
1615 rxq_params->buf_sz = setup_q->rxq.buf_sz; in bnx2x_vf_mbx_setup_q()
1616 rxq_params->tpa_agg_sz = setup_q->rxq.tpa_agg_sz; in bnx2x_vf_mbx_setup_q()
1617 rxq_params->max_sges_pkt = setup_q->rxq.max_sge_pkt; in bnx2x_vf_mbx_setup_q()
1618 rxq_params->sge_buf_sz = setup_q->rxq.sge_buf_sz; in bnx2x_vf_mbx_setup_q()
1620 setup_q->rxq.cache_line_log; in bnx2x_vf_mbx_setup_q()
1621 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()