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 β€” 1 to enable TX loopback, 0 to disable TX loopback. binary baddie behaviour fr fr.

⭐ Returns ⭐

  • (0) if successful β€” we love a clean win πŸ†
  • (-ENODEV) if port is 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