| 2961 | } |
| 2962 | |
| 2963 | void |
| 2964 | sfc_flow_fini(struct sfc_adapter *sa) |
| 2965 | { |
| 2966 | struct rte_flow *flow; |
| 2967 | void *tmp; |
| 2968 | |
| 2969 | SFC_ASSERT(sfc_adapter_is_locked(sa)); |
| 2970 | |
| 2971 | RTE_TAILQ_FOREACH_SAFE(flow, &sa->flow_list, entries, tmp) { |
| 2972 | if (flow->internal) |
| 2973 | continue; |
| 2974 | |
| 2975 | TAILQ_REMOVE(&sa->flow_list, flow, entries); |
| 2976 | sfc_flow_free(sa, flow); |
| 2977 | } |
| 2978 | } |
| 2979 | |
| 2980 | void |
| 2981 | sfc_flow_stop(struct sfc_adapter *sa) |
no test coverage detected