Home
last modified time | relevance | path

Searched refs:tm_conf (Results 1 – 20 of 20) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_tm.c44 pf->tm_conf.root = NULL; in hns3_tm_conf_init()
47 pf->tm_conf.nb_tc_node = 0; in hns3_tm_conf_init()
77 pf->tm_conf.nb_tc_node = 0; in hns3_tm_conf_uninit()
81 rte_free(pf->tm_conf.root); in hns3_tm_conf_uninit()
82 pf->tm_conf.root = NULL; in hns3_tm_conf_uninit()
308 if (pf->tm_conf.root && pf->tm_conf.root->id == node_id) { in hns3_tm_node_search()
310 return pf->tm_conf.root; in hns3_tm_node_search()
479 if (pf->tm_conf.root) { in hns3_tm_port_node_add()
963 struct hns3_tm_conf *tm_conf = &pf->tm_conf; in hns3_tm_configure_check() local
1252 if (pf->tm_conf.root && !pf->tm_conf.committed) in hns3_tm_dev_start_proc()
[all …]
H A Dhns3_ethdev.h831 struct hns3_tm_conf tm_conf; member
H A Dhns3_ethdev_dump.c769 struct hns3_tm_conf *conf = &pf->tm_conf; in get_tm_conf_info()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c74 tm_conf->root = NULL; in ixgbe_tm_conf_init()
77 tm_conf->nb_tc_node = 0; in ixgbe_tm_conf_init()
100 tm_conf->nb_tc_node = 0; in ixgbe_tm_conf_uninit()
101 if (tm_conf->root) { in ixgbe_tm_conf_uninit()
102 rte_free(tm_conf->root); in ixgbe_tm_conf_uninit()
103 tm_conf->root = NULL; in ixgbe_tm_conf_uninit()
341 if (tm_conf->root && tm_conf->root->id == node_id) { in ixgbe_tm_node_search()
343 return tm_conf->root; in ixgbe_tm_node_search()
621 if (tm_conf->root) { in ixgbe_node_add()
789 tm_conf->root = NULL; in ixgbe_node_delete()
[all …]
H A Dixgbe_ethdev.h499 struct ixgbe_tm_conf tm_conf; member
571 (&((struct ixgbe_adapter *)adapter)->tm_conf)
H A Dixgbe_ethdev.c2576 struct ixgbe_tm_conf *tm_conf = in ixgbe_dev_start() local
2818 if (tm_conf->root && !tm_conf->committed) in ixgbe_dev_start()
2861 struct ixgbe_tm_conf *tm_conf = in ixgbe_dev_stop() local
2913 tm_conf->committed = false; in ixgbe_dev_stop()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c74 tm_conf->root = NULL; in txgbe_tm_conf_init()
77 tm_conf->nb_tc_node = 0; in txgbe_tm_conf_init()
99 tm_conf->nb_tc_node = 0; in txgbe_tm_conf_uninit()
100 if (tm_conf->root) { in txgbe_tm_conf_uninit()
101 rte_free(tm_conf->root); in txgbe_tm_conf_uninit()
102 tm_conf->root = NULL; in txgbe_tm_conf_uninit()
330 if (tm_conf->root && tm_conf->root->id == node_id) { in txgbe_tm_node_search()
332 return tm_conf->root; in txgbe_tm_node_search()
609 if (tm_conf->root) { in txgbe_node_add()
776 tm_conf->root = NULL; in txgbe_node_delete()
[all …]
H A Dtxgbe_ethdev.h367 struct txgbe_tm_conf tm_conf; member
419 (&((struct txgbe_adapter *)(dev)->data->dev_private)->tm_conf)
H A Dtxgbe_ethdev.c1629 struct txgbe_tm_conf *tm_conf = TXGBE_DEV_TM_CONF(dev); in txgbe_dev_start() local
1822 if (tm_conf->root && !tm_conf->committed) in txgbe_dev_start()
1859 struct txgbe_tm_conf *tm_conf = TXGBE_DEV_TM_CONF(dev); in txgbe_dev_stop() local
1910 tm_conf->committed = false; in txgbe_dev_stop()
/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c48 hw->tm_conf.root = NULL; in ice_dcf_tm_conf_init()
51 hw->tm_conf.nb_tc_node = 0; in ice_dcf_tm_conf_init()
52 hw->tm_conf.nb_vsi_node = 0; in ice_dcf_tm_conf_init()
69 hw->tm_conf.nb_vsi_node = 0; in ice_dcf_tm_conf_uninit()
74 hw->tm_conf.nb_tc_node = 0; in ice_dcf_tm_conf_uninit()
75 if (hw->tm_conf.root) { in ice_dcf_tm_conf_uninit()
76 rte_free(hw->tm_conf.root); in ice_dcf_tm_conf_uninit()
77 hw->tm_conf.root = NULL; in ice_dcf_tm_conf_uninit()
99 if (hw->tm_conf.root && hw->tm_conf.root->id == node_id) { in ice_dcf_tm_node_search()
101 return hw->tm_conf.root; in ice_dcf_tm_node_search()
[all …]
H A Dice_dcf.h114 struct ice_dcf_tm_conf tm_conf; member
H A Dice_dcf_ethdev.c546 if (hw->tm_conf.root && !hw->tm_conf.committed) { in ice_dcf_dev_start()
680 hw->tm_conf.committed = false; in ice_dcf_dev_stop()
H A Dice_dcf_parent.c149 if (hw->tm_conf.committed) in ice_dcf_vsi_update_service_handler()
H A Dice_dcf.c726 if (hw->tm_conf.committed) { in ice_dcf_uninit_hw()
/dpdk/drivers/net/i40e/
H A Di40e_tm.c74 pf->tm_conf.root = NULL; in i40e_tm_conf_init()
77 pf->tm_conf.nb_tc_node = 0; in i40e_tm_conf_init()
99 pf->tm_conf.nb_tc_node = 0; in i40e_tm_conf_uninit()
100 if (pf->tm_conf.root) { in i40e_tm_conf_uninit()
101 rte_free(pf->tm_conf.root); in i40e_tm_conf_uninit()
102 pf->tm_conf.root = NULL; in i40e_tm_conf_uninit()
331 if (pf->tm_conf.root && pf->tm_conf.root->id == node_id) { in i40e_tm_node_search()
333 return pf->tm_conf.root; in i40e_tm_node_search()
511 if (pf->tm_conf.root) { in i40e_node_add()
668 pf->tm_conf.root = NULL; in i40e_node_delete()
[all …]
H A Di40e_ethdev.h1180 struct i40e_tm_conf tm_conf; member
H A Di40e_ethdev.c2488 if (pf->tm_conf.root && !pf->tm_conf.committed) in i40e_dev_start()
2561 pf->tm_conf.committed = false; in i40e_dev_stop()
/dpdk/drivers/net/iavf/
H A Diavf_tm.c60 vf->tm_conf.root = NULL; in iavf_tm_conf_init()
63 vf->tm_conf.nb_tc_node = 0; in iavf_tm_conf_init()
85 vf->tm_conf.nb_tc_node = 0; in iavf_tm_conf_uninit()
86 if (vf->tm_conf.root) { in iavf_tm_conf_uninit()
87 rte_free(vf->tm_conf.root); in iavf_tm_conf_uninit()
88 vf->tm_conf.root = NULL; in iavf_tm_conf_uninit()
109 if (vf->tm_conf.root && vf->tm_conf.root->id == node_id) { in iavf_tm_node_search()
111 return vf->tm_conf.root; in iavf_tm_node_search()
330 if (vf->tm_conf.root) { in iavf_tm_node_add()
412 vf->tm_conf.nb_tc_node++; in iavf_tm_node_add()
[all …]
H A Diavf.h268 struct iavf_tm_conf tm_conf; member
H A Diavf_rxtx.c827 vf->tm_conf.committed) { in iavf_dev_tx_queue_setup()