DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config
@ 2024-11-19  8:38 Gowrishankar Muthukrishnan
  0 siblings, 0 replies; 3+ messages in thread
From: Gowrishankar Muthukrishnan @ 2024-11-19  8:38 UTC (permalink / raw)
  To: dev, Maxime Coquelin, Chenbo Xia
  Cc: Anoob Joseph, Akhil Goyal, Gowrishankar Muthukrishnan

Update virtio_crypto_config structure to include AKCIPHER algorithms,
as per VirtIO standard.

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 v1:
  - updated patch description.
---

 lib/vhost/virtio_crypto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vhost/virtio_crypto.h b/lib/vhost/virtio_crypto.h
index e3b93573c8..28877a5da3 100644
--- a/lib/vhost/virtio_crypto.h
+++ b/lib/vhost/virtio_crypto.h
@@ -410,7 +410,7 @@ struct virtio_crypto_config {
 	uint32_t max_cipher_key_len;
 	/* Maximum length of authenticated key */
 	uint32_t max_auth_key_len;
-	uint32_t reserve;
+	uint32_t akcipher_algo;
 	/* Maximum size of each crypto request's content */
 	uint64_t max_size;
 };
-- 
2.37.1


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

* RE: [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config
  2024-11-19  8:41 ` [PATCH v2] " Gowrishankar Muthukrishnan
@ 2024-11-19  9:52   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2024-11-19  9:52 UTC (permalink / raw)
  To: Gowrishankar Muthukrishnan, dev, Maxime Coquelin, Chenbo Xia
  Cc: Anoob Joseph, Gowrishankar Muthukrishnan

> Subject: [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config
> 
> Update virtio_crypto_config structure to include AKCIPHER algorithms,
> as per VirtIO standard.
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>

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

* [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config
  2024-11-19  8:34 [PATCH v1] " Gowrishankar Muthukrishnan
@ 2024-11-19  8:41 ` Gowrishankar Muthukrishnan
  2024-11-19  9:52   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Gowrishankar Muthukrishnan @ 2024-11-19  8:41 UTC (permalink / raw)
  To: dev, Maxime Coquelin, Chenbo Xia
  Cc: Anoob Joseph, Akhil Goyal, Gowrishankar Muthukrishnan

Update virtio_crypto_config structure to include AKCIPHER algorithms,
as per VirtIO standard.

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 v1:
  - updated patch description.
---

 lib/vhost/virtio_crypto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vhost/virtio_crypto.h b/lib/vhost/virtio_crypto.h
index e3b93573c8..28877a5da3 100644
--- a/lib/vhost/virtio_crypto.h
+++ b/lib/vhost/virtio_crypto.h
@@ -410,7 +410,7 @@ struct virtio_crypto_config {
 	uint32_t max_cipher_key_len;
 	/* Maximum length of authenticated key */
 	uint32_t max_auth_key_len;
-	uint32_t reserve;
+	uint32_t akcipher_algo;
 	/* Maximum size of each crypto request's content */
 	uint64_t max_size;
 };
-- 
2.37.1


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

end of thread, other threads:[~2024-11-19  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-19  8:38 [PATCH v2] vhost: include AKCIPHER algorithms in crypto_config Gowrishankar Muthukrishnan
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19  8:34 [PATCH v1] " Gowrishankar Muthukrishnan
2024-11-19  8:41 ` [PATCH v2] " Gowrishankar Muthukrishnan
2024-11-19  9:52   ` 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).