rte_bbdev_pmd.h(3)
π rte_bbdev_pmd.h β the driver-side glow-up π
okay bestie, listen. this is a page from the Library Functions Manual, and it's all about rte_bbdev_pmd.h β the header that lets device drivers slide into the bbdev interface. it's giving backstage pass energy, not main-character-app energy. iykyk π
β¨ NAME β¨
rte_bbdev_pmd.h β the driver-facing bbdev header, no cap π
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <rte_log.h>
#include 'rte_bbdev.h'
heads up: that last include is written with single quotes in the original, bestie. i'm not touching it. copy it exactly or the compiler will absolutely side-eye you π
π¦ Data Structures
struct rte_bbdev_opsβ yes, the whole vibe lives in one struct
π Macros
#define RTE_BBDEV_DEFAULT_MAX_NB_QUEUES RTE_MAX_LCORE#define RTE_BBDEV_QUEUE_SIZE_LIMIT 16384
π§ Typedefs
typedef int(* rte_bbdev_setup_queues_t) (struct rte_bbdev *dev, uint16_t
num_queues, int socket_id)
π Functions
struct rte_bbdev * rte_bbdev_get_named_dev (const char *name)
void rte_bbdev_pmd_callback_process (struct rte_bbdev *dev, enum
rte_bbdev_event_type event, void *ret_param)
π Detailed Description π
Wireless base band driver-facing APIs. periodt.
This API provides the mechanism for device drivers to register with the bbdev interface. User applications should not use this API. like, fr fr β this is the drivers' group chat, not yours. π
Definition in file rte_bbdev_pmd.h.
π Macro Definition Documentation π
π #define RTE_BBDEV_DEFAULT_MAX_NB_QUEUES RTE_MAX_LCORE
Suggested value for SW based devices β¨
Definition at line 27 of file rte_bbdev_pmd.h.
π #define RTE_BBDEV_QUEUE_SIZE_LIMIT 16384
Suggested value for SW based devices β¨
Definition at line 30 of file rte_bbdev_pmd.h.
not me realizing both macros have the exact same one-line description. iconic. we stan a consistent king π
π Typedef Documentation π
π¦ typedef int(* rte_bbdev_setup_queues_t) (struct rte_bbdev *dev, uint16_t num_queues, int socket_id)
Definitions of all functions exported by a driver through the generic structure of type rte_bbdev_ops supplied in the rte_bbdev structure associated with a device. so basically it's the roster of everything a driver hands over, all bundled in rte_bbdev_ops, which itself rides inside the rte_bbdev struct for that device. chef's kiss π«Ά
Definition at line 78 of file rte_bbdev_pmd.h.
β Function Documentation β
π« struct rte_bbdev * rte_bbdev_get_named_dev (const char * name)
Get the device structure for a named device. like a little lookup, but make it fashion.
Parameters
nameβ Name of the device
Returns
- The device structure pointer, or
NULLotherwise
so either you get your device, or you get NULL and you're on your own, bestie. always check. π
π« void rte_bbdev_pmd_callback_process (struct rte_bbdev * dev, enum rte_bbdev_event_type event, void * ret_param)
Executes all the user application registered callbacks for the specific device and event type. it's the group-notification moment β everybody who signed up for that device + that event gets pinged. π₯
Parameters
devβ Pointer to the device structure.eventβ Event type.ret_paramβ To pass data back to user application.
π Author π
Generated automatically by Doxygen for DPDK from the source code. yes, a robot wrote this and honestly? it ate. π€β¨
and that's the whole page, bestie π«Ά this was DPDK, Version 25.11.3, and the manual reference is rte_bbdev_pmd.h(3) β slay, stay fluffy, and remember: drivers only! π
πΈπ
π¦ 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