From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 88199E5D for ; Mon, 30 Apr 2018 16:44:25 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id q3-v6so8290855wrj.6 for ; Mon, 30 Apr 2018 07:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2WAuZnrI0hjb8EKvaqBuDB1EWRizYlbUL9RPbH6V5j4=; b=mbbRWbWZDPzPk+9uPBntnWEiecLng7acQVvcuM8/w7oXGCe94MTYonz30ANCZOlpkP iAVegOu6kwS0BBtHEuNnQplu8tAbJCtHIkluL3WG58ii7qaZPjuZbVeEFiserrREbMTS nzNk/MjYdAmT3WGXsim89owPZqY+mRPiI0AXh6GNnlovCWiaQwsnq9yQCwNV3SRhHPa0 KWRBYwv5dHnxfniECS/jiuFxbndsiHqUFwvi8Xc9C1e6B+xPuEtacaZU1tNyfNk00Clh LuxG+uSbOdbI38uxM9X+Dp679Fo8hyAzbNERRuMpPOTDXsvL36DqH9KFeGqnLlm4QRfN pQ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2WAuZnrI0hjb8EKvaqBuDB1EWRizYlbUL9RPbH6V5j4=; b=jv+vg6NSBuzAT5x3+St1kc50DeS+hfjxX+BGwH7I4FJSBrqhGIJ/d5ax8n+Dd1ahet 51s6UvxbwgC2xQUH+eJDMHJKDCFIv2LFwS1FAO32lTPrVanZeyh/aOsQG3GQx9YA2wT0 KR0trQXMTg8kJjZKnkinwLG++f6u6uj2UTVaDmM+VHrDg0rMeJZduWgq2JezX5mhi8Ch znWcxr3esvjMmAoXkiTBbAevSjAP93jkWOEKcKz8OzMIJb8B/pxrhRfkiCUMhSZZU1KZ SGhE1bY/+ozMx9rqOYd6o99lNMDe1jJlyX2H3NJLybNVumV6YP5prNFRKYJvG4RcXvny AkzQ== X-Gm-Message-State: ALQs6tDCvJ1vxTW9AD6S1k1tofpcnBemJs3K06C2ba4SVu3oSbEWdOit M2OsQSC9rUyPpL/t3NvWuaa7fzz1x2c= X-Google-Smtp-Source: AB8JxZrQiN0irOV+WKEIskOkPPFRwTE5/+Y/4RwRI+HLcXoHfUpSnPfwSkiwojpK/YLLR8z4Zd5xvQ== X-Received: by 2002:adf:9bcd:: with SMTP id e13-v6mr9918708wrc.240.1525099465221; Mon, 30 Apr 2018 07:44:25 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id i30-v6sm18292602wra.38.2018.04.30.07.44.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:44:24 -0700 (PDT) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: Akhil Goyal , Pablo de Lara , dpdk stable Date: Mon, 30 Apr 2018 15:41:30 +0100 Message-Id: <20180430144223.18657-75-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'examples/l2fwd-crypto: fix the default aead assignments' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:44:25 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 7111dade83670a49327af395bc4d5f0fa890d3ed Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Wed, 11 Apr 2018 14:45:47 +0530 Subject: [PATCH] examples/l2fwd-crypto: fix the default aead assignments [ upstream commit d2c4b7d365d6c680d77d1fe7aa399c9d64514127 ] The code is incorrectly updating the authxform instead of aead xforms. Fixes: b79e4c00af0e ("cryptodev: use AES-GCM/CCM as AEAD algorithms") Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Pablo de Lara --- examples/l2fwd-crypto/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index b1ad19284..2fcc33984 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -1474,8 +1474,8 @@ l2fwd_crypto_default_options(struct l2fwd_crypto_options *options) options->aead_iv_random_size = -1; options->aead_iv.length = 0; - options->auth_xform.aead.algo = RTE_CRYPTO_AEAD_AES_GCM; - options->auth_xform.aead.op = RTE_CRYPTO_AEAD_OP_ENCRYPT; + options->aead_xform.aead.algo = RTE_CRYPTO_AEAD_AES_GCM; + options->aead_xform.aead.op = RTE_CRYPTO_AEAD_OP_ENCRYPT; options->aad_param = 0; options->aad_random_size = -1; -- 2.14.2