| 2558 | } |
| 2559 | |
| 2560 | static struct rte_flow * |
| 2561 | sfc_flow_create(struct rte_eth_dev *dev, |
| 2562 | const struct rte_flow_attr *attr, |
| 2563 | const struct rte_flow_item pattern[], |
| 2564 | const struct rte_flow_action actions[], |
| 2565 | struct rte_flow_error *error) |
| 2566 | { |
| 2567 | struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); |
| 2568 | struct rte_flow *flow; |
| 2569 | |
| 2570 | sfc_adapter_lock(sa); |
| 2571 | flow = sfc_flow_create_locked(sa, false, attr, pattern, actions, error); |
| 2572 | sfc_adapter_unlock(sa); |
| 2573 | |
| 2574 | return flow; |
| 2575 | } |
| 2576 | |
| 2577 | struct rte_flow * |
| 2578 | sfc_flow_create_locked(struct sfc_adapter *sa, bool internal, |
nothing calls this directly
no test coverage detected