MCPcopy Create free account
hub / github.com/F-Stack/f-stack / port_action_handle_query_update

Function port_action_handle_query_update

dpdk/app/test-pmd/config.c:2050–2070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2048}
2049
2050void
2051port_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
2072int
2073port_action_handle_query(portid_t port_id, uint32_t id)

Callers 1

cmd_flow_parsedFunction · 0.85

Calls 4

action_get_by_idFunction · 0.85
port_flow_complainFunction · 0.70

Tested by

no test coverage detected