Searched refs:dcb_rx_conf (Results 1 – 11 of 11) sorted by relevance
1396 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_parse_num_tc() local1401 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_parse_num_tc()1403 if (dcb_rx_conf->dcb_tc[i] > max_tc_id) in hns3_dcb_parse_num_tc()1404 max_tc_id = dcb_rx_conf->dcb_tc[i]; in hns3_dcb_parse_num_tc()1414 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_info_cfg() local1421 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_info_cfg()1423 pf->pfc_max = (uint8_t)dcb_rx_conf->nb_tcs; in hns3_dcb_info_cfg()1442 for (; i < dcb_rx_conf->nb_tcs; i++) in hns3_dcb_info_cfg()1510 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_hw_configure() local1530 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_hw_configure()[all …]
1811 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_check_mq_mode() local1825 dcb_rx_conf = &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_check_mq_mode()1828 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()1834 if (!(dcb_rx_conf->nb_tcs == HNS3_4_TCS || in hns3_check_mq_mode()1835 dcb_rx_conf->nb_tcs == HNS3_8_TCS)) { in hns3_check_mq_mode()1852 i, dcb_rx_conf->dcb_tc[i]); in hns3_check_mq_mode()1855 if (dcb_rx_conf->dcb_tc[i] > max_tc) in hns3_check_mq_mode()1856 max_tc = dcb_rx_conf->dcb_tc[i]; in hns3_check_mq_mode()1860 if (num_tc > dcb_rx_conf->nb_tcs) { in hns3_check_mq_mode()[all …]
90 .dcb_rx_conf = {168 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, in get_eth_conf()
10462 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in i40e_parse_dcb_configure() local10467 dcb_rx_conf = &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in i40e_parse_dcb_configure()10468 if (dcb_rx_conf->nb_tcs > I40E_MAX_TRAFFIC_CLASS) { in i40e_parse_dcb_configure()10474 tc_bw = I40E_MAX_PERCENT / dcb_rx_conf->nb_tcs; in i40e_parse_dcb_configure()10475 for (i = 0; i < dcb_rx_conf->nb_tcs; i++) in i40e_parse_dcb_configure()10478 bw_lf = I40E_MAX_PERCENT % dcb_rx_conf->nb_tcs; in i40e_parse_dcb_configure()10483 for (i = 0; i < dcb_rx_conf->nb_tcs; i++) in i40e_parse_dcb_configure()10488 dcb_rx_conf->dcb_tc[i]; in i40e_parse_dcb_configure()10496 if (dcb_rx_conf->nb_tcs == 0) in i40e_parse_dcb_configure()10499 *tc_map = RTE_LEN2MASK(dcb_rx_conf->nb_tcs, uint8_t); in i40e_parse_dcb_configure()
355 * **[uses] user config**: ``dev_conf.rx_adv_conf.dcb_rx_conf``.
1591 struct rte_eth_dcb_rx_conf dcb_rx_conf; member
3301 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in txgbe_dcb_rx_config()3665 int tc = dev_conf->rx_adv_conf.dcb_rx_conf.nb_tcs; in txgbe_configure_pb()
1459 conf = &dev_conf->rx_adv_conf.dcb_rx_conf; in txgbe_check_mq_mode()4661 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in txgbe_dev_get_dcb_info()
3915 ð_conf->rx_adv_conf.dcb_rx_conf; in get_eth_dcb_conf()
2348 conf = &dev_conf->rx_adv_conf.dcb_rx_conf; in ixgbe_check_mq_mode()7276 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in ixgbe_dev_get_dcb_info()
3935 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in ixgbe_dcb_rx_config()