rte_eth_rxseg_capa(3)

πŸ’– rte_eth_rxseg_capa β€” bestie, it's the Rx segmentation capability struct πŸ’–

okay so this is rte_eth_rxseg_capa, straight out of the DPDK Library Functions Manual, and it's literally the little glow-up card that tells you what an Ethernet device can do when it comes to splitting up receive buffers. she's giving "capability flags, but make it a struct." πŸ’…


✨ SYNOPSIS ✨

#include <rte_ethdev.h>

πŸŽ€ Data Fields

  • __extension__ uint32_t multi_pools:1
  • uint32_t offset_allowed:1
  • uint32_t offset_align_log2:4
  • uint16_t max_nseg
  • uint16_t reserved

🌸 Detailed Description 🌸

Warning 🚨 EXPERIMENTAL: this structure may change without prior notice.

no cap, bestie β€” this one is experimental, so don't get too attached. she can change on you with zero heads-up, and that's just the vibe. πŸ™ˆ

so what is she? Ethernet device Rx buffer segmentation capabilities. that's it, that's the whole personality. πŸ’–

Definition at line 1756 of file rte_ethdev.h.


πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ __extension__ uint32_t multi_pools

she supports receiving to multiple pools. iconic behavior, fr fr. multiple pools, one queen. ✨

Definition at line 1758 of file rte_ethdev.h.

πŸ¦‹ uint32_t offset_allowed

she supports buffer offsets. yes bestie, you can shift that buffer around. we love a flexible icon. 🌈

Definition at line 1759 of file rte_ethdev.h.

πŸŽ€ uint32_t offset_align_log2

this is the required offset alignment. so like, the offset has to line up exactly the way she wants it to. read the requirement, respect the requirement, periodt. πŸ’…

Definition at line 1760 of file rte_ethdev.h.

⭐ uint16_t max_nseg

the maximum amount of segments to split into. that's the limit, bestie β€” she will not be split further than this. πŸ’€

Definition at line 1761 of file rte_ethdev.h.

πŸ“ uint16_t reserved

reserved field. don't touch, don't look at her too long, she's just sitting there holding space. 🫢

Definition at line 1762 of file rte_ethdev.h.


🌟 Author 🌟

Generated automatically by Doxygen for DPDK from the source code. (the robots wrote this one, not me, and honestly? they ate. πŸ€–βœ¨)


and that's the whole page, bestie!! πŸ’– sign-off time: this lil beauty is from DPDK, Version 25.11.3, and she lives her life under the rte_eth_rxseg_capa(3) manual page. go read your rx segments, you main character. πŸ§šβ€β™€οΈπŸŒΈπŸ¦‹

πŸ“¦ where this page comes from