From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 82D771B873 for ; Tue, 15 May 2018 15:47:52 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id j5-v6so1226319wme.5 for ; Tue, 15 May 2018 06:47:52 -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=e+d3xtYF9A8VFG0KPwgqbCRMwmqXBSoyvdVyseZ3Kak=; b=KFwxy6z2G+N75vfC8moG85oyfJk47gmVUIVKtmcTe4NNYfi9LbOpCMs2Qiv9NN12Nu 0Y++xZpe97QBojIrBQ6WY4XEbuiBRGNYje9KkQXf1xNT1hlvrrsu8n2WMox2a5qhNoTo B/9XoDUNvvvB2BGI/yJpOmgYAC/7g+kl2KrV5duCSCYmINbnqdGN1hm6EmG1MzekhPRO Yn7OKR4+1H6o7flNKV39pckcy/H2xq0yocoqfagmTMmHDXaWIZKrgEa6etQLZny4Q+iS yjzvkvJNilq1UMqCerPod6s6CGNzC3/7jn05UnFEU0vM3s7WekL8QoHXz40HU086+sgn clNA== 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=e+d3xtYF9A8VFG0KPwgqbCRMwmqXBSoyvdVyseZ3Kak=; b=TZtR0dr+n2TX9suHdmd4aUVF8dU3/uF1UM8pcZOyYriK8lkl5oTG2+dF4hrD2vnoCT 4wE68CDQR8tkitLnn4W5IcLoC82xMgeGNEn1bdWOqxsxW6RlJPOEzs3bnXN6WOpLuS4s fjo/k0B9a3r03V7Xj5VNUpXKMrwXAUblU5c3lATfsS8+QzDPrLF9/Y9uGfWLk826qS3T 5UtWgar1YgoqKOw42ra6nXs/T7Vj3+OZBzTKCiBLvVKLxOJycqkclgMmj0tJPbiqtyQe rYm6HuSUKRXNH6+pT46F0Sn6BQosQCp6py5d/IBRHdspv2rjirDFza7FaplY/SLD8X6v Lkzw== X-Gm-Message-State: ALKqPweoo2w6s4GVcRRD1zicBlS3bchO4FeK2OLkJNAnkkL1JM/qwlAB IxcVZ+3+3aCfg1N7FmP1PrA= X-Google-Smtp-Source: AB8JxZogGJyXu3bnbrqzB9HvLZ9J9Wsrb9xJfwXMlj/6JnfD5NcfNSYPX9W4JoD81CEUB5T/B++UdA== X-Received: by 2002:a1c:101:: with SMTP id 1-v6mr8097727wmb.28.1526392072059; Tue, 15 May 2018 06:47:52 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id a13-v6sm134949wrn.6.2018.05.15.06.47.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:47:51 -0700 (PDT) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: Akhil Goyal , dpdk stable Date: Tue, 15 May 2018 14:46:18 +0100 Message-Id: <20180515134731.9337-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: remove IOVA conversion for fle address' 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: Tue, 15 May 2018 13:47:52 -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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 7401c088b64798bb254a1b8c6f19ea6600aca751 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Wed, 9 May 2018 18:13:24 +0530 Subject: [PATCH] crypto/dpaa2_sec: remove IOVA conversion for fle address [ upstream commit 48743b0a53363d85e5069581e3f3a42ca846863e ] fle is already in virtual addressing mode - no need to perform address conversion for it. Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation") Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 9f75f56ff..355a95286 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -198,7 +198,7 @@ enum qbman_fd_format { } while (0) #define DPAA2_SET_FLE_INTERNAL_JD(fle, len) ((fle)->frc = (0x80000000 | (len))) #define DPAA2_GET_FLE_ADDR(fle) \ - (uint64_t)((((uint64_t)((fle)->addr_hi)) << 32) + (fle)->addr_lo) + (size_t)((((uint64_t)((fle)->addr_hi)) << 32) + (fle)->addr_lo) #define DPAA2_SET_FLE_ADDR(fle, addr) do { \ (fle)->addr_lo = lower_32_bits((uint64_t)addr); \ (fle)->addr_hi = upper_32_bits((uint64_t)addr); \ diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index f3073aa27..699da0074 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1254,8 +1254,7 @@ sec_fd_to_mbuf(const struct qbman_fd *fd, uint8_t driver_id) RTE_LOG(ERR, PMD, "error: Non inline buffer - WHAT to DO?\n"); return NULL; } - op = (struct rte_crypto_op *)DPAA2_IOVA_TO_VADDR( - DPAA2_GET_FLE_ADDR((fle - 1))); + op = (struct rte_crypto_op *)DPAA2_GET_FLE_ADDR((fle - 1)); /* Prefeth op */ src = op->sym->m_src; -- 2.14.2