logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_bbdev_pmd.h

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                              rte_bbdev_pmd.h(3)

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.

Function Documentation

structrte_bbdev*rte_bbdev_get_named_dev(constchar*name)
       Get the device structure for a named device.

       Parametersname Name of the device

       Returns

           • The device structure pointer, or

           • NULL otherwise

   voidrte_bbdev_pmd_callback_process(structrte_bbdev*dev,enumrte_bbdev_event_typeevent,void*ret_param)
       Executes all the user application registered callbacks for the specific device and event type.

       Parametersdev Pointer to the device structure.
           event Event type.
           ret_param To pass data back to user application.

Macro Definition Documentation

#defineRTE_BBDEV_DEFAULT_MAX_NB_QUEUESRTE_MAX_LCORE
       Suggested value for SW based devices

       Definition at line 27 of file rte_bbdev_pmd.h.

   #defineRTE_BBDEV_QUEUE_SIZE_LIMIT16384
       Suggested value for SW based devices

       Definition at line 30 of file rte_bbdev_pmd.h.

Name

       rte_bbdev_pmd.h

Synopsis

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

   DataStructures
       struct rte_bbdev_opsMacros
       #define RTE_BBDEV_DEFAULT_MAX_NB_QUEUES   RTE_MAX_LCORE
       #define RTE_BBDEV_QUEUE_SIZE_LIMIT   16384

   Typedefstypedef 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)

Typedef Documentation

typedefint(*rte_bbdev_setup_queues_t)(structrte_bbdev*dev,uint16_tnum_queues,intsocket_id)
       Definitions of all functions exported by a driver through the generic structure of type rte_bbdev_opssuppliedintherte_bbdevstructureassociatedwithadevice.

       Definition at line 78 of file rte_bbdev_pmd.h.

See Also