| 2048 | } |
| 2049 | |
| 2050 | void |
| 2051 | port_action_handle_query_update(portid_t port_id, uint32_t id, |
| 2052 | enum rte_flow_query_update_mode qu_mode, |
| 2053 | const struct rte_flow_action *action) |
| 2054 | { |
| 2055 | int ret; |
| 2056 | struct rte_flow_error error; |
| 2057 | struct port_indirect_action *pia; |
| 2058 | union port_action_query query; |
| 2059 | |
| 2060 | pia = action_get_by_id(port_id, id); |
| 2061 | if (!pia || !pia->handle) |
| 2062 | return; |
| 2063 | ret = rte_flow_action_handle_query_update(port_id, pia->handle, action, |
| 2064 | &query, qu_mode, &error); |
| 2065 | if (ret) |
| 2066 | port_flow_complain(&error); |
| 2067 | else |
| 2068 | port_action_handle_query_dump(port_id, pia, &query); |
| 2069 | |
| 2070 | } |
| 2071 | |
| 2072 | int |
| 2073 | port_action_handle_query(portid_t port_id, uint32_t id) |
no test coverage detected