From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3546AA00C2; Tue, 1 Nov 2022 08:48:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBC4040223; Tue, 1 Nov 2022 08:48:20 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D9A2540156 for ; Tue, 1 Nov 2022 08:48:18 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A16Z9t3009745; Tue, 1 Nov 2022 00:48:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=NGJAv0ZjKdlFAn+ZHK4ZSMXBuihuFoi/q8j3nkUVYq4=; b=BdDFLKnM4FY0ksy3yD6vN9bkPxfWTgS6nfr4UcTo0aJmNPvanIRRHBSnZULPblSfQICW P2hy+lmnIZWWCRRWItxCZTWnMkT654j/CAiRJMQ0J4qC/vHEFshzUBKsr1TXRwNSlS3A ds49zLQOsQgs428qfYPC6ykKez4kNSGWecTiToIIahSIZZPp1U05egUw8la6dM9TAKzn sPbY5mFBs8uvEqRXnsqPZ1tjr3j2EGNBVU2FoTPIo9HOzoTQr/sVTUq/FDTOwXAJC/5f 9RApHZH5Bin0r/X+d57BRBiYZSe1uAewmQT2NaZPqRKRJUagyUNZZ/DJ5wBq29NGJE3S YA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kjxagr6tb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 00:48:17 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 1 Nov 2022 00:48:16 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 1 Nov 2022 00:48:16 -0700 Received: from ml-host-33.caveonetworks.com (unknown [10.110.143.233]) by maili.marvell.com (Postfix) with ESMTP id 035A83F7159; Tue, 1 Nov 2022 00:48:15 -0700 (PDT) From: Srikanth Yalavarthi To: Nicolas Chautru , Maxime Coquelin CC: , Srikanth Yalavarthi Subject: [PATCH 1/1] test/bbdev: use helper function to set IOVA addr Date: Tue, 1 Nov 2022 00:48:07 -0700 Message-ID: <20221101074807.30388-1-syalavarthi@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: im7zv3O31cROCs6ExLlqZ9ezOI3RkHeO X-Proofpoint-ORIG-GUID: im7zv3O31cROCs6ExLlqZ9ezOI3RkHeO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-01_03,2022-10-31_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Use helper function rte_mbuf_iova_set to set IOVA address to fix compilation failures. Fixes: 0acdb98667 ("test/bbdev: add FFT operations cases") Signed-off-by: Srikanth Yalavarthi --- app/test-bbdev/test_bbdev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 8cf4359a2c..b285d3f3a7 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -1142,7 +1142,7 @@ init_op_data_objs(struct rte_bbdev_op_data *bufs, "rte malloc failed with %u bytes", seg->length + 1024); m_head->buf_addr = data; - m_head->buf_iova = rte_malloc_virt2iova(data); + rte_mbuf_iova_set(m_head, rte_malloc_virt2iova(data)); m_head->data_off = 0; m_head->data_len = seg->length; } else { -- 2.17.1