rte_swx_port_in_stats(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… rte_swx_port_in_stats β€” bestie's guide to the input port stats struct

okay so like, this whole page is rte_swx_port_in_stats(3) β€” that's the thing. it's a struct, it lives in the library functions manual, and it's literally just a little bundle of counters that tell you what your input port has been up to. main character energy for numbers, honestly. πŸŽ€


✨ NAME ✨

rte_swx_port_in_stats β€” the input port statistics counters struct. that's it, that's the name. 🫢


✨ SYNOPSIS ✨

lowkey all you gotta do is pull in the header:

#include <rte_swx_port.h>

🌸 Data Fields 🌸

  • uint64_t n_pkts β€” how many packets showed up πŸ’–
  • uint64_t n_bytes β€” how many bytes those packets were πŸ¦‹
  • uint64_t n_empty β€” how many polls came back empty-handed 😭

🌈 Detailed Description 🌈

it's giving… counters. specifically, input port statistics counters. that's the whole vibe check. 🧚

fr fr this is defined at line 72 of file rte_swx_port.h if you ever need to go look at it with your own two eyes. iykyk πŸ‘‘

πŸ“ Field Documentation πŸ“

⭐ uint64_t n_pkts

Number of packets. that's the count of packets, periodt. defined at line 74 of file rte_swx_port.h. πŸ’…

⭐ uint64_t n_bytes

Number of bytes. the byte tally, bestie β€” not packets, bytes. defined at line 77 of file rte_swx_port.h. ✨

⭐ uint64_t n_empty

Number of empty polls. like when you check the fridge and there's nothing in there β€” that's this counter. defined at line 80 of file rte_swx_port.h. πŸ™ˆ


πŸ’œ Author πŸ’œ

generated automatically by Doxygen for DPDK from the source code. not me having a robot write my bio 😭 slay, i guess.


🫢 okay that's the whole page, no cap. every field, every line number, every crumb of info β€” all here. go forth and count your packets, queen. 🌸

DPDK β€” Version 26.03.0 Β· rte_swx_port_in_stats(3) Β· mwah πŸ’‹ bye bestie, see you at the next manpage πŸ¦‹βœ¨

πŸ“¦ where this page comes from