QUEUE_INFO(3)
π NAME π
rte_pmd_mlx5_driver_event_cb_queue_info β bestie, this is a whole struct (lowkey the documentation page for all its fields) from the DPDK Library Functions Manual, and it's the little info bundle that tells you everything about the queue whenever a driver event fires β¨
πΈ SYNOPSIS πΈ
Include it like this, okay?
#include <rte_pmd_mlx5.h>
π Data Fields
uint16_t dpdk_queue_iduint32_t hw_queue_idconst char * queue_info
π¦ DESCRIPTION π¦
Okay so picture this: a driver event just got called, right? And you're like "wait, which queue even is this??" β that's literally what this struct is for π It holds information about the queue for which the driver event is being called.
It's defined at line 436 of the file rte_pmd_mlx5.h. Slay.
π FIELD DOCUMENTATION π
β uint16_t dpdk_queue_id
The DPDK queue index, periodt. β¨
Fr fr, this one lives at line 438 of rte_pmd_mlx5.h.
π uint32_t hw_queue_id
The HW queue identifier (that's the DevX object ID, iykyk) π«Ά
Also chilling at line 440 of rte_pmd_mlx5.h.
π const char* queue_info
The low-level HW configuration of the port related to the queue, and no cap it comes as a string of "key=value" pairs separated by commas π
β οΈ Listen up bestie: this string is owned by mlx5 PMD β you should NOT free it yourself, and you should copy it into memory that you own. Not me warning you twice. Okay maybe I am. π
For RTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_RXQ_CREATE this will contain:
lro_timeoutβ the configured timeout of the LRO session in microseconds. Set to0if LRO is not configured.max_lro_msg_sizeβ the maximum size of a single LRO message. Provided in granularity of256bytes. Set to0if LRO is not configured.tdβ identifier of transport domain allocated from HW (DevX object ID).lbpkβ set to1if loopback is enabled on the given queue.
For all other events, this field will be set to NULL π
Definition's at line 460 of rte_pmd_mlx5.h, mwah π
π§ AUTHOR π§
Generated automatically by Doxygen for DPDK straight from the source code β the robot wrote it so you don't have to π
That's the whole vibe, bestie β this page came to you courtesy of DPDK, Version 26.03.0 in the Library Functions Manual, and yes, the header up top literally reads rte_pmd_ml..._queue_info(3) because even manpage titles get truncated sometimes ππ ily, go read your driver events π«Ά
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms