From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 2408F1C01 for ; Mon, 30 Apr 2018 16:42:37 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id u18-v6so8279940wrg.3 for ; Mon, 30 Apr 2018 07:42:37 -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=rOT8oAX412GpJeXaN93k+h0NS5pN4h4tUopegTh6Ocw=; b=Gv9Yyu01UpGjeKvWL2HUVESLdh1dmO0Ss5eeZtY7hkjEIR/0BWM2xv+qABT2SZ3Xer PLtn7xc3zYhXxmiPBgh5BWepZNuM0aBjzeULQBnHHpxfh+VK13YWNh9ghYxFO27fVxt0 ha5cL5+kaOmgSChFNod2WDzWj8q2DfgkA+a8Wa4j1vVrGkiTsAcY2nFSGLQaBQ084ZiY p+45hszpxq90pMfCfThU0HDzn0TXBzW5g3hA8/n6jKwSuvEdJ4MjkRW8Ao0RNtHLai5e juqbVSiJcLAkf0RWJxw3hURR7ckOhrOnJ8czvZwmIY1RW/8QUNWhfAI1BR6XWHKyUnjq dKfQ== 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=rOT8oAX412GpJeXaN93k+h0NS5pN4h4tUopegTh6Ocw=; b=t2OEJNHRxg/scgvxlXAdNcGIRGVxPOp7YYwrXzZ+DGDP8q/iD1434GUsChRp/tMvxZ O0cRBG8wNIiWi3OpqLMtR9fe4bm4qqmefrRpNe72H1iEuztxjPeYFuarphZ8VodJwncn E/Fea+3d2L/0enLbJop0t0uzF/ASJ0GGdE4SMHT2o839XQmd0MgrTAO0aufuLFx0ycug CSm5gpfZ3xIZYaC2prR4ee4Ysz6UVVL3RWQkFknk2aocpBAT1Cb4ujEnR8F1XZjg6r5Y YS/F2UlYhHr208GOFQ19gfbbohp34N75gy43Ke6Ebu3+DYWEZ9lADSqlt9y1CVgeYJUW X8kA== X-Gm-Message-State: ALQs6tAQ3eOH0tuj95cTZNF2doq9xITQ2T4ZmnMTBtvEDU7RLSpABeui knNjeoyjg2TXPMI5MRShw1g/n+Dcn8c= X-Google-Smtp-Source: AB8JxZo9hNf/khQ1AHFOWlWNx213/p/UuL3Z0yg10LxFDrz+c1u6NUzFabR4hSAiP0sJg/VZO2wOWg== X-Received: by 2002:adf:b352:: with SMTP id k18-v6mr8662714wrd.95.1525099356819; Mon, 30 Apr 2018 07:42:36 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id a13-v6sm6789385wrn.6.2018.04.30.07.42.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:42:35 -0700 (PDT) From: luca.boccassi@gmail.com To: Shreyansh Jain Cc: Hemant Agrawal , dpdk stable Date: Mon, 30 Apr 2018 15:40:22 +0100 Message-Id: <20180430144223.18657-7-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 'crypto/dpaa2_sec: fix debug logs' 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:42:37 -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 a27705ff26797d16e8fbfe93a12950c82b8bf21b Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Mon, 2 Apr 2018 19:36:00 +0530 Subject: [PATCH] crypto/dpaa2_sec: fix debug logs [ upstream commit 79c271ee4f51a4216439477797bda8fb82806ea8 ] Digest and IV length variable declarations have changed. These were escaping builds as the debugging macro was disabled. During dynamic logging change, they were discoverd. Fixes: 0fbd75a99fc9 ("cryptodev: move IV parameters to session") Fixes: 7f0034275a24 ("cryptodev: remove digest length from crypto op") Signed-off-by: Shreyansh Jain Acked-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 9a790dddd..3954afe94 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -136,7 +136,7 @@ build_authenc_gcm_sg_fd(dpaa2_sec_session *sess, "iv-len=%d data_off: 0x%x\n", sym_op->aead.data.offset, sym_op->aead.data.length, - sym_op->aead.digest.length, + sess->digest_length, sess->iv.length, sym_op->m_src->data_off); @@ -301,7 +301,7 @@ build_authenc_gcm_fd(dpaa2_sec_session *sess, "iv-len=%d data_off: 0x%x\n", sym_op->aead.data.offset, sym_op->aead.data.length, - sym_op->aead.digest.length, + sess->digest_length, sess->iv.length, sym_op->m_src->data_off); @@ -433,10 +433,10 @@ build_authenc_sg_fd(dpaa2_sec_session *sess, "cipher_off: 0x%x/length %d, iv-len=%d data_off: 0x%x\n", sym_op->auth.data.offset, sym_op->auth.data.length, - sym_op->auth.digest.length, + sess->digest_length, sym_op->cipher.data.offset, sym_op->cipher.data.length, - sym_op->cipher.iv.length, + sess->iv.length, sym_op->m_src->data_off); /* Configure Output FLE with Scatter/Gather Entry */ @@ -877,7 +877,7 @@ build_cipher_sg_fd(dpaa2_sec_session *sess, struct rte_crypto_op *op, "CIPHER SG: cipher_off: 0x%x/length %d,ivlen=%d data_off: 0x%x", sym_op->cipher.data.offset, sym_op->cipher.data.length, - sym_op->cipher.iv.length, + sess->iv.length, sym_op->m_src->data_off); /* o/p fle */ -- 2.14.2