Lines Matching defs:flow

48  * rte_flow_desc_item - for flow item conversion.
49 * rte_flow_desc_action - for flow action conversion.
51 * Offset into the desc param or negative value for private flow elements.
58 * Allow PMD private flow item
100 /** Information about known flow pattern items. */
194 /** Information about known flow actions. */
341 /* Get generic flow operations structure from a port. */
352 /* flow API not supported with this driver dev_ops */
357 /* flow API not supported with this device */
368 /* Check whether a flow rule can be created on a given port. */
404 /* Create a flow rule on a given port. */
413 struct rte_flow *flow;
420 flow = ops->create(dev, attr, pattern, actions, error);
422 if (flow == NULL)
425 rte_flow_trace_create(port_id, attr, pattern, actions, flow);
427 return flow;
434 /* Destroy a flow rule on a given port. */
437 struct rte_flow *flow,
448 ret = ops->destroy(dev, flow, error);
452 rte_flow_trace_destroy(port_id, flow, ret);
463 struct rte_flow *flow,
475 ret = ops->actions_update(dev, flow, actions, error);
478 rte_flow_trace_actions_update(port_id, flow, actions, ret);
487 /* Destroy all flow rules associated with a port. */
513 /* Query an existing flow rule. */
516 struct rte_flow *flow,
529 ret = ops->query(dev, flow, action, data, error);
533 rte_flow_trace_query(port_id, flow, action, data, ret);
542 /* Restrict ingress traffic to the defined flow rules. */
569 /* Initialize flow error structure. */
843 * allow PMD private flow item
936 * allow PMD private flow action
980 * Copy flow rule components.
982 * This comprises the flow rule descriptor itself, attributes, pattern and
990 * Source flow rule descriptor.
1104 /** Helper function to convert flow API objects. */
1231 rte_flow_dev_dump(uint16_t port_id, struct rte_flow *flow,
1242 ret = ops->dev_dump(dev, flow, file, error);
2053 struct rte_flow *flow;
2068 flow = dev->flow_fp_ops->async_create(dev, queue_id,
2076 actions_template_index, user_data, flow);
2078 return flow;
2093 struct rte_flow *flow;
2108 flow = dev->flow_fp_ops->async_create_by_index(dev, queue_id,
2114 actions, actions_template_index, user_data, flow);
2116 return flow;
2133 struct rte_flow *flow;
2149 flow = dev->flow_fp_ops->async_create_by_index_with_pattern(dev, queue_id, op_attr,
2158 actions_template_index, user_data, flow);
2160 return flow;
2167 struct rte_flow *flow,
2184 op_attr, flow,
2187 rte_flow_trace_async_destroy(port_id, queue_id, op_attr, flow,
2197 struct rte_flow *flow,
2216 flow, actions,
2220 rte_flow_trace_async_actions_update(port_id, queue_id, op_attr, flow,
2809 struct rte_flow *flow __rte_unused,
2823 struct rte_flow *flow __rte_unused,