|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Go to the source code of this file.
Data Structures | |
| struct | EthFlowDef |
| EthFace rte_flow pattern. More... | |
Typedefs | |
| typedef struct EthFlowDef | EthFlowDef |
| EthFace rte_flow pattern. | |
| typedef enum __rte_packed_begin EthFlowDefResult | EthFlowDefResult |
Enumerations | |
| enum | { EthFlowDef_MaxVariant = 8 , EthFlowDef_NPatterns = 7 } |
Functions | |
| EthFlowDefResult | EthFlowDef_Prepare (EthFlowDef *flow, const EthLocator *loc, int variant, uint32_t mark, const uint16_t queues[], int nQueues) |
| Prepare rte_flow definition from locator. | |
| void | EthFlowDef_DebugPrint (const EthFlowDef *flow, const char *msg) |
| void | EthFlowDef_UpdateError (const EthFlowDef *flow, struct rte_flow_error *error) |
Update error->cause to be an offset if it's within flow . | |
Variables | |
| EthFlowDefResultValid = RTE_BIT32(0) | |
| EthFlowDefResultMarked = RTE_BIT32(1) | |
| typedef struct EthFlowDef EthFlowDef |
EthFace rte_flow pattern.
| enum __rte_packed_begin EthFlowDefResult |
| void EthFlowDef_DebugPrint | ( | const EthFlowDef * | flow, |
| const char * | msg ) |
| EthFlowDefResult EthFlowDef_Prepare | ( | EthFlowDef * | flow, |
| const EthLocator * | loc, | ||
| int | variant, | ||
| uint32_t | mark, | ||
| const uint16_t | queues[], | ||
| int | nQueues ) |
Prepare rte_flow definition from locator.
| [out] | flow | Flow definition. |
| loc | Locator. | |
| variant | Variant index within [0:EthFlowDef_MaxVariant). | |
| mark | FDIR mark ID. | |
| queues | Dispatched queues. |
| void EthFlowDef_UpdateError | ( | const EthFlowDef * | flow, |
| struct rte_flow_error * | error ) |
Update error->cause to be an offset if it's within flow .
| EthFlowDefResultMarked = RTE_BIT32(1) |
| EthFlowDefResultValid = RTE_BIT32(0) |