DPDK
17.02.1
|
Go to the source code of this file.
Data Structures | |
struct | rte_flow_ops |
Functions | |
static int | rte_flow_error_set (struct rte_flow_error *error, int code, enum rte_flow_error_type type, const void *cause, const char *message) |
struct rte_flow_ops * | rte_flow_ops_get (uint8_t port_id, struct rte_flow_error *error) |
RTE generic flow API (driver side)
This file provides implementation helpers for internal use by PMDs, they are not intended to be exposed to applications and are not subject to ABI versioning.
Definition in file rte_flow_driver.h.
|
inlinestatic |
Initialize generic flow error structure.
This function also sets rte_errno to a given value.
[out] | error | Pointer to flow error structure (may be NULL). |
code | Related error code (rte_errno). | |
type | Cause field and error types. | |
cause | Object responsible for the error. | |
message | Human-readable error message. |
Definition at line 145 of file rte_flow_driver.h.
|
read |
Get generic flow operations structure from a port.
port_id | Port identifier to query. | |
[out] | error | Pointer to flow error structure. |