Lines Matching refs:qpi
1649 struct virtchnl_queue_pair_info *qpi; in ice_vc_cfg_qs_msg() local
1696 qpi = &qci->qpair[i]; in ice_vc_cfg_qs_msg()
1697 if (qpi->txq.vsi_id != qci->vsi_id || in ice_vc_cfg_qs_msg()
1698 qpi->rxq.vsi_id != qci->vsi_id || in ice_vc_cfg_qs_msg()
1699 qpi->rxq.queue_id != qpi->txq.queue_id || in ice_vc_cfg_qs_msg()
1700 qpi->txq.headwb_enabled || in ice_vc_cfg_qs_msg()
1701 !ice_vc_isvalid_ring_len(qpi->txq.ring_len) || in ice_vc_cfg_qs_msg()
1702 !ice_vc_isvalid_ring_len(qpi->rxq.ring_len) || in ice_vc_cfg_qs_msg()
1703 !ice_vc_isvalid_q_id(vsi, qpi->txq.queue_id)) { in ice_vc_cfg_qs_msg()
1707 q_idx = qpi->rxq.queue_id; in ice_vc_cfg_qs_msg()
1717 if (qpi->txq.ring_len > 0) { in ice_vc_cfg_qs_msg()
1718 vsi->tx_rings[i]->dma = qpi->txq.dma_ring_addr; in ice_vc_cfg_qs_msg()
1719 vsi->tx_rings[i]->count = qpi->txq.ring_len; in ice_vc_cfg_qs_msg()
1734 if (qpi->rxq.ring_len > 0) { in ice_vc_cfg_qs_msg()
1738 vsi->rx_rings[i]->dma = qpi->rxq.dma_ring_addr; in ice_vc_cfg_qs_msg()
1739 vsi->rx_rings[i]->count = qpi->rxq.ring_len; in ice_vc_cfg_qs_msg()
1741 if (qpi->rxq.crc_disable) in ice_vc_cfg_qs_msg()
1748 if (qpi->rxq.databuffer_size != 0 && in ice_vc_cfg_qs_msg()
1749 (qpi->rxq.databuffer_size > ((16 * 1024) - 128) || in ice_vc_cfg_qs_msg()
1750 qpi->rxq.databuffer_size < 1024)) in ice_vc_cfg_qs_msg()
1752 vsi->rx_buf_len = qpi->rxq.databuffer_size; in ice_vc_cfg_qs_msg()
1754 if (qpi->rxq.max_pkt_size > max_frame_size || in ice_vc_cfg_qs_msg()
1755 qpi->rxq.max_pkt_size < 64) in ice_vc_cfg_qs_msg()
1758 vsi->max_frame = qpi->rxq.max_pkt_size; in ice_vc_cfg_qs_msg()
1779 rxdid = qpi->rxq.rxdid; in ice_vc_cfg_qs_msg()