| 2149 | } |
| 2150 | |
| 2151 | int |
| 2152 | rte_flow_pull(uint16_t port_id, |
| 2153 | uint32_t queue_id, |
| 2154 | struct rte_flow_op_result res[], |
| 2155 | uint16_t n_res, |
| 2156 | struct rte_flow_error *error) |
| 2157 | { |
| 2158 | struct rte_eth_dev *dev = &rte_eth_devices[port_id]; |
| 2159 | const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); |
| 2160 | int ret; |
| 2161 | int rc; |
| 2162 | |
| 2163 | ret = ops->pull(dev, queue_id, res, n_res, error); |
| 2164 | rc = ret ? ret : flow_err(port_id, ret, error); |
| 2165 | |
| 2166 | rte_flow_trace_pull(port_id, queue_id, res, n_res, rc); |
| 2167 | |
| 2168 | return rc; |
| 2169 | } |
| 2170 | |
| 2171 | struct rte_flow_action_handle * |
| 2172 | rte_flow_async_action_handle_create(uint16_t port_id, |
no test coverage detected