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

Function rte_flow_action_handle_query

dpdk/lib/ethdev/rte_flow.c:1359–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357}
1358
1359int
1360rte_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
1383int
1384rte_flow_tunnel_decap_set(uint16_t port_id,

Callers 1

port_action_handle_queryFunction · 0.85

Calls 4

rte_flow_ops_getFunction · 0.85
rte_flow_error_setFunction · 0.85
rte_strerrorFunction · 0.85
flow_errFunction · 0.85

Tested by

no test coverage detected