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

Function rte_flow_action_handle_update

dpdk/lib/ethdev/rte_flow.c:1335–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1333}
1334
1335int
1336rte_flow_action_handle_update(uint16_t port_id,
1337 struct rte_flow_action_handle *handle,
1338 const void *update,
1339 struct rte_flow_error *error)
1340{
1341 int ret;
1342 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error);
1343
1344 if (unlikely(!ops))
1345 return -rte_errno;
1346 if (unlikely(!ops->action_handle_update))
1347 return rte_flow_error_set(error, ENOSYS,
1348 RTE_FLOW_ERROR_TYPE_UNSPECIFIED,
1349 NULL, rte_strerror(ENOSYS));
1350 ret = ops->action_handle_update(&rte_eth_devices[port_id], handle,
1351 update, error);
1352 ret = flow_err(port_id, ret, error);
1353
1354 rte_flow_trace_action_handle_update(port_id, handle, update, ret);
1355
1356 return ret;
1357}
1358
1359int
1360rte_flow_action_handle_query(uint16_t port_id,

Callers 1

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