DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Introduce UADK compression driver
@ 2024-05-25 14:07 Zhangfei Gao
  2024-05-25 14:07 ` [PATCH v2 1/3] compress/uadk: " Zhangfei Gao
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Zhangfei Gao @ 2024-05-25 14:07 UTC (permalink / raw)
  To: Akhil Goyal, Fan Zhang, Ashish Gupta; +Cc: dev, Zhangfei Gao

Introduce a new compress PMD for hardware accelerators based on UADK [1].

UADK is a framework for user applications to access hardware accelerators.
UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share
the same page table between IOMMU and MMU.
Thereby user application can directly use virtual address for device dma,
which enhances the performance as well as easy usability.

Besides, crypto PMD is under drivers/crypto/uadk/

[1] https://github.com/Linaro/uadk

Test:
sudo dpdk-test --vdev=compress_uadk
RTE>>compressdev_autotest
RTE>>quit

dd if=/dev/random of=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
	-- --driver-name compress_uadk --input-file data

v2: 
remove mempool and simply use rte_malloc, suggested by Akhil
move doc to patch 3 from patch 1


Zhangfei Gao (3):
  compress/uadk: Introduce UADK compression driver
  compress/uadk: support basic operations
  compress/uadk: support burst enqueue/dequeue

 MAINTAINERS                                   |   6 +
 doc/guides/compressdevs/index.rst             |   1 +
 doc/guides/compressdevs/uadk.rst              |  98 ++++
 doc/guides/rel_notes/release_24_07.rst        |   5 +
 drivers/compress/meson.build                  |   1 +
 drivers/compress/uadk/meson.build             |  30 ++
 drivers/compress/uadk/uadk_compress_pmd.c     | 436 ++++++++++++++++++
 .../compress/uadk/uadk_compress_pmd_private.h |  36 ++
 8 files changed, 613 insertions(+)
 create mode 100644 doc/guides/compressdevs/uadk.rst
 create mode 100644 drivers/compress/uadk/meson.build
 create mode 100644 drivers/compress/uadk/uadk_compress_pmd.c
 create mode 100644 drivers/compress/uadk/uadk_compress_pmd_private.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-10  6:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-25 14:07 [PATCH v2 0/3] Introduce UADK compression driver Zhangfei Gao
2024-05-25 14:07 ` [PATCH v2 1/3] compress/uadk: " Zhangfei Gao
2024-05-25 14:07 ` [PATCH v2 2/3] compress/uadk: support basic operations Zhangfei Gao
2024-05-25 14:07 ` [PATCH v2 3/3] compress/uadk: support burst enqueue/dequeue Zhangfei Gao
2024-06-07 11:49   ` [EXTERNAL] " Akhil Goyal
2024-06-07 13:54     ` Zhangfei Gao
2024-06-10  6:27       ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).