RTE_PORT_ETHDEV_READER_PARAMS(3)

πŸ’– rte_port_ethdev_reader_params β€” from the Library Functions Manual, bestie πŸ’–

okay so picture this: you're deep in DPDK land, you got a NIC spitting packets at you, and you need a lil struct to tell the reader which port and which queue to vibe with. that's this. that's the whole girl. her name is rte_port_ethdev_reader_params and she is iconic in the most lowkey way possible. ✨


🌸 NAME 🌸

rte_port_ethdev_reader_params β€” the params struct for the ethdev reader port, fr fr 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_port_ethdev.h>

✨ Data Fields ✨

  • uint16_t port_id
  • uint16_t queue_id

like, that's it. two fields. two lil guys. and yet they run the whole show πŸ’…


πŸ¦‹ Detailed Description πŸ¦‹

ethdev_reader port parameters β€” yeah that's genuinely the whole description, no notes, she's concise like that 😌

just so you have receipts: this is defined at line 25 of the file rte_port_ethdev.h. πŸ“Œ


πŸ“ Field Documentation πŸ“

πŸ’œ uint16_t port_id

NIC RX port ID β€” like, which physical/virtual port we're reading from, bestie.

pinned down at line 27 of rte_port_ethdev.h. 🌈

πŸ’œ uint16_t queue_id

NIC RX queue ID β€” and this one's the specific queue on that port, so you know exactly where the packets are coming from. no wandering, no confusion, main character energy only. πŸ‘‘

pinned down at line 30 of rte_port_ethdev.h. ⭐

heads up: these are uint16_t, so keep them cute and in range β€” the struct isn't doing any babysitting for you, iykyk πŸ™ˆ

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so like, technically not a human author. technically a robot wrote this. and honestly? she ate. πŸ’€βœ¨


and that's the page!! πŸŽ€ footer tea real quick: this is DPDK Version 25.11.3, babes β€” go read your ports, slay, and remember: port_id + queue_id, that's the whole recipe. periodt. πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from