rte_pmd_dpaa.h(3)
π rte_pmd_dpaa.h β the group chat manual π
okay bestie, gather round, we're reading rte_pmd_dpaa.h from the Library Functions Manual and honestly? it's short, it's sweet, it's giving β¨nicheβ¨. it's the NXP dpaa PMD-specific header, and the whole vibe is "here's one function, use it responsibly."
πΈ NAME πΈ
rte_pmd_dpaa.h β that's it, that's the name, no notes π
π¦ SYNOPSIS π¦
first thing you do, you pull in the integer types like the icon you are:
#include <stdint.h>
β¨ Functions β¨
here's the whole cast, one (1) member, main character energy:
int rte_pmd_dpaa_set_tx_loopback (uint16_t port, uint8_t on)
π Detailed Description π
so this header is where the NXP dpaa PMD specific functions live. that's the whole brief. PMD-specific, dpaa-flavoured, not like other headers π
β οΈ Warning β EXPERIMENTAL: this API may change, or be removed, without prior notice. no cap, it can literally ghost you with zero warning π don't build your whole personality on it without a backup plan.
oh and btw, this is the definition in file rte_pmd_dpaa.h β just so you know where you are π«Ά
π Function Documentation π
int rte_pmd_dpaa_set_tx_loopback (uint16_t port, uint8_t on)
the moment you've all been waiting for. this one enable/disables the TX loopback. that's the function. slay π
π Parameters π
portβ the port identifier of the Ethernet device. it's the "which one" of the situation, iykyk.onβ1to enable TX loopback,0to disable TX loopback. binary baddie behaviour fr fr.
β Returns β
(0)if successful β we love a clean win π(-ENODEV)ifportis invalid β she doesn't know her, not in the device list π(-EINVAL)if bad parameter β baby that input was not it π
π Author π
Generated automatically by Doxygen for DPDK from the source code. so technically a robot wrote this, and honestly? it ate. π€β¨
okay pookie that's the whole page, no more lore, go forth and loop back those TXs responsibly π¦πΈπ
sign-off time: this lil doc came from DPDK, Version 25.11.3 β the manual page you're holding is rte_pmd_dpaa.h(3), straight from the source code. mwah, take care of her πππ
π¦ 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