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

Function sfc_flow_stop

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

Source from the content-addressed store, hash-verified

2978}
2979
2980void
2981sfc_flow_stop(struct sfc_adapter *sa)
2982{
2983 struct rte_flow *flow;
2984
2985 SFC_ASSERT(sfc_adapter_is_locked(sa));
2986
2987 TAILQ_FOREACH(flow, &sa->flow_list, entries) {
2988 if (!flow->internal)
2989 sfc_flow_remove(sa, flow, NULL);
2990 }
2991
2992 /*
2993 * MAE counter service is not stopped on flow rule remove to avoid
2994 * extra work. Make sure that it is stopped here.
2995 */
2996 sfc_mae_counter_stop(sa);
2997}
2998
2999int
3000sfc_flow_start(struct sfc_adapter *sa)

Callers 2

sfc_try_startFunction · 0.85
sfc_stopFunction · 0.85

Calls 2

sfc_flow_removeFunction · 0.85
sfc_mae_counter_stopFunction · 0.85

Tested by

no test coverage detected