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

Function rte_pie_get_drop_prob

dpdk/app/test/test_pie.c:183–189  ·  view source on GitHub ↗

* Read the drop probability */

Source from the content-addressed store, hash-verified

181 * Read the drop probability
182 */
183static double rte_pie_get_drop_prob(const struct rte_pie_config *pie_cfg,
184 struct rte_pie *pie)
185{
186 /**< Current packet drop probability */
187 RTE_SET_USED(pie_cfg);
188 return pie->drop_prob;
189}
190
191static double rte_pie_get_avg_dq_time(const struct rte_pie_config *pie_cfg,
192 struct rte_pie *pie)

Callers 3

func_test1Function · 0.85
func_test2Function · 0.85
func_test3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected