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

Function ixgbe_tm_conf_init

dpdk/drivers/net/ixgbe/ixgbe_tm.c:64–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void
65ixgbe_tm_conf_init(struct rte_eth_dev *dev)
66{
67 struct ixgbe_tm_conf *tm_conf =
68 IXGBE_DEV_PRIVATE_TO_TM_CONF(dev->data->dev_private);
69
70 /* initialize shaper profile list */
71 TAILQ_INIT(&tm_conf->shaper_profile_list);
72
73 /* initialize node configuration */
74 tm_conf->root = NULL;
75 TAILQ_INIT(&tm_conf->queue_list);
76 TAILQ_INIT(&tm_conf->tc_list);
77 tm_conf->nb_tc_node = 0;
78 tm_conf->nb_queue_node = 0;
79 tm_conf->committed = false;
80}
81
82void
83ixgbe_tm_conf_uninit(struct rte_eth_dev *dev)

Callers 2

ixgbe_hierarchy_commitFunction · 0.85
eth_ixgbe_dev_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected