RTE_PMD_MLX5_DRIVER_EVENT_CB_INFO(3)
π rte_pmd_mlx5_driver_event_cb_info π
okay bestie, so this one lives in the Library Functions Manual, section 3, and it's basically the β¨origin storyβ¨ of one little struct. no cap, it's short, but it's important, so let's get into it.
πΈ NAME πΈ
rte_pmd_mlx5_driver_event_cb_info β the struct that holds all the info related to a driver event π¦
β¨ SYNOPSIS β¨
#include <rte_pmd_mlx5.h>
π Data Fields
enum rte_pmd_mlx5_driver_event_cb_type event
π Detailed Description π
Bestie. This is Information related to a driver event. That's the whole vibe. It's the lil bundle of facts that shows up when a driver event happens and wants to talk to you π
For the record, this is Definition at line 464 of file rte_pmd_mlx5.h, so if you ever need to go touch grass with the actual source, that's where it's at.
π§ Field Documentation π§
π enum rte_pmd_mlx5_driver_event_cb_type event
This one is the type of the driver event for which the callback is called. like, literally the "which event are we even doing rn" field. main character energy, honestly π
Definition at line 466 of file rte_pmd_mlx5.h.
πΈ struct rte_pmd_mlx5_driver_event_cb_queue_info queue
This is information about the queue for which driver event is being called. love that for us π«Ά
Quick heads up though, bestie, this union variant is only valid for these specific events, so don't go using it whenever you feel like it:
RTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_RXQ_CREATERTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_RXQ_DESTROYRTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_TXQ_CREATERTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_TXQ_DESTROY
ngl this is the exact list, no more no less, so if your event isn't one of these four, the queue variant is not the one you should be reading. periodt.
Definition at line 478 of file rte_pmd_mlx5.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so like, don't come for the prose bestie, a robot wrote it π
and that's the whole page!! π« this was DPDK Version 25.11.3, mwah π go forth and handle your driver events, queen ππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms