NB_RANGES_ALLOC(3)

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

πŸ’– NAME πŸ’–

rte_eth_representor_info β€” okay bestie, this is the DPDK header struct that holds all the representor info for an Ethernet device ✨ (yes, it's a rte_ethdev.h icon, we stan)

🌸 SYNOPSIS 🌸

#include <rte_ethdev.h>

πŸŽ€ Data Fields πŸŽ€

  • uint16_t controller
  • uint16_t pf
  • uint32_t nb_ranges_alloc
  • uint32_t nb_ranges
  • struct rte_eth_representor_range ranges []

πŸ¦‹ Detailed Description πŸ¦‹

πŸ’€ Warning β€” EXPERIMENTAL: this structure may change without prior notice. Like, fr fr, don't get too attached to the layout, it could switch up on you any time. No cap.

So lowkey this whole thing is the Ethernet device representor information β€” the main character struct 😌

It's defined at line 5773 of the file rte_ethdev.h (iykyk, go look, it's right there).


πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint16_t controller

The Controller ID of the caller device 🫢 β€” like, which controller this device is repping.

Definition at line 5774 of file rte_ethdev.h.


πŸ’œ uint16_t pf

The Physical function ID of the caller device ✨ β€” the PF, the physical one, the OG.

Definition at line 5775 of file rte_ethdev.h.


πŸ’œ uint32_t nb_ranges_alloc

The size of the ranges array πŸŽ€ β€” literally how much room you allocated, that's it, that's the whole vibe.

Definition at line 5776 of file rte_ethdev.h.


πŸ’œ uint32_t nb_ranges

The number of initialized ranges 🌈 β€” not the size of the array bestie, the ones you actually filled in.

Definition at line 5777 of file rte_ethdev.h.


πŸ’œ struct rte_eth_representor_range ranges[]

The Representor ID range πŸ”₯ β€” plural ranges, she's an array, she contains ranges. Iconic.

Definition at line 5778 of file rte_ethdev.h.


⭐ Author ⭐

Generated automatically by Doxygen for DPDK from the source code πŸ€– β€” yeah, bestie, no human typed this one out, the robot did it.


okay that's the whole page, mwah πŸ’‹ β€” this was rte_eth_representor_info(3) from DPDK, Version 26.03.0, and yes the footer said the same thing, we just said it cuter πŸŽ€βœ¨

πŸ“¦ where this page comes from