RTE_PMD_MLX5_DRIVER_EVENT_CB_INFO(3)

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

πŸ’– 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_CREATE
  • RTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_RXQ_DESTROY
  • RTE_PMD_MLX5_DRIVER_EVENT_CB_TYPE_TXQ_CREATE
  • RTE_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