From: Pablo de Lara <pablo.de.lara.guarch@intel.com> To: declan.doherty@intel.com Cc: dev@dpdk.org Subject: [PATCH v3 3/4] l2fwd-crypto: fix auth params setting Date: Fri, 12 Feb 2016 09:17:24 +0000 [thread overview] Message-ID: <1455268645-10864-4-git-send-email-pablo.de.lara.guarch@intel.com> (raw) In-Reply-To: <1455268645-10864-1-git-send-email-pablo.de.lara.guarch@intel.com> Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application") 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 86797c6..b4b457d 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -793,7 +793,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; } @@ -831,11 +831,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
next prev parent reply other threads:[~2016-02-12 9:16 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 ` [PATCH 3/4] l2fwd-crypto: fix auth params setting Pablo de Lara 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 ` Pablo de Lara [this message] 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=1455268645-10864-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 v3 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.