RTE_PMD_MLX5_DRIVER_EVENT_CB_QUEUE_INFO(3)

πŸ“¦
version 25.11.3 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

rte_pmd_mlx5_driver_event_cb_queue_info β€” bestie, this is the struct that holds the tea about which queue a driver event is happening on 🫢


✨ SYNOPSIS ✨

#include <rte_pmd_mlx5.h>

🌸 Data Fields 🌸

  • uint16_t dpdk_queue_id
  • uint32_t hw_queue_id
  • const char * queue_info

πŸ¦‹ Detailed Description πŸ¦‹

Okay so picture this: a driver event is being called, and it needs to tell you which queue it's about. That's literally it. This struct is the little info bundle about the queue for which the driver event is being called πŸ’…

πŸ“ Definition at line 436 of file rte_pmd_mlx5.h.

πŸŽ€ Field Documentation πŸŽ€

⭐ uint16_t dpdk_queue_id

The DPDK queue index, no cap. Just the index in DPDK's world 🌈

πŸ“ Definition at line 438 of file rte_pmd_mlx5.h.

πŸ‘‘ uint32_t hw_queue_id

The HW queue identifier β€” aka the DevX object ID. This is the hardware's own name for the queue, its government name if you will πŸ’œ

πŸ“ Definition at line 440 of file rte_pmd_mlx5.h.

🧚 const char* queue_info

Bestie, this one's the main character. It's the low-level HW configuration of the port related to the queue. The way it's presented? A string of "key=value" pairs, separated by commas. Periodt.

⚠️ Important, fr fr: this string is owned by mlx5 PMD and should not be freed by the user, and it should be copied to the memory owned by the user. Not your string, don't touch it, just copy it 🫢

For RTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_RXQ_CREATE this will contain:

  • lro_timeout β€” Configured timeout of LRO session in microseconds. Set to 0 if LRO is not configured.
  • max_lro_msg_size β€” Maximum size of a single LRO message. Provided in granularity of 256 bytes. Set to 0 if LRO is not configured.
  • td β€” Identifier of transport domain allocated from HW (DevX object ID).
  • lbpk β€” Set to 1 if loopback is enabled on the given queue

For all other events, this field will be set to NULL. Yeah, she just leaves the chat 😭

πŸ“ Definition at line 460 of file rte_pmd_mlx5.h.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for DPDK from the source code. (Doxygen really said "I did that" πŸ’…)


Okay bestie that's the whole page, you ate it up πŸ”₯ no notes. Sending you off with the vibe check passing gracefully β€” this is from DPDK, Version 25.11.3, and it's the rte_pmd_ml..._queue_info(3) page from the Library Functions Manual. Go forth and read your queue info πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from