rte_port_f...rop_params(3)

✨ rte_port_fd_writer_nodrop_params ✨

okay bestie, buckle up πŸ’– this one lives in the Library Functions Manual, and it is not a function, it's a struct β€” a lil bundle of settings you hand over to the fd writer that refuses to drop your packets. let's get into it 🫢


🌸 NAME 🌸

rte_port_fd_writer_nodrop_params β€” the parameter bundle for the fd_writer_nodrop port πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_port_fd.h>

πŸ’« Data Fields πŸ’«

int fd
uint32_t n_retries

πŸ¦‹ Detailed Description πŸ¦‹

so like, this is the fd_writer_nodrop port parameters struct ✨ it's the little bag of knobs you fill in when you want a file-descriptor writer port that will not yeet your packets into the void.

it's defined at line 54 of the file rte_port_fd.h if you wanna go look at it with your own two eyes πŸ‘€


πŸ“ Field Documentation πŸ“

πŸ’œ int fd

a file descriptor. also, per the docs: recommended write burst size. and here's the tea β€” the actual burst size can be bigger or smaller than this value 😭 so don't come for it if it's not exact, it's giving suggestion not law.

defined at line 56 of rte_port_fd.h πŸ“

πŸ”₯ uint32_t n_retries

the maximum number of retries, and 0 means no limit β€” zero chill, infinite attempts, main character energy πŸ‘‘

defined at line 64 of rte_port_fd.h πŸ“


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. not a human, just a very diligent robot βœ¨πŸ€–


okay that's the whole thing, you ate that πŸ’… and just so you know where this came from: it's DPDK, Version 25.11.3, and yeah the header/footer name got chopped to rte_port_f...rop_params(3) which is lowkey iconic in a cursed way πŸ’€ anyway ily, go read the header file. byeeee πŸŽ€πŸŒˆπŸ¦‹

πŸ“¦ where this page comes from