From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 5BD091B45E for ; Thu, 31 Jan 2019 16:49:53 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C18854E916; Thu, 31 Jan 2019 15:49:52 +0000 (UTC) Received: from ktraynor.remote.csb (ovpn-117-200.ams2.redhat.com [10.36.117.200]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9574F5C207; Thu, 31 Jan 2019 15:49:51 +0000 (UTC) From: Kevin Traynor To: Akhil Goyal Cc: dpdk stable Date: Thu, 31 Jan 2019 15:48:20 +0000 Message-Id: <20190131154901.5383-12-ktraynor@redhat.com> In-Reply-To: <20190131154901.5383-1-ktraynor@redhat.com> References: <20190131154901.5383-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 31 Jan 2019 15:49:52 +0000 (UTC) Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: fix FLC address for physical mode' has been queued to LTS release 18.11.1 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: Thu, 31 Jan 2019 15:49:53 -0000 Hi, FYI, your patch has been queued to LTS release 18.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Kevin Traynor --- >>From d0dbd3c4c354278bb5f6b147fb8cb7a931783b7b Mon Sep 17 00:00:00 2001 From: Akhil Goyal Date: Wed, 9 Jan 2019 15:14:21 +0000 Subject: [PATCH] crypto/dpaa2_sec: fix FLC address for physical mode [ upstream commit 2932ee2ad8124304e339845317e4578b1ae61d23 ] Fixes: 547a4d40e7bf ("crypto/dpaa2_sec: support out of place protocol offload") Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 6095c6021..c24562b80 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -109,5 +109,5 @@ build_proto_compound_fd(dpaa2_sec_session *sess, DPAA2_SET_FD_ADDR(fd, DPAA2_VADDR_TO_IOVA(op_fle)); DPAA2_SET_FD_COMPOUND_FMT(fd); - DPAA2_SET_FD_FLC(fd, (ptrdiff_t)flc); + DPAA2_SET_FD_FLC(fd, DPAA2_VADDR_TO_IOVA(flc)); /* Configure Output FLE with dst mbuf data */ @@ -161,5 +161,5 @@ build_proto_fd(dpaa2_sec_session *sess, DPAA2_SET_FD_OFFSET(fd, sym_op->m_src->data_off); DPAA2_SET_FD_LEN(fd, sym_op->m_src->pkt_len); - DPAA2_SET_FD_FLC(fd, (ptrdiff_t)flc); + DPAA2_SET_FD_FLC(fd, DPAA2_VADDR_TO_IOVA(flc)); /* save physical address of mbuf */ -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-01-31 15:44:06.028538657 +0000 +++ 0012-crypto-dpaa2_sec-fix-FLC-address-for-physical-mode.patch 2019-01-31 15:44:05.000000000 +0000 @@ -1,11 +1,12 @@ -From 2932ee2ad8124304e339845317e4578b1ae61d23 Mon Sep 17 00:00:00 2001 +From d0dbd3c4c354278bb5f6b147fb8cb7a931783b7b Mon Sep 17 00:00:00 2001 From: Akhil Goyal Date: Wed, 9 Jan 2019 15:14:21 +0000 Subject: [PATCH] crypto/dpaa2_sec: fix FLC address for physical mode +[ upstream commit 2932ee2ad8124304e339845317e4578b1ae61d23 ] + Fixes: 547a4d40e7bf ("crypto/dpaa2_sec: support out of place protocol offload") Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") -Cc: stable@dpdk.org Signed-off-by: Akhil Goyal --- @@ -13,7 +14,7 @@ 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c -index 82220ac4f..ef6e9c151 100644 +index 6095c6021..c24562b80 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -109,5 +109,5 @@ build_proto_compound_fd(dpaa2_sec_session *sess,