| 2440 | } |
| 2441 | |
| 2442 | static void |
| 2443 | sfc_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 | |
| 2454 | static int |
| 2455 | sfc_flow_insert(struct sfc_adapter *sa, struct rte_flow *flow, |
no test coverage detected