| 2978 | } |
| 2979 | |
| 2980 | void |
| 2981 | sfc_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 | |
| 2999 | int |
| 3000 | sfc_flow_start(struct sfc_adapter *sa) |
no test coverage detected