Searched refs:dcb_rx_conf (Results 1 – 12 of 12) sorted by relevance
1352 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_cfg_validate() local1360 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_cfg_validate()1365 if (dcb_rx_conf->dcb_tc[i] > max_tc) in hns3_dcb_cfg_validate()1366 max_tc = dcb_rx_conf->dcb_tc[i]; in hns3_dcb_cfg_validate()1390 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_info_cfg() local1397 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_info_cfg()1399 pf->pfc_max = (uint8_t)dcb_rx_conf->nb_tcs; in hns3_dcb_info_cfg()1418 for (; i < dcb_rx_conf->nb_tcs; i++) in hns3_dcb_info_cfg()1486 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_dcb_hw_configure() local1505 dcb_rx_conf = &hw->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_dcb_hw_configure()[all …]
2120 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in hns3_check_mq_mode() local2126 dcb_rx_conf = &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in hns3_check_mq_mode()2144 if (dcb_rx_conf->nb_tcs > pf->tc_max) { in hns3_check_mq_mode()2146 dcb_rx_conf->nb_tcs, pf->tc_max); in hns3_check_mq_mode()2150 if (!(dcb_rx_conf->nb_tcs == HNS3_4_TCS || in hns3_check_mq_mode()2151 dcb_rx_conf->nb_tcs == HNS3_8_TCS)) { in hns3_check_mq_mode()2168 i, dcb_rx_conf->dcb_tc[i]); in hns3_check_mq_mode()2171 if (dcb_rx_conf->dcb_tc[i] > max_tc) in hns3_check_mq_mode()2172 max_tc = dcb_rx_conf->dcb_tc[i]; in hns3_check_mq_mode()2176 if (num_tc > dcb_rx_conf->nb_tcs) { in hns3_check_mq_mode()[all …]
91 .dcb_rx_conf = {167 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, in get_eth_conf()
122 .dcb_rx_conf = {208 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf,
10782 struct rte_eth_dcb_rx_conf *dcb_rx_conf; in i40e_parse_dcb_configure() local10787 dcb_rx_conf = &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in i40e_parse_dcb_configure()10788 if (dcb_rx_conf->nb_tcs > I40E_MAX_TRAFFIC_CLASS) { in i40e_parse_dcb_configure()10794 tc_bw = I40E_MAX_PERCENT / dcb_rx_conf->nb_tcs; in i40e_parse_dcb_configure()10795 for (i = 0; i < dcb_rx_conf->nb_tcs; i++) in i40e_parse_dcb_configure()10798 bw_lf = I40E_MAX_PERCENT % dcb_rx_conf->nb_tcs; in i40e_parse_dcb_configure()10803 for (i = 0; i < dcb_rx_conf->nb_tcs; i++) in i40e_parse_dcb_configure()10808 dcb_rx_conf->dcb_tc[i]; in i40e_parse_dcb_configure()10816 if (dcb_rx_conf->nb_tcs == 0) in i40e_parse_dcb_configure()10819 *tc_map = RTE_LEN2MASK(dcb_rx_conf->nb_tcs, uint8_t); in i40e_parse_dcb_configure()
368 * **[uses] user config**: ``dev_conf.rx_adv_conf.dcb_rx_conf``.
1312 struct rte_eth_dcb_rx_conf dcb_rx_conf; member
1226 conf = &dev_conf->rx_adv_conf.dcb_rx_conf; in txgbe_check_mq_mode()3958 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in txgbe_dev_get_dcb_info()
3157 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in txgbe_dcb_rx_config()3521 int tc = dev_conf->rx_adv_conf.dcb_rx_conf.nb_tcs; in txgbe_configure_pb()
3625 ð_conf->rx_adv_conf.dcb_rx_conf; in get_eth_dcb_conf()
2326 conf = &dev_conf->rx_adv_conf.dcb_rx_conf; in ixgbe_check_mq_mode()7470 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in ixgbe_dev_get_dcb_info()
3896 &dev->data->dev_conf.rx_adv_conf.dcb_rx_conf; in ixgbe_dcb_rx_config()