Lines Matching refs:pfc_queue_conf
3681 struct rte_eth_pfc_queue_conf *pfc_queue_conf) in validate_rx_pause_config() argument
3683 if ((pfc_queue_conf->mode == RTE_ETH_FC_RX_PAUSE) || in validate_rx_pause_config()
3684 (pfc_queue_conf->mode == RTE_ETH_FC_FULL)) { in validate_rx_pause_config()
3685 if (pfc_queue_conf->rx_pause.tx_qid >= dev_info->nb_tx_queues) { in validate_rx_pause_config()
3688 pfc_queue_conf->rx_pause.tx_qid, in validate_rx_pause_config()
3693 if (pfc_queue_conf->rx_pause.tc >= tc_max) { in validate_rx_pause_config()
3696 pfc_queue_conf->rx_pause.tc, tc_max); in validate_rx_pause_config()
3706 struct rte_eth_pfc_queue_conf *pfc_queue_conf) in validate_tx_pause_config() argument
3708 if ((pfc_queue_conf->mode == RTE_ETH_FC_TX_PAUSE) || in validate_tx_pause_config()
3709 (pfc_queue_conf->mode == RTE_ETH_FC_FULL)) { in validate_tx_pause_config()
3710 if (pfc_queue_conf->tx_pause.rx_qid >= dev_info->nb_rx_queues) { in validate_tx_pause_config()
3713 pfc_queue_conf->tx_pause.rx_qid, in validate_tx_pause_config()
3718 if (pfc_queue_conf->tx_pause.tc >= tc_max) { in validate_tx_pause_config()
3721 pfc_queue_conf->tx_pause.tc, tc_max); in validate_tx_pause_config()
3752 struct rte_eth_pfc_queue_conf *pfc_queue_conf) in rte_eth_dev_priority_flow_ctrl_queue_configure() argument
3762 if (pfc_queue_conf == NULL) { in rte_eth_dev_priority_flow_ctrl_queue_configure()
3784 pfc_queue_conf->mode == RTE_ETH_FC_TX_PAUSE) { in rte_eth_dev_priority_flow_ctrl_queue_configure()
3791 pfc_queue_conf->mode == RTE_ETH_FC_RX_PAUSE) { in rte_eth_dev_priority_flow_ctrl_queue_configure()
3801 pfc_queue_conf); in rte_eth_dev_priority_flow_ctrl_queue_configure()
3810 pfc_queue_conf); in rte_eth_dev_priority_flow_ctrl_queue_configure()
3818 dev, pfc_queue_conf)); in rte_eth_dev_priority_flow_ctrl_queue_configure()