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

Function cpfl_flow_free

dpdk/drivers/net/cpfl/cpfl_ethdev.c:1079–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077}
1078
1079static void
1080cpfl_flow_free(struct cpfl_vport *vport)
1081{
1082 struct rte_flow *p_flow;
1083
1084 while ((p_flow = TAILQ_FIRST(&vport->itf.flow_list))) {
1085 TAILQ_REMOVE(&vport->itf.flow_list, p_flow, next);
1086 if (p_flow->engine->free)
1087 p_flow->engine->free(p_flow);
1088 rte_free(p_flow);
1089 }
1090}
1091
1092static int
1093cpfl_p2p_queue_grps_del(struct idpf_vport *vport)

Callers 1

cpfl_dev_closeFunction · 0.85

Calls 1

rte_freeFunction · 0.85

Tested by

no test coverage detected