MCPcopy Index your code
hub / github.com/F-Stack/f-stack / flow_err

Function flow_err

dpdk/lib/ethdev/rte_flow.c:321–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321static int
322flow_err(uint16_t port_id, int ret, struct rte_flow_error *error)
323{
324 if (ret == 0)
325 return 0;
326 if (rte_eth_dev_is_removed(port_id))
327 return rte_flow_error_set(error, EIO,
328 RTE_FLOW_ERROR_TYPE_UNSPECIFIED,
329 NULL, rte_strerror(EIO));
330 return ret;
331}
332
333/* Get generic flow operations structure from a port. */
334const struct rte_flow_ops *

Callers 15

rte_flow_validateFunction · 0.85
rte_flow_createFunction · 0.85
rte_flow_destroyFunction · 0.85
rte_flow_actions_updateFunction · 0.85
rte_flow_flushFunction · 0.85
rte_flow_queryFunction · 0.85
rte_flow_isolateFunction · 0.85
rte_flow_dev_dumpFunction · 0.85
rte_flow_get_aged_flowsFunction · 0.85

Calls 3

rte_eth_dev_is_removedFunction · 0.85
rte_flow_error_setFunction · 0.85
rte_strerrorFunction · 0.85

Tested by

no test coverage detected