rte_flow_error(3)
β¨ NAME β¨
rte_flow_error β bestie, it's the verbose error struct from DPDK's flow API, and it's here to tell you exactly what went wrong π
π¦ SYNOPSIS π¦
#include <rte_flow.h>
π Data Fields π
enum rte_flow_error_type typeβ the type, obviously, but also the cause field iykykconst void * causeβ the thing that did this. the culprit. the perpetrator πconst char * messageβ the human-readable part, so you can, like, actually read it π
πΈ Detailed Description πΈ
okay so. this is the verbose error structure definition β¨ like, this is the one that comes with receipts.
Normally applications allocate this object, and the PMDs fill it in. The message points to a constant string β meaning the application does NOT need to free it, no cap, put the free() down π
BUT. and this is the important bit, listen up bestie π
That pointer is only valid as long as its associated DPDK port remains configured. Like, the moment you close the underlying device or unload the PMD? invalidated. gone. expired. the vibe check failed π So don't go holding onto that pointer like it's a situationship you can text back in three weeks.
Also β and I cannot stress this enough β both cause and message may be NULL regardless of the error type. Yeah. Even if the type says something is wrong, those fields can still just be like... nothing. ghosted. π«₯
Definition lives at line 4378 of file rte_flow.h π
π₯ Field Documentation π₯
π enum rte_flow_error_type type
cause field and error types β like, the ~categories~ of what went down.
Definition at line 4379 of file rte_flow.h.
π const void* cause
object responsible for the error. the one who did this. the main character of the problem π€
Definition at line 4380 of file rte_flow.h.
π§ const char* message
human-readable error message. yes bestie, human-readable, unlike some error codes we could name π
Definition at line 4381 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human, not a girlboss, just a doc generator doing its thing π€β¨
okay that's the whole page bestie, hope this was giving enlightenment π This little scroll of knowledge is served up fresh from DPDK, Version 25.11.3, and that's the whole rte_flow_error(3) situation β mwah, slay, go forth and debug πππ¦
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms