All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: declan.doherty@intel.com
Cc: dev@dpdk.org
Subject: [PATCH 3/4] l2fwd-crypto: fix auth params setting
Date: Wed,  3 Feb 2016 11:14:22 +0000	[thread overview]
Message-ID: <1454498063-11957-4-git-send-email-pablo.de.lara.guarch@intel.com> (raw)
In-Reply-To: <1454498063-11957-1-git-send-email-pablo.de.lara.guarch@intel.com>

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 examples/l2fwd-crypto/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index 37f59c4..17a7774 100644
--- a/examples/l2fwd-crypto/main.c
+++ b/examples/l2fwd-crypto/main.c
@@ -791,7 +791,7 @@ parse_auth_op(enum rte_crypto_auth_operation *op, char *optarg)
 		*op = RTE_CRYPTO_AUTH_OP_VERIFY;
 		return 0;
 	} else if (strcmp("GENERATE", optarg) == 0) {
-		*op = RTE_CRYPTO_AUTH_OP_VERIFY;
+		*op = RTE_CRYPTO_AUTH_OP_GENERATE;
 		return 0;
 	}
 
@@ -829,11 +829,11 @@ l2fwd_crypto_parse_args_long_options(struct l2fwd_crypto_options *options,
 
 	/* Authentication options */
 	else if (strcmp(lgopts[option_index].name, "auth_algo") == 0)
-		return parse_auth_algo(&options->cipher_xform.auth.algo,
+		return parse_auth_algo(&options->auth_xform.auth.algo,
 				optarg);
 
 	else if (strcmp(lgopts[option_index].name, "auth_op") == 0)
-		return parse_auth_op(&options->cipher_xform.auth.op,
+		return parse_auth_op(&options->auth_xform.auth.op,
 				optarg);
 
 	else if (strcmp(lgopts[option_index].name, "auth_key") == 0)
-- 
2.5.0

  parent reply	other threads:[~2016-02-03 11:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03 11:14 [PATCH 0/4] Various fixes for L2fwd-crypto Pablo de Lara
2016-02-03 11:14 ` [PATCH 1/4] l2fwd-crypto: fix accumulated stats Pablo de Lara
2016-02-03 11:14 ` [PATCH 2/4] l2fwd-crypto: fix incorrect params in command line help Pablo de Lara
2016-02-03 11:14 ` Pablo de Lara [this message]
2016-02-03 11:14 ` [PATCH 4/4] l2fwd-crypto: fix typos Pablo de Lara
2016-02-04  8:26 ` [PATCH v2 0/4] Various fixes for L2fwd-crypto Pablo de Lara
2016-02-04  8:26   ` [PATCH v2 1/4] l2fwd-crypto: fix accumulated stats Pablo de Lara
2016-02-04  8:26   ` [PATCH v2 2/4] l2fwd-crypto: fix incorrect params in command line help Pablo de Lara
2016-02-04  8:26   ` [PATCH v2 3/4] l2fwd-crypto: fix auth params setting Pablo de Lara
2016-02-04  8:26   ` [PATCH v2 4/4] l2fwd-crypto: fix typos Pablo de Lara
2016-02-12  9:16   ` [PATCH v2 0/4] Various fixes for L2fwd-crypto De Lara Guarch, Pablo
2016-02-12  9:17   ` [PATCH v3 " Pablo de Lara
2016-02-12  9:17     ` [PATCH v3 1/4] l2fwd-crypto: fix total stats Pablo de Lara
2016-02-12  9:17     ` [PATCH v3 2/4] l2fwd-crypto: fix incorrect params in command line help Pablo de Lara
2016-02-12  9:17     ` [PATCH v3 3/4] l2fwd-crypto: fix auth params setting Pablo de Lara
2016-02-12  9:17     ` [PATCH v3 4/4] l2fwd-crypto: fix typos Pablo de Lara
2016-02-15 16:44     ` [PATCH v3 0/4] Various fixes for L2fwd-crypto Declan Doherty
2016-02-24 13:52       ` Thomas Monjalon
2016-02-04  8:26 ` [PATCH " De Lara Guarch, Pablo

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=1454498063-11957-4-git-send-email-pablo.de.lara.guarch@intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --subject='Re: [PATCH 3/4] l2fwd-crypto: fix auth params setting' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.