From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id 13FFFE5D for ; Mon, 30 Apr 2018 16:42:44 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id v5-v6so8286239wrf.9 for ; Mon, 30 Apr 2018 07:42:44 -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=YHVOMlnYs5XL5Nl/bj4hu3wMRRoz2IiMQiCTyPiYfyk=; b=gZb15u2J5sor0INaWxVHvWkpEp6sfdCs2pYse9k/DE6B+oWKxU8a+SwXUDZCqB5EXC Tl5e7GmFL9P9Ruhc2IJ5aX36ridMRIKmcb0/oAzjIiV4QVVLEXDYuVyyMZivOWCKvA3z BbkYfEtk+73CODWNPPPo0Q++Wk1SMKskGBP8jziTvTN/IoIx828nV18+PTuzT7+w9sqg ox0w3W6wbY2IUPy7sccyr72tg1E9E4Zavei+rUB0T5gDQGx8vx7/yBd3AUv97uCGLIXJ vqMNtaKi8f7tfo3y+LUAZHLETKK1qV0ho2xA6GNNlDFNp+zMGEVYJFnrWOvupQRAhH1L 0tow== 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=YHVOMlnYs5XL5Nl/bj4hu3wMRRoz2IiMQiCTyPiYfyk=; b=fy86YPDF1O0+xwkv3ZSTCPHlFp5Q6LjU0mTgjb4fqwFsylfixXzaWlrimIFU3VTBb6 oov5UwVT3k4aIsnNVKrzuyv1lElyMYonSLJ4LZwRsAR4rtX4WgT4xn50AR9iAwJHALDF Z5zmYHRJVQEHZfBKpf3eW40i+D2777U8lGN5491f1HosiW36IXDS/3Cshs4iZhziIEEF O0WfOV+J7WgH6zfm3FixwyoOIsDfseQeA5HcOOm4OJdLsYzdMyKTvmC4J+rsp3JNC6fX 41T1iMux0S8lYeYR7bL7wNmoy6FcJaIGBsvv93xGKwaZywolk5AICqpXZeQ8Ydbcd5P6 oxCw== X-Gm-Message-State: ALQs6tBefdIILdlvMviZTI1H6a72SLEPX9OQRs29pUGKA0u2MTXfSxL3 htc851U2PEB1wrnt7CE9iYM= X-Google-Smtp-Source: AB8JxZqWGV1xRfGNyiYqmZI4eQt8APi8AHy6toCrmgLepPu0Pn45FI2t0SO3pF+e3mEmJbbVEWj+xA== X-Received: by 2002:adf:dc90:: with SMTP id r16-v6mr8329249wrj.218.1525099364504; Mon, 30 Apr 2018 07:42:44 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id v192sm3672665wme.45.2018.04.30.07.42.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:42:43 -0700 (PDT) From: luca.boccassi@gmail.com To: Anatoly Burakov Cc: Pablo de Lara , Santosh Shukla , dpdk stable Date: Mon, 30 Apr 2018 15:40:27 +0100 Message-Id: <20180430144223.18657-12-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 'app/crypto-perf: fix IOVA translation' 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:45 -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 a88333bdda807a6014473946e618f66bc2ef1aa9 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 21cb1c221..bd71ac353 100644 --- a/app/test-crypto-perf/cperf_test_common.c +++ b/app/test-crypto-perf/cperf_test_common.c @@ -91,7 +91,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.14.2