[PATCH] crypto/virtio: fix driver ID for virtio

2025-05-28 Thread Rajesh Mudimadugula
This patch corrects driver id for virtio and virtio_user pmds. Fixes: 25500d4b8076 ("crypto/virtio: support device init") Signed-off-by: Rajesh Mudimadugula --- drivers/crypto/virtio/virtio_cryptodev.c | 4 ++-- drivers/crypto/virtio/virtio_user_cryptodev.c | 5 +++-- 2 files

[PATCH 2/2] crypto/virtio: fix cipher data src length

2025-04-03 Thread Rajesh Mudimadugula
In symmetric algorithm chaining, we need to consider both cipher and auth data length for cipher source. Fixes: 82adb12a1fce ("crypto/virtio: support burst enqueue/dequeue") Signed-off-by: Rajesh Mudimadugula --- drivers/crypto/virtio/virtio_rxtx.c | 20 1 file c

[PATCH 1/2] vhost: fix cipher data length

2025-04-03 Thread Rajesh Mudimadugula
and using correct cipher data length in vhost crypto. Fixes: 3bb595ecd682 ("vhost/crypto: add request handler") Signed-off-by: Rajesh Mudimadugula --- lib/vhost/vhost_crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vhost/vhost_crypto.c b

[PATCH] crypto/virtio: return proper error in session fail

2025-01-08 Thread Rajesh Mudimadugula
Return relevant error code when crypto session configure fails. Signed-off-by: Rajesh Mudimadugula --- drivers/crypto/virtio/virtio_cryptodev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/virtio/virtio_cryptodev.c b/drivers/crypto/virtio

[PATCH] test/crypto: return proper codes in create session

2024-11-27 Thread Rajesh Mudimadugula
Return proper error codes in create_auth_session() to avoid segfaults as a result of this. Signed-off-by: Rajesh Mudimadugula --- app/test/test_cryptodev.c | 38 -- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/app/test/test_cryptodev.c b

[PATCH v2] crypto/virtio: remove redundant crypto queue free

2024-11-27 Thread Rajesh Mudimadugula
Remove multiple invocations of virtio_crypto_queue_release, and set virtio crypto queue as null upon free to avoid segfaults. Signed-off-by: Rajesh Mudimadugula --- .mailmap | 1 + drivers/crypto/virtio/virtio_cryptodev.c | 11 +-- 2 files changed, 6

[PATCH] crypto/virtio: remove redundant crypto queue free

2024-11-27 Thread Rajesh Mudimadugula
Remove multiple invocations of virtio_crypto_queue_release, and set virtio crypto queue as null upon free to avoid segfaults. Signed-off-by: Rajesh Mudimadugula Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpdk/+/138957 Base-Builds: sa_ip-toolkits-Jenkins Tested-by: sa_ip-toolkits