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_event_dma_adapter_op

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                     rte_event_dma_adapter_op(3)

Detailed Description

       A structure used to hold event based DMA operation entry. All the information required for a DMA transfer
       shall be populated in 'struct rte_event_dma_adapter_op' instance.

       Definition at line 159 of file rte_event_dma_adapter.h.

Field Documentation

uint64_tflags
       Flags related to the operation.

       Seealso
           RTE_DMA_OP_FLAG_*

       Definition at line 160 of file rte_event_dma_adapter.h.

   structrte_mempool*op_mp
       Mempool from which op is allocated.

       Definition at line 164 of file rte_event_dma_adapter.h.

   enumrte_dma_status_codestatus
       Status code for this operation.

       Definition at line 166 of file rte_event_dma_adapter.h.

   uint32_trsvd
       Reserved for future use.

       Definition at line 168 of file rte_event_dma_adapter.h.

   uint64_timpl_opaque[2]
       Implementation-specific opaque data. An dma device implementation use this field to hold implementation
       specific values to share between dequeue and enqueue operations. The application should not modify this
       field.

       Definition at line 170 of file rte_event_dma_adapter.h.

   uint64_tuser_meta
       Memory to store user specific metadata. The dma device implementation should not modify this area.

       Definition at line 177 of file rte_event_dma_adapter.h.

   uint64_tevent_meta
       Event metadata of DMA completion event. Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND
       is not supported in OP_NEW mode.

       Seealso
           rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_NEW

           RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND

       Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD is not supported in OP_FWD mode.

       Seealso
           rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD

           RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD

           struct rte_event::event

       Definition at line 181 of file rte_event_dma_adapter.h.

   int16_tdma_dev_id
       DMA device ID to be used with OP_FORWARD mode.

       Seealso
           rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD

       Definition at line 195 of file rte_event_dma_adapter.h.

   uint16_tvchan
       DMA vchan ID to be used with OP_FORWARD mode

       Seealso
           rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD

       Definition at line 199 of file rte_event_dma_adapter.h.

   uint16_tnb_src
       Number of source segments.

       Definition at line 203 of file rte_event_dma_adapter.h.

   uint16_tnb_dst
       Number of destination segments.

       Definition at line 205 of file rte_event_dma_adapter.h.

   structrte_dma_sgesrc_dst_seg[]
       Source and destination segments.

       Definition at line 207 of file rte_event_dma_adapter.h.

Name

       rte_event_dma_adapter_op

Synopsis

       #include <rte_event_dma_adapter.h>

   DataFields
       uint64_t flags
       struct rte_mempool * op_mp
       enum rte_dma_status_codestatus
       uint32_t rsvd
       uint64_t impl_opaque [2]
       uint64_t user_meta
       uint64_t event_meta
       int16_t dma_dev_id
       uint16_t vchan
       uint16_t nb_src
       uint16_t nb_dst
       struct rte_dma_sgesrc_dst_seg []

See Also