| 1357 | } |
| 1358 | |
| 1359 | int |
| 1360 | rte_flow_action_handle_query(uint16_t port_id, |
| 1361 | const struct rte_flow_action_handle *handle, |
| 1362 | void *data, |
| 1363 | struct rte_flow_error *error) |
| 1364 | { |
| 1365 | int ret; |
| 1366 | const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); |
| 1367 | |
| 1368 | if (unlikely(!ops)) |
| 1369 | return -rte_errno; |
| 1370 | if (unlikely(!ops->action_handle_query)) |
| 1371 | return rte_flow_error_set(error, ENOSYS, |
| 1372 | RTE_FLOW_ERROR_TYPE_UNSPECIFIED, |
| 1373 | NULL, rte_strerror(ENOSYS)); |
| 1374 | ret = ops->action_handle_query(&rte_eth_devices[port_id], handle, |
| 1375 | data, error); |
| 1376 | ret = flow_err(port_id, ret, error); |
| 1377 | |
| 1378 | rte_flow_trace_action_handle_query(port_id, handle, data, ret); |
| 1379 | |
| 1380 | return ret; |
| 1381 | } |
| 1382 | |
| 1383 | int |
| 1384 | rte_flow_tunnel_decap_set(uint16_t port_id, |
no test coverage detected