---
name: "rte_bbdev_pmd.h"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_bbdev_pmd.h"
---

# rte\_bbdev\_pmd.h(3)

## NAME

rte\_bbdev\_pmd.h

## SYNOPSIS

`#include <stdint.h>`\
 `#include <rte_log.h>`\
 `#include 'rte_bbdev.h'`\

### Data Structures

struct **rte\_bbdev\_ops**\

### 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.

This API provides the mechanism for device drivers to register with the bbdev interface. User applications should not use this API.

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**.

## 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.**

**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.**

**Parameters**

*name* **Name of the device**

**Returns**

- •

  **The device structure pointer, or**

- •

  **NULL otherwise**

### 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.**

**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.**
