RTE_SWX_PORT_FD_WRITER_PARAMS(3)

πŸ’– NAME πŸ’–

rte_swx_port_fd_writer_params β€” bestie, it's the params struct for the fd_writer port, and we're gonna go through it field by field, no skips πŸ’…


✨ SYNOPSIS ✨

#include <rte_swx_port_fd.h>

πŸŽ€ Data Fields

  • int fd
  • uint32_t burst_size

πŸ¦‹ Detailed Description πŸ¦‹

Okay so, <hotpink>fd_writer port parameters</hotpink>. That's the whole vibe. It's the struct you hand over when you want an fd_writer port to actually, y'know, exist. 🌸

It lives at line 40 of the file rte_swx_port_fd.h, if you're the type to go peek at the source (and honestly? iconic of you).

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ int fd

File descriptor. And listen β€” it must be valid and it must be opened in non-blocking mode. Both of those. Not one of those. Both. If it's not non-blocking you're gonna have a bad time, fr fr. 😭

Spotted at line 42 of the file rte_swx_port_fd.h.

πŸ“ uint32_t burst_size

TX burst size, babes. That's it, that's the field. ✨

Spotted at line 45 of the file rte_swx_port_fd.h.

🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a girlie, just a doc generator doing its little thing 🫢


And that's the whole page, bestie β€” this one came straight out of DPDK Version 25.11.3, mwah πŸ’‹ stay hydrated, close your file descriptors, and remember: non-blocking mode or it's over for you 🧚✨

πŸ“¦ where this page comes from