Lines Matching refs:qpi

1574 	struct virtchnl_queue_pair_info *qpi;  in ice_vc_cfg_qs_msg()  local
1597 qpi = &qci->qpair[i]; in ice_vc_cfg_qs_msg()
1598 if (qpi->txq.vsi_id != qci->vsi_id || in ice_vc_cfg_qs_msg()
1599 qpi->rxq.vsi_id != qci->vsi_id || in ice_vc_cfg_qs_msg()
1600 qpi->rxq.queue_id != qpi->txq.queue_id || in ice_vc_cfg_qs_msg()
1601 qpi->txq.headwb_enabled || in ice_vc_cfg_qs_msg()
1602 !ice_vc_isvalid_ring_len(qpi->txq.ring_len) || in ice_vc_cfg_qs_msg()
1603 !ice_vc_isvalid_ring_len(qpi->rxq.ring_len) || in ice_vc_cfg_qs_msg()
1604 !ice_vc_isvalid_q_id(vf, qci->vsi_id, qpi->txq.queue_id)) { in ice_vc_cfg_qs_msg()
1608 q_idx = qpi->rxq.queue_id; in ice_vc_cfg_qs_msg()
1618 if (qpi->txq.ring_len > 0) { in ice_vc_cfg_qs_msg()
1619 vsi->tx_rings[i]->dma = qpi->txq.dma_ring_addr; in ice_vc_cfg_qs_msg()
1620 vsi->tx_rings[i]->count = qpi->txq.ring_len; in ice_vc_cfg_qs_msg()
1635 if (qpi->rxq.ring_len > 0) { in ice_vc_cfg_qs_msg()
1638 vsi->rx_rings[i]->dma = qpi->rxq.dma_ring_addr; in ice_vc_cfg_qs_msg()
1639 vsi->rx_rings[i]->count = qpi->rxq.ring_len; in ice_vc_cfg_qs_msg()
1641 if (qpi->rxq.databuffer_size != 0 && in ice_vc_cfg_qs_msg()
1642 (qpi->rxq.databuffer_size > ((16 * 1024) - 128) || in ice_vc_cfg_qs_msg()
1643 qpi->rxq.databuffer_size < 1024)) in ice_vc_cfg_qs_msg()
1645 vsi->rx_buf_len = qpi->rxq.databuffer_size; in ice_vc_cfg_qs_msg()
1647 if (qpi->rxq.max_pkt_size > max_frame_size || in ice_vc_cfg_qs_msg()
1648 qpi->rxq.max_pkt_size < 64) in ice_vc_cfg_qs_msg()
1651 vsi->max_frame = qpi->rxq.max_pkt_size; in ice_vc_cfg_qs_msg()