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

Function sfc_flow_free

dpdk/drivers/net/sfc/sfc_flow.c:2442–2452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2440}
2441
2442static void
2443sfc_flow_free(struct sfc_adapter *sa, struct rte_flow *flow)
2444{
2445 const struct sfc_flow_ops_by_spec *ops;
2446
2447 ops = sfc_flow_get_ops_by_spec(flow);
2448 if (ops != NULL && ops->cleanup != NULL)
2449 ops->cleanup(sa, flow);
2450
2451 rte_free(flow);
2452}
2453
2454static int
2455sfc_flow_insert(struct sfc_adapter *sa, struct rte_flow *flow,

Callers 5

sfc_flow_validateFunction · 0.85
sfc_flow_create_lockedFunction · 0.85
sfc_flow_destroy_lockedFunction · 0.85
sfc_flow_flushFunction · 0.85
sfc_flow_finiFunction · 0.85

Calls 3

sfc_flow_get_ops_by_specFunction · 0.85
rte_freeFunction · 0.85
cleanupMethod · 0.80

Tested by

no test coverage detected