Home
last modified time | relevance | path

Searched refs:tc_max (Results 1 – 5 of 5) sorted by relevance

/dpdk/lib/ethdev/
H A Drte_ethdev.c3680 validate_rx_pause_config(struct rte_eth_dev_info *dev_info, uint8_t tc_max, in validate_rx_pause_config() argument
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()
3705 validate_tx_pause_config(struct rte_eth_dev_info *dev_info, uint8_t tc_max, in validate_tx_pause_config() argument
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()
3776 if (pfc_info.tc_max == 0) { in rte_eth_dev_priority_flow_ctrl_queue_configure()
3800 ret = validate_rx_pause_config(&dev_info, pfc_info.tc_max, in rte_eth_dev_priority_flow_ctrl_queue_configure()
3809 ret = validate_tx_pause_config(&dev_info, pfc_info.tc_max, in rte_eth_dev_priority_flow_ctrl_queue_configure()
H A Drte_ethdev.h1423 uint8_t tc_max; member
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c1828 if (dcb_rx_conf->nb_tcs > pf->tc_max) { in hns3_check_mq_mode()
1830 dcb_rx_conf->nb_tcs, pf->tc_max); in hns3_check_mq_mode()
2838 pf->tc_max = cfg.tc_num; in hns3_get_board_configuration()
2839 if (pf->tc_max > HNS3_MAX_TC_NUM || pf->tc_max < 1) { in hns3_get_board_configuration()
2842 pf->tc_max); in hns3_get_board_configuration()
2843 pf->tc_max = 1; in hns3_get_board_configuration()
2848 pf->tc_max = 1; in hns3_get_board_configuration()
2851 pf->pfc_max = pf->tc_max; in hns3_get_board_configuration()
H A Dhns3_ethdev.h806 uint8_t tc_max; /* max number of tc driver supported */ member
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_ops.c334 pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix); in cnxk_nix_priority_flow_ctrl_queue_info_get()