From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 61E48187 for ; Sun, 22 Apr 2018 17:11:51 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D812A20FF8; Sun, 22 Apr 2018 11:11:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:11:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Q6ZlmvaEdy70cuodL XDgHBoYNy743Dv4acOn0ggO69Y=; b=AXLaahvsfJmZObmJ3fEDuHWkxvQ7ZEyrt 0kVEMtYmHQKnchGyfFiUc853hK7NcH34mxODY1gCowaeZ8TugUOWqA37Iq6Rr8XM 8qE+P9z7UnAfVDhIUPGCtYVDK6saTp6I7sB4oycfaxIwl2hG8mWG8Dh/ctFYlGs1 nGgFvsVC2zLb70eU7iCd/kX9Mt9m7+le9cZWvD8Rvadf+WdU4NSLWl+ZLeRdmO+X Vn8yMkGbRiPEc/6Gx3mMlcBwwwIsI6DmmY1LPd9rV7KWUC3JnXLMGycVHQEVwNJh Zn7xY4KlKL+zlUEWgsx9Kd9cbhuSszONeb13bSfF9yZ6kbyMfXr1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Q6ZlmvaEdy70cuodLXDgHBoYNy743Dv4acOn0ggO69Y=; b=SgkRoona ebzqmpm++arM91b3xedb63ZC54DEi330dqfWT7TMgxG/MXdyCmjIH3uKNod+x9Qe g+/3gDeTO3xS6Ewbh8zlyFBnN9hy0wYBkC1QzUjkonAywkQmYTRokncCRlKqkYYQ IZSsWSONqqF/D+B6p68JgGBYnmluCYYtbuHuEwc10ErgQr+cd8MQlEW8wDrDgPex M6OR/rzmCeKXMe3E3ipCN+ZpR5lcJyhkBL7WhdRKldqPYf1Uza988VACflQ3YBS9 N9XHm3IVwKWjJArJRihviTrikGboUYv87xKP0V26zL5EAIwgGC+CMCk818ticLcD /VnfKY13GcWA0w== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D96A10255; Sun, 22 Apr 2018 11:11:48 -0400 (EDT) From: Yuanhan Liu To: Anatoly Burakov Cc: Pablo de Lara , Santosh Shukla , dpdk stable Date: Sun, 22 Apr 2018 23:09:30 +0800 Message-Id: <20180422150949.17523-40-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180422150949.17523-1-yliu@fridaylinux.org> References: <20180422150949.17523-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'app/crypto-perf: fix IOVA translation' has been queued to LTS release 17.11.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: Sun, 22 Apr 2018 15:11:51 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.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 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 620a1e67570485ad42836703108fd263cfa1c48d Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Wed, 4 Apr 2018 15:40:44 +0100 Subject: [PATCH] app/crypto-perf: fix IOVA translation [ upstream commit 72b75134b89667baf4aaf4fcb516ab6bc2b1ebd7 ] IOVA addresses should be found by calling rte_virt2iova() as opposed to rte_virt2phy(), as physical address may not be equal to IOVA address. Fixes: 2eb6a1a3e5fc ("app/crypto-perf: fix crypto op init") Signed-off-by: Anatoly Burakov Acked-by: Pablo de Lara Acked-by: Santosh Shukla --- app/test-crypto-perf/cperf_test_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c index 328744ef8..9b08b3f74 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -119,7 +119,7 @@ mempool_obj_init(struct rte_mempool *mp, op->type = RTE_CRYPTO_OP_TYPE_SYMMETRIC; op->status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED; op->sess_type = RTE_CRYPTO_OP_WITH_SESSION; - op->phys_addr = rte_mem_virt2phy(obj); + op->phys_addr = rte_mem_virt2iova(obj); op->mempool = mp; /* Set source buffer */ -- 2.11.0