rte_eth_desc_lim(3)

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

πŸ’… rte_eth_desc_lim(3) β€” the descriptor-limits struct, bestie πŸ’…

okay so this is the Library Functions Manual page for rte_eth_desc_lim(3), and it’s literally the glow-up guide for a struct that holds HW descriptor ring limitations. no cap, it’s giving β€œsmall struct, very specific job.” 🫢


🌸 NAME 🌸

rte_eth_desc_lim β€” the struct that tells you what the HW descriptor ring will and will not allow, and she is very precise about it. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_ethdev.h>

πŸ“¦ Data Fields πŸ“¦

  • uint16_t nb_max
  • uint16_t nb_min
  • uint16_t nb_align
  • uint16_t nb_seg_max
  • uint16_t nb_mtu_seg_max

πŸ’– Detailed Description πŸ’–

A structure contains information about HW descriptor ring limitations. that’s the whole vibe: it’s the struct that spills the tea on what the hardware descriptor ring can handle. πŸ¦‹

Definition at line 1364 of file rte_ethdev.h.


🧚 Field Documentation 🧚

uint16_t nb_max πŸ‘‘

Max allowed number of descriptors.

Definition at line 1365 of file rte_ethdev.h.

uint16_t nb_min πŸŽ€

Min allowed number of descriptors.

Definition at line 1366 of file rte_ethdev.h.

uint16_t nb_align ✨

Number of descriptors should be aligned to.

Definition at line 1367 of file rte_ethdev.h.

uint16_t nb_seg_max πŸ”₯

Max allowed number of segments per whole packet.

  • For TSO packet this is the total number of data descriptors allowed by device.

See also: nb_mtu_seg_max

Definition at line 1377 of file rte_ethdev.h.

uint16_t nb_mtu_seg_max 🌈

Max number of segments per one MTU.

  • For non-TSO packet, this is the maximum allowed number of segments in a single transmit packet.
  • For TSO packet each segment within the TSO may span up to this value.

See also: nb_seg_max

Definition at line 1390 of file rte_ethdev.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code.


bestie, the line numbers are exactly what the original says β€” do not come for me, I’m just the messenger πŸ’…

and that’s the page, periodt. this iconic little manual page is from DPDK Version 26.03.0, and it’s rte_eth_desc_lim(3) β€” go off, descriptor limits. πŸ’œ

πŸ“¦ where this page comes from