MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ice_tm_conf_init

Function ice_tm_conf_init

dpdk/drivers/net/ice/ice_tm.c:38–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38void
39ice_tm_conf_init(struct rte_eth_dev *dev)
40{
41 struct ice_pf *pf = ICE_DEV_PRIVATE_TO_PF(dev->data->dev_private);
42
43 /* initialize node configuration */
44 TAILQ_INIT(&pf->tm_conf.shaper_profile_list);
45 pf->tm_conf.root = NULL;
46 TAILQ_INIT(&pf->tm_conf.tc_list);
47 TAILQ_INIT(&pf->tm_conf.vsi_list);
48 TAILQ_INIT(&pf->tm_conf.qgroup_list);
49 TAILQ_INIT(&pf->tm_conf.queue_list);
50 pf->tm_conf.nb_tc_node = 0;
51 pf->tm_conf.nb_vsi_node = 0;
52 pf->tm_conf.nb_qgroup_node = 0;
53 pf->tm_conf.nb_queue_node = 0;
54 pf->tm_conf.committed = false;
55}
56
57void
58ice_tm_conf_uninit(struct rte_eth_dev *dev)

Callers 2

ice_dev_initFunction · 0.85
ice_hierarchy_commitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected