[PATCH RFC 4/4] dma/cnxk: implement enqueue dequeue ops

2025-01-29 Thread Kommula Shiva Shankar
From: Pavan Nikhilesh Implement DMA enqueue/dequeue operations when application enables it via configuration. Signed-off-by: Pavan Nikhilesh Change-Id: I57883ce5d358bf23a9d940ed513d0dc762227dcc --- drivers/dma/cnxk/cnxk_dmadev.c| 25 +- drivers/dma/cnxk/cnxk_dmadev.h| 7 ++ driv

[PATCH RFC 3/4] doc: update prog guide to use rte_dma_op

2025-01-29 Thread Kommula Shiva Shankar
From: Pavan Nikhilesh Update the documentation to replace all instances of rte_event_dma_adapter_op with rte_dma_op Signed-off-by: Pavan Nikhilesh Change-Id: I0fe65d18f4601709826c11c6738cacec8991515d --- doc/guides/prog_guide/eventdev/event_dma_adapter.rst | 6 +++--- 1 file changed, 3 inserti

[PATCH RFC 2/4] eventdev: refactor rte_event_dma_adapater_op calls

2025-01-29 Thread Kommula Shiva Shankar
From: Pavan Nikhilesh Migrate all invocations of rte_event_dma_adapter_op API to rte_dma_op. Signed-off-by: Pavan Nikhilesh Change-Id: I56b6e61af72d119287b0d2ba6a9bbacc3ae808d6 --- app/test-eventdev/test_perf_common.c | 6 +-- app/test-eventdev/test_perf_common.h | 4 +- app/test/test_event_

[PATCH RFC 1/4] dmadev: add enqueue dequeue operations

2025-01-29 Thread Kommula Shiva Shankar
From: Pavan Nikhilesh Add enqueue/dequeue operations that use struct rte_dma_op to communicate with the dma device. These operations need to be enabled at dma device configuration time by setting the flag rte_dma_conf::enable_enq_deq if the device supports RTE_DMA_CAPA_OPS_ENQ_DEQ capability. The

[PATCH v2] net/virtio: add virtio hash report feature

2025-01-26 Thread Kommula Shiva Shankar
This patch adds virtio hash report feature, which is supported in packet queue mode with scalar version Signed-off-by: Kommula Shiva Shankar --- drivers/net/virtio/virtio.h | 2 ++ drivers/net/virtio/virtio_ethdev.c| 20 - drivers/net/virtio

[PATCH] net/virtio: add virtio hash report feature

2025-01-26 Thread Kommula Shiva Shankar
This patch adds virtio hash report feature, which is supported in packet queue mode with scalar version Signed-off-by: Kommula Shiva Shankar --- drivers/net/virtio/virtio.h | 2 ++ drivers/net/virtio/virtio_ethdev.c| 20 - drivers/net/virtio

[PATCH] net/virtio-user: reset used index counter in dev reset

2024-08-05 Thread Kommula Shiva Shankar
When the virtio device is reinitialized during ethdev reconfiguration, all the virtio rings are recreated and repopulated on the device. Accordingly, reset the used index counter value back to zero. Signed-off-by: Kommula Shiva Shankar --- drivers/net/virtio/virtio_user_ethdev.c | 1 + 1 file