Hi, Akhil
On 2022/10/11 下午5:22, Akhil Goyal wrote:
gakhil@cavium-SR1-T640:/home/gakhil/up/uadk$ make
make all-recursive
make[1]: Entering directory '/home/gakhil/up/uadk'
Making all in .
make[2]: Entering directory '/home/gakhil/up/uadk'
depbase=`echo wd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;
Hi, Akhil
On 2022/10/17 下午3:02, Akhil Goyal wrote:
Hi everyone,
We have a new crypto PMD submitted on ML
(http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/)
This PMD is dependent on an external library which needs to be cross
compiled for ARM on x86.
Hi, Akhil
On 2022/10/17 下午3:02, Akhil Goyal wrote:
Hi everyone,
We have a new crypto PMD submitted on ML
(http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/)
This PMD is dependent on an external library which needs to be cross
compiled for ARM on x8
On 2022/10/18 下午6:07, Zhangfei Gao wrote:
Hi, Akhil
On 2022/10/17 下午3:02, Akhil Goyal wrote:
Hi everyone,
We have a new crypto PMD submitted on ML
(http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/)
This PMD is dependent on an external library
On 2022/10/19 下午2:55, Thomas Monjalon wrote:
18/10/2022 12:52, Zhangfei Gao:
On 2022/10/18 下午6:07, Zhangfei Gao wrote:
Hi, Akhil
On 2022/10/17 下午3:02, Akhil Goyal wrote:
Hi everyone,
We have a new crypto PMD submitted on ML
(http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559
;dpdk-test" received signal SIGSEGV, Segmentation fault.
0x012c484d in vdev_cleanup ()
Signed-off-by: Zhangfei Gao
---
drivers/bus/vdev/vdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c
index f5b43f1930..fbdaf68380 1006
h rfc
Suggested from Akhil Goyal
Only consider crypto PMD first
Split patch into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/ua
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 33
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Hi, Akhil
On Mon, 17 Oct 2022 at 15:02, Akhil Goyal wrote:
>
> Hi everyone,
>
>
>
> We have a new crypto PMD submitted on ML
> (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-zhangfei@linaro.org/)
>
>
>
> This PMD is dependent on an external library which needs to be cross
Hi, David
On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_clea
On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_cleanup, drv = cont
sudo dpdk-test --vdev=crypto_uadk --log-level=6
vdev_probe(): failed to initialize crypto_uadk device
EAL: Bus (vdev) probe failed.
RTE>>quit
Segmentation fault
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Signed-off-by: Zhangfei Gao
---
v2:
Suggested by David Ma
sudo dpdk-test --vdev=crypto_uadk --log-level=6
vdev_probe(): failed to initialize crypto_uadk device
EAL: Bus (vdev) probe failed.
RTE>>quit
Segmentation fault
Fixes: 1cab1a40ea9b ("bus: cleanup devices on shutdown")
Signed-off-by: Zhangfei Gao
---
v2:
Suggested by David Ma
On Wed, 19 Oct 2022 at 22:25, Akhil Goyal wrote:
>
> Hi Zhangfei,
> > Hi, Akhil
> >
> > On Mon, 17 Oct 2022 at 15:02, Akhil Goyal wrote:
> > >
> > > Hi everyone,
> > >
> > >
> > >
> > > We have a new crypto PMD submitted on ML
> > (http://patches.dpdk.org/project/dpdk/cover/20221008083747.6559-1-
Hi, Akhil
On Wed, 19 Oct 2022 at 23:27, Zhangfei Gao wrote:
> > > > Hi everyone,
> > > >
> > > >
> > > >
> > > > We have a new crypto PMD submitted on ML
> > > (http://patches.dpdk
o write empty functions.
> >Add basic documentation also which defines what the driver is.
> >You can explain the build dependency here.
> > 2. define queue structs and setup/remove APIs
> > 3. Add data path
> > 4. implement cipher op. Add capabilities and documentation of what is
>
On Fri, 21 Oct 2022 at 01:12, Akhil Goyal wrote:
>
> > On Thu, 20 Oct 2022 at 22:46, Akhil Goyal wrote:
> > >
> > > > Introduce a new crypto PMD for hardware accelerators based on UADK [1].
> > > >
> > > > UADK is a framework for user applications to access hardware
> > > > accelerators.
> > > >
better
than platform.
enum uadk_crypto_version {
UADK_CRYPTO_V2,
UADK_CRYPTO_V3,
};
Update in v1, compared with rfc
Suggested from Akhil Goyal
Only consider crypto PMD first
Split patch into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 33
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
On Thu, 20 Oct 2022 at 22:46, Akhil Goyal wrote:
>
> > Introduce a new crypto 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
/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: support auth algorithms
test/crypto: add cryptodev_
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 33
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 213 --
1 file changed, 204 insertions(+), 9 deletions(-)
diff --git a
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst | 6 +
drivers/crypto
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Hi, Akhil
Thanks for your guidance.
On Tue, 25 Oct 2022 at 23:02, Akhil Goyal wrote:
>
>
> > Introduce a new crypto 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 Add
On Tue, 25 Oct 2022 at 22:57, Akhil Goyal wrote:
>
> > Subject: [EXT] [PATCH resend v5 6/6] test/crypto: add
> > cryptodev_uadk_autotest
> Rewrite patch title as
> test/crypto: support uadk PMD
>
> >
> Add a line
> Updated test application to run autotest for uadk crypto PMD.
> > Example:
> > sud
-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst | 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 459
3 files changed, 486 insertions(+)
@@ -72,6 +84,252 @@ RTE_LOG_REGISTER_DEFAULT
/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: support auth algorithms
test/crypto: sup
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 194 +-
drivers/crypto/uadk/uadk_crypto_pmd_private.h | 19 ++
2 files
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 +
doc/guides/cryptodevs/features/uadk.ini
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Add support for cipher algorithms,
including AES_ECB, AES_CBC, AES_XTS, and DES_CBC mode.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst| 6 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 303
Add support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512
Authentication algorithms with and without HMAC.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst| 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/meson.build | 1 +
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/uadk.rst | 3
y compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorithms
crypto/uadk: sup
directly use virtual address for device dma,
which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 +
doc/guides/cryptodevs/features/uadk.ini
This commit adds the enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 53 ++-
1 file changed, 51 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto/uadk
Support the basic dev control operations: configure, close, start,
stop and get info, as well as queue pairs operations.
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 194 +-
drivers/crypto/uadk/uadk_crypto_pmd_private.h | 19 ++
2 files
Add support for cipher algorithms,
including AES_ECB, AES_CBC, AES_XTS, and DES_CBC mode.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 10 +
doc/guides/cryptodevs/uadk.rst| 6 +
drivers/crypto/uadk/uadk_crypto_pmd.c | 303
Add support for MD5, SHA1, SHA224, SHA256, SHA384, SHA512
Authentication algorithms with and without HMAC.
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/features/uadk.ini | 12 +
doc/guides/cryptodevs/uadk.rst| 15 +
drivers/crypto/uadk/uadk_crypto_pmd.c
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/meson.build | 1 +
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
doc/guides/cryptodevs/uadk.rst | 3
On 2022/10/26 下午11:43, Akhil Goyal wrote:
+ { /* SHA384 HMAC */
+ .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,
+ {.sym = {
+ .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH,
+ {.auth = {
+ .algo =
into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (6):
crypto/uadk: introduce uadk crypto driver
crypto/uadk: support basic operations
crypto/uadk: support enqueue/dequeue operations
crypto/uadk: support cipher algorit
.07 for which this patchset is late.
> As we had the V1 deadline last month.
> This patchset can go for next release cycle which is 22.11.
Zhangfei Gao (3):
compress/uadk: add uadk compression PMD
test/crypto: add cryptodev_uadk_autotest
crypto/uadk: add uadk crypto PMD
app/test/tes
Add uadk compression & decompression PMD, which relies on uadk api.
Test:
sudo dpdk-test --vdev=compress_uadk
RTE>>compressdev_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/uadk.rst |
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Add uadk crypto pmd, which relies on uadk crypto api
Test:
sudo dpdk-test --vdev=crypto_uadk (--log-level=6)
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/index.rst |1 +
doc/guides/cryptodevs/uadk.rst| 70 ++
dr
Supported hardware platforms:
HiSilicon Kunpeng920 and Kunpeng930
The PMD relies on UADK Interface: https://github.com/Linaro/uadk
Zhangfei Gao (3):
compress: add UADK compression PMD
test/crypto: add cryptodev_uadk_autotest
drivers/crypto: add UADK crypto PMD
app/test/test_cryptodev.c
Example:
sudo dpdk-test --vdev=:76:00.0 --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Add compression & decompression PMD for HiSilicon Hunpeng930
The UADK compression PMD rely on uadk api.
Test:
sudo dpdk-test --vdev=:75:00.0
RTE>>compressdev_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/index.rst | 1 +
doc/gui
Add UADK crypto pmd for HiSilicon Kunpeng920 and Kunpeng930
Test:
sudo dpdk-test --vdev=:76:00.0 (--log-level=6)
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/index.rst |1 +
doc/guides/cryptodevs/uadk.rst| 80
Hi, Akhil
On 2022/5/20 下午7:49, Akhil Goyal wrote:
Supported hardware platforms:
HiSilicon Kunpeng920 and Kunpeng930
The PMD relies on UADK Interface:
https://github.com/Linaro/uadk
I hope this set is for DPDK 22.11
Oh, should be based on v22.03?
The patchset is based on 45f04d8 version: 21.
On 2022/5/20 下午9:48, Akhil Goyal wrote:
Hi Zhangfei,
Hi, Akhil
On 2022/5/20 下午7:49, Akhil Goyal wrote:
Supported hardware platforms:
HiSilicon Kunpeng920 and Kunpeng930
The PMD relies on UADK Interface:
I hope this set is for DPDK 22.11
Oh, should be based on v22.03?
The patchset is bas
Supported hardware platforms:
HiSilicon Kunpeng920 and Kunpeng930
The PMD relies on UADK Interface: https://github.com/Linaro/uadk
Zhangfei Gao (3):
compress: add UADK compression PMD
test/crypto: add cryptodev_uadk_autotest
drivers/crypto: add UADK crypto PMD
app/test/test_cryptodev.c
Example:
sudo dpdk-test --vdev=:76:00.0 --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
Add compression & decompression PMD for HiSilicon Hunpeng930
The UADK compression PMD rely on uadk api.
Test:
sudo dpdk-test --vdev=:75:00.0
RTE>>compressdev_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/index.rst | 1 +
doc/gui
,max_nb_queue_pairs=10
-- --devtype crypto_uadk --optype cipher-only --buffer-sz 8192
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/uadk.rst| 27 +++
drivers/crypto/uadk/uadk_crypto_pmd.c | 18 +++--
drivers/crypto/uadk
s.kernel.org/misc-devices/uacce.html
>
> Signed-off-by: Chengwen Feng
Good job.
Acked-by: Zhangfei Gao
f=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
-- --driver-name compress_uadk --input-file data
Zhangfei Gao (3):
compress/uadk: Introduce UADK compression driver
compress/uadk: support basic operations
compress/uadk: support burst enqueue/dequeue
k
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/compressdevs/features/uadk.ini | 11 +++
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/uadk.rst | 98 +++
doc/guides/rel_notes/r
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 325 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
This commit adds the burst enqueue and dequeue operations.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 88 ++-
1 file changed, 86 insertions(+), 2 deletions(-)
diff --git a/drivers/compress/uadk/uadk_compress_pmd.c
b/drivers/compress/uadk
On Mon, 22 Apr 2024 at 22:31, Zhangfei Gao wrote:
>
> 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
On Fri, 24 May 2024 at 00:30, Konstantin Ananyev
wrote:
>
>
>
> > -Original Message-
> > From: Stephen Hemminger
> > Sent: Thursday, May 23, 2024 5:21 PM
> > To: Zhangfei Gao
> > Cc: Akhil Goyal ; Fan Zhang ;
> > Ashish Gupta ;
> >
Hi, Akhil
Thanks for your time.
On Thu, 23 May 2024 at 23:38, Akhil Goyal wrote:
>
> Hi Zhangfei,
>
> Overall, a well written driver.
> Please see below comment.
>
> > +static int
> > +uadk_compress_pmd_config(struct rte_compressdev *dev,
> > + struct rte_compressdev_config
On Fri, 24 May 2024 at 18:20, Akhil Goyal wrote:
>
> > > > +static int
> > > > +uadk_compress_pmd_config(struct rte_compressdev *dev,
> > > > + struct rte_compressdev_config *config)
> > > > +{
> > > > + char mp_name[RTE_MEMPOOL_NAMESIZE];
> > > > + struct uadk_compres
f=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 compre
k
Signed-off-by: Zhangfei Gao
---
drivers/compress/meson.build | 1 +
drivers/compress/uadk/meson.build | 30
drivers/compress/uadk/uadk_compress_pmd.c | 75 +++
.../compress/uadk/uadk_compress_pmd_private.h | 20 +
4 files changed
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 279 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
This commit adds the burst enqueue and dequeue operations,
and adds compressdev uadk info to doc
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/compressdevs/index.rst | 1 +
doc/guides/compressdevs/uadk.rst | 98
Hi, Akhil
On Fri, 7 Jun 2024 at 19:49, Akhil Goyal wrote:
>
> > This commit adds the burst enqueue and dequeue operations,
> > and adds compressdev uadk info to doc
> >
> > Signed-off-by: Zhangfei Gao
> > ---
> > MAINTAINERS
f=data bs=1M count=1;
sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \
-- --driver-name compress_uadk --input-file data
v3: add the missing doc uadk.ini and change some docs to patch1
v2:
remove mempool and simply use rte_malloc, suggested by Akhil
move doc to patch 3 from patch
user application can directly use the virtual address for the
device DMA, which enhances the performance as well as easy usability.
This patch adds the basic framework.
[1] https://github.com/Linaro/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/gu
Support the basic dev control operations: configure, close,
start, stop, infos_get, and queue pairs operations, etc.
Signed-off-by: Zhangfei Gao
---
drivers/compress/uadk/uadk_compress_pmd.c | 279 +-
.../compress/uadk/uadk_compress_pmd_private.h | 16 +
2 files changed
This commit adds the burst enqueue and dequeue operations,
Test:
sudo dpdk-test --vdev=compress_uadk
RTE>>compressdev_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
doc/guides/compressdevs/uadk.rst | 19 +
doc/guides/rel_notes/release_24_07.rst| 5 ++
driv
-perf -l 1,2 --vdev compress_uadk \
> > -- --driver-name compress_uadk --input-file data
> >
> > v3: add the missing doc uadk.ini and change some docs to patch1
> >
> > v2:
> > remove mempool and simply use rte_malloc, suggested by Akhil
> > move doc to patc
28192 327.5222 871.23
88192 327.5222 871.23
68192 327.5218 871.28
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 19
.22
> >98192 327.5223 871.23
> >28192 327.5222 871.23
> >88192 327.5222 871.23
> > 6 8192 327.5218 871.28
> &g
,max_nb_queue_pairs=10
-- --devtype crypto_uadk --optype cipher-only --buffer-sz 8192
Signed-off-by: Zhangfei Gao
---
doc/guides/cryptodevs/uadk.rst| 27 +++
drivers/crypto/uadk/uadk_crypto_pmd.c | 18 +++--
drivers/crypto/uadk
Hi, Akhil
在 2023/6/2 11:04, Zhangfei Gao 写道:
By default, uadk only alloc two queues for each algorithm, which
will impact performance.
Set queue pair number as required in dev_configure.
The default max queue pair number is 8, which can be modified
via para: max_nb_queue_pairs
Example:
sudo
在 2023/6/9 16:31, Akhil Goyal 写道:
Hi, Akhil
在 2023/6/2 11:04, Zhangfei Gao 写道:
By default, uadk only alloc two queues for each algorithm, which
will impact performance.
Set queue pair number as required in dev_configure.
The default max queue pair number is 8, which can be modified
via para
RTE>>cryptodev_uadk_autotest
RTE>>quit
Update with rfc
Suggested from Akhil Goyal
Only consider crypto PMD first
Split patch into small (individually compiled) patches.
Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini
Zhangfei Gao (5):
test/crypto: add cryptodev_uadk_a
Example:
sudo dpdk-test --vdev=crypto_uadk --log-level=6
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
app/test/test_cryptodev.c | 7 +++
app/test/test_cryptodev.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/app/test/test_cryptodev.
RTE>>cryptodev_uadk_autotest
RTE>>quit
Signed-off-by: Zhangfei Gao
---
drivers/crypto/meson.build| 1 +
drivers/crypto/uadk/meson.build | 36 +++
drivers/crypto/uadk/uadk_crypto_pmd.c | 450 ++
drivers/crypto/uadk/version.map | 3 +
4 fi
Cipher algorithms:
* ``RTE_CRYPTO_CIPHER_AES_ECB``
* ``RTE_CRYPTO_CIPHER_AES_CBC``
* ``RTE_CRYPTO_CIPHER_AES_XTS``
* ``RTE_CRYPTO_CIPHER_DES_CBC``
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 254 +-
1 file changed, 252 insertions(+), 2
``
* ``RTE_CRYPTO_AUTH_SHA384_HMAC``
* ``RTE_CRYPTO_AUTH_SHA512``
* ``RTE_CRYPTO_AUTH_SHA512_HMAC``
Signed-off-by: Zhangfei Gao
---
drivers/crypto/uadk/uadk_crypto_pmd.c | 461 ++
1 file changed, 461 insertions(+)
diff --git a/drivers/crypto/uadk/uadk_crypto_pmd.c
b/drivers/crypto
/uadk
Signed-off-by: Zhangfei Gao
---
MAINTAINERS | 6 ++
doc/guides/cryptodevs/features/uadk.ini | 54 +
doc/guides/cryptodevs/index.rst | 1 +
doc/guides/cryptodevs/uadk.rst | 80 +
4 files changed, 141
1 - 100 of 130 matches
Mail list logo