Lines Matching refs:setup_q

603 	struct vfpf_setup_q_tlv *req = &bp->vf2pf_mbox->req.setup_q;  in bnx2x_vfpf_setup_q()
1521 struct vfpf_setup_q_tlv *setup_q = &mbx->msg->req.setup_q; in bnx2x_vf_mbx_setup_q() local
1526 if (setup_q->vf_qid >= vf_rxq_count(vf)) { in bnx2x_vf_mbx_setup_q()
1528 setup_q->vf_qid, vf_rxq_count(vf)); in bnx2x_vf_mbx_setup_q()
1536 if (setup_q->param_valid & (VFPF_RXQ_VALID|VFPF_TXQ_VALID)) { in bnx2x_vf_mbx_setup_q()
1537 struct bnx2x_vf_queue *q = vfq_get(vf, setup_q->vf_qid); in bnx2x_vf_mbx_setup_q()
1555 if (setup_q->param_valid & VFPF_TXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1562 q->sb_idx = setup_q->txq.vf_sb; in bnx2x_vf_mbx_setup_q()
1565 init_p->tx.hc_rate = setup_q->txq.hc_rate; in bnx2x_vf_mbx_setup_q()
1566 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1568 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1572 bnx2x_vf_mbx_set_q_flags(bp, setup_q->txq.flags, in bnx2x_vf_mbx_setup_q()
1578 txq_params->dscr_map = setup_q->txq.txq_addr; in bnx2x_vf_mbx_setup_q()
1579 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1580 txq_params->traffic_type = setup_q->txq.traffic_type; in bnx2x_vf_mbx_setup_q()
1586 if (setup_q->param_valid & VFPF_RXQ_VALID) { in bnx2x_vf_mbx_setup_q()
1595 q->sb_idx = setup_q->rxq.vf_sb; in bnx2x_vf_mbx_setup_q()
1598 init_p->rx.hc_rate = setup_q->rxq.hc_rate; in bnx2x_vf_mbx_setup_q()
1599 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1600 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1604 bnx2x_vf_mbx_set_q_flags(bp, setup_q->rxq.flags, in bnx2x_vf_mbx_setup_q()
1608 setup_p->gen_params.mtu = setup_q->rxq.mtu; in bnx2x_vf_mbx_setup_q()
1611 rxq_params->drop_flags = setup_q->rxq.drop_flags; in bnx2x_vf_mbx_setup_q()
1612 rxq_params->dscr_map = setup_q->rxq.rxq_addr; in bnx2x_vf_mbx_setup_q()
1613 rxq_params->sge_map = setup_q->rxq.sge_addr; in bnx2x_vf_mbx_setup_q()
1614 rxq_params->rcq_map = setup_q->rxq.rcq_addr; in bnx2x_vf_mbx_setup_q()
1615 rxq_params->rcq_np_map = setup_q->rxq.rcq_np_addr; in bnx2x_vf_mbx_setup_q()
1616 rxq_params->buf_sz = setup_q->rxq.buf_sz; in bnx2x_vf_mbx_setup_q()
1617 rxq_params->tpa_agg_sz = setup_q->rxq.tpa_agg_sz; in bnx2x_vf_mbx_setup_q()
1618 rxq_params->max_sges_pkt = setup_q->rxq.max_sge_pkt; in bnx2x_vf_mbx_setup_q()
1619 rxq_params->sge_buf_sz = setup_q->rxq.sge_buf_sz; in bnx2x_vf_mbx_setup_q()
1621 setup_q->rxq.cache_line_log; in bnx2x_vf_mbx_setup_q()
1622 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()