From: Hemant Agrawal <hemant.agrawal@nxp.com>
To: <dev@dpdk.org>
Cc: <jerin.jacob@caviumnetworks.com>, <stable@dpdk.org>,
<akhil.goyal@nxp.com>
Subject: [dpdk-dev] [PATCH 4/5] crypto/dpaa_sec: fix enum conversion for GCM
Date: Thu, 25 Jan 2018 15:23:30 +0530 [thread overview]
Message-ID: <1516874011-8760-5-git-send-email-hemant.agrawal@nxp.com> (raw)
In-Reply-To: <1516874011-8760-1-git-send-email-hemant.agrawal@nxp.com>
dpaa_sec/dpaa_sec.h:297:13: error: implicit conversion from enumeration
type 'enum rte_crypto_aead_algorithm' to different enumeration type 'enum
rte_crypto_auth_algorithm' [-Werror,-Wenum-conversion]
.algo = RTE_CRYPTO_AEAD_AES_GCM,
Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")
Cc: stable@dpdk.org
Cc: akhil.goyal@nxp.com
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/crypto/dpaa_sec/dpaa_sec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h
index c53d9ae..f45b36c 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.h
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.h
@@ -293,7 +293,7 @@ static const struct rte_cryptodev_capabilities dpaa_sec_capabilities[] = {
.op = RTE_CRYPTO_OP_TYPE_SYMMETRIC,
{.sym = {
.xform_type = RTE_CRYPTO_SYM_XFORM_AEAD,
- {.auth = {
+ {.aead = {
.algo = RTE_CRYPTO_AEAD_AES_GCM,
.block_size = 16,
.key_size = {
--
2.7.4
next prev parent reply other threads:[~2018-01-25 11:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 9:53 [dpdk-dev] [PATCH 0/5] ARMv8: enable DPAA-X driver compilation Hemant Agrawal
2018-01-25 9:53 ` [dpdk-dev] [PATCH 1/5] bus/dpaa: fix compilation warnings with clang Hemant Agrawal
2018-01-30 6:19 ` Shreyansh Jain
2018-01-25 9:53 ` [dpdk-dev] [PATCH 2/5] bus/dpaa: fix unused function warning " Hemant Agrawal
2018-01-30 6:20 ` Shreyansh Jain
2018-01-25 9:53 ` [dpdk-dev] [PATCH 3/5] crypto/dpaa2_sec: fix enum conversion for GCM Hemant Agrawal
2018-01-25 9:53 ` Hemant Agrawal [this message]
2018-01-25 9:53 ` [dpdk-dev] [PATCH 5/5] config: enable dpaaX drivers compilation for ARMv8 Hemant Agrawal
2018-01-25 11:21 ` Jerin Jacob
2018-01-30 8:42 ` Hemant Agrawal
2018-01-30 9:33 ` Hemant Agrawal
2018-01-30 14:43 ` Hemant Agrawal
2018-01-31 9:11 ` Jerin Jacob
2018-01-30 16:01 ` [dpdk-dev] [PATCH 0/5] ARMv8: enable DPAA-X driver compilation Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1516874011-8760-5-git-send-email-hemant.agrawal@nxp.com \
--to=hemant.agrawal@nxp.com \
--cc=akhil.goyal@nxp.com \
--cc=dev@dpdk.org \
--cc=jerin.jacob@caviumnetworks.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).