History log of /dpdk/lib/eventdev/rte_event_dma_adapter.c (Results 1 – 14 of 14)
Revision Date Author Comments
# cfa81500 24-Jun-2024 Pavan Nikhilesh <pbhagavatula@marvell.com>

eventdev/dma: fix missing response info in forward mode

When in OP_FWD mode the DMA completion response should
use the rte_event_dma_adapter_op::event_meta to inject
the completion event.

Bugzilla

eventdev/dma: fix missing response info in forward mode

When in OP_FWD mode the DMA completion response should
use the rte_event_dma_adapter_op::event_meta to inject
the completion event.

Bugzilla ID: 1469
Fixes: 588dcac23610 ("eventdev/dma: reorganize event DMA ops")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>
Tested-by: Song Jiale <songx.jiale@intel.com>

show more ...


# 588dcac2 07-Jun-2024 Pavan Nikhilesh <pbhagavatula@marvell.com>

eventdev/dma: reorganize event DMA ops

Re-organize event DMA ops structure to allow holding
source and destination pointers without the need for
additional memory, the mempool allocating memory for

eventdev/dma: reorganize event DMA ops

Re-organize event DMA ops structure to allow holding
source and destination pointers without the need for
additional memory, the mempool allocating memory for
rte_event_dma_adapter_ops can size the structure to
accommodate all the needed source and destination
pointers.

Add multiple words for holding user metadata, adapter
implementation specific metadata and event metadata.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# c6552d9a 04-Mar-2024 Tyler Retzlaff <roretzla@linux.microsoft.com>

lib: move alignment attribute on types for MSVC

The current location used for __rte_aligned(a) for alignment of types
is not compatible with MSVC. There is only a single location accepted
by both to

lib: move alignment attribute on types for MSVC

The current location used for __rte_aligned(a) for alignment of types
is not compatible with MSVC. There is only a single location accepted
by both toolchains.

The standard offers no alignment facility that compatibly interoperates
with C and C++ but it may be achieved by relocating the placement of
__rte_aligned(a) to the aforementioned location accepted by all currently
supported toolchains.

To allow alignment for both compilers, do the following:

* Expand __rte_aligned(a) to __declspec(align(a)) when building
with MSVC.

* Move __rte_aligned from the end of {struct,union} definitions to
be between {struct,union} and tag.

The placement between {struct,union} and the tag allows the desired
alignment to be imparted on the type regardless of the toolchain being
used for all of GCC, LLVM, MSVC compilers building both C and C++.

Note: this move has an additional benefit as Doxygen is not confused
anymore like for the rte_event_vector struct definition.

Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>

show more ...


# ae282b06 17-Nov-2023 David Marchand <david.marchand@redhat.com>

lib: remove redundant newline from logs

Fix places where two newline characters may be logged.

Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Stephen Hemmi

lib: remove redundant newline from logs

Fix places where two newline characters may be logged.

Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>

show more ...


# c07da8e3 06-Dec-2023 David Marchand <david.marchand@redhat.com>

lib: use dedicated logtypes and macros

No printf!
When a dedicated log helper exists, use it.
And no usurpation please: a library should log under its logtype
(see the eventdev rx adapter update for

lib: use dedicated logtypes and macros

No printf!
When a dedicated log helper exists, use it.
And no usurpation please: a library should log under its logtype
(see the eventdev rx adapter update for example).

Note: the RTE_ETH_VALID_PORTID_OR_GOTO_ERR_RET macro is renamed for
consistency with the rest of eventdev (private) macros.

Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

show more ...


# e6ced132 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter event port get

Added support for DMA adapter event port get.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>


# a7884827 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter enqueue

Added API support to enqueue a DMA operation to the DMA driver.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>


# 3c37e8c6 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter stats

Added DMA adapter stats API support to get and reset stats.
DMA SW adapter stats and eventdev driver supported stats for
enqueue and dequeue are reported by get A

eventdev/dma: support adapter stats

Added DMA adapter stats API support to get and reset stats.
DMA SW adapter stats and eventdev driver supported stats for
enqueue and dequeue are reported by get API.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# 2c6e23cd 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter runtime params

Added support to set and get runtime params for DMA adapter.
The parameters that can be set/get are defined in
struct rte_event_dma_adapter_runtime_param

eventdev/dma: support adapter runtime params

Added support to set and get runtime params for DMA adapter.
The parameters that can be set/get are defined in
struct rte_event_dma_adapter_runtime_params.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# 05881462 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter service ID get

Added API support to get DMA adapter service ID. Service ID
returned in the variable by the API call shall be used by
application to map a service core.

eventdev/dma: support adapter service ID get

Added API support to get DMA adapter service ID. Service ID
returned in the variable by the API call shall be used by
application to map a service core.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# abbe0dda 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter start and stop

Added API support to start and stop DMA adapter.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>


# 3c89e8c4 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter service function

Added support for DMA adapter service function for event devices.
Enqueue and dequeue of event from eventdev and DMA device are done
based on the adapt

eventdev/dma: support adapter service function

Added support for DMA adapter service function for event devices.
Enqueue and dequeue of event from eventdev and DMA device are done
based on the adapter mode and the supported HW capabilities.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# 112bf805 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support vchan add and delete

Added API support to add and delete vchan's from the DMA adapter.
DMA devid and vchan are added to the adapter instance by calling
rte_event_dma_adapter_vc

eventdev/dma: support vchan add and delete

Added API support to add and delete vchan's from the DMA adapter.
DMA devid and vchan are added to the adapter instance by calling
rte_event_dma_adapter_vchan_add() and deleted using
rte_event_dma_adapter_vchan_del().

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...


# 346eb2fd 29-Sep-2023 Amit Prakash Shukla <amitprakashs@marvell.com>

eventdev/dma: support adapter create and free

Added API support to create and free DMA adapter. Create function shall
be called with event device to be associated with the adapter and port
configura

eventdev/dma: support adapter create and free

Added API support to create and free DMA adapter. Create function shall
be called with event device to be associated with the adapter and port
configuration to setup an event port.

Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>

show more ...