From patchwork Tue Nov 7 12:15:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 118157 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3901669qgn; Tue, 7 Nov 2017 04:16:20 -0800 (PST) X-Google-Smtp-Source: ABhQp+SMKoDHHrcIunZ2DKRlUQ+EQakwjM5sMOvCfZTpNVRGlkA3u52me6fj0gWb8mzPJUGR4NgV X-Received: by 10.28.113.196 with SMTP id d65mr1176265wmi.151.1510056980059; Tue, 07 Nov 2017 04:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510056980; cv=none; d=google.com; s=arc-20160816; b=sH+Zz1ZYh7ofSq04UwohhwEfcIbHy6ZG0afuNtJ39t9VhNj48feN/ac0Z71Bc1tDDP 7C6CmjVdxAjuFGUxJTwPs9ZDbU5SqCh7hiPnSIZentsLpy4jNPE6LgeM56u9UIkjb9KU z+FwC5AUxAqbz9XtRbcve3S6TziOzBUvVMd5a55TT3tpdzCSje8H8cbEcQdWfon1bSD7 q7fm5quFbuXnDWrQxo/Fm4ZJyi3miMtWFa3QtCtiCoxABwpjatbvLxFcAWPKffhaj3k3 Ah85nhfB7o8gaEHHY3aSCR6Juv4Tur4Ny3WaDanDjjk4Bm86vLmu5rM5yDfpD7lunv/J gtwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=km2pu5Ach4cyTa0e2lfUJNefk3eROmQgFvzIXTscJmE=; b=EVj69Z//wcnPGYx/Plb8jYTWJHh0mX6947pst6LDduvTtL9dLePf172fEgXSZrD/OP CL6CSVqboQ0AIuCIk9nv62CP4je41nBXgLV/aZnWU5Ne3mYrngg6XW6KEQNyokWuPzqX sovKT4THIDODkjgsNyzePRy3aGF2gyZOfYw6Hw+7975ZmOGrzL9i3Wf/oANQnqgeQT7o qdlYzVzxhB2AaYYMh6kdinpilj2SxMCge9l3xcQKuAL81XrLQla6tViQal3jTnxJ1g1S LHAr/gFgK1LWZ+9D1Z7CpR6WYmxaBEcUlrgrce/cz8RRe8JhCbk0FDirZgblGXduE1wI D5zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id s47si922935wrc.173.2017.11.07.04.16.19; Tue, 07 Nov 2017 04:16:20 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 056D81B665; Tue, 7 Nov 2017 13:16:04 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0043.outbound.protection.outlook.com [104.47.32.43]) by dpdk.org (Postfix) with ESMTP id 4507F1B616 for ; Tue, 7 Nov 2017 13:16:01 +0100 (CET) Received: from CY4PR03CA0077.namprd03.prod.outlook.com (10.171.242.146) by CY4PR03MB2694.namprd03.prod.outlook.com (10.173.43.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Tue, 7 Nov 2017 12:16:00 +0000 Received: from BY2FFO11FD048.protection.gbl (2a01:111:f400:7c0c::160) by CY4PR03CA0077.outlook.office365.com (2603:10b6:910:4d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.218.12 via Frontend Transport; Tue, 7 Nov 2017 12:16:00 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD048.mail.protection.outlook.com (10.1.15.176) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Tue, 7 Nov 2017 12:15:59 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vA7CFqAj027032; Tue, 7 Nov 2017 05:15:57 -0700 From: Hemant Agrawal To: CC: , Date: Tue, 7 Nov 2017 17:45:08 +0530 Message-ID: <1510056908-8372-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510056908-8372-1-git-send-email-hemant.agrawal@nxp.com> References: <1510056908-8372-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131545305599552339; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(346002)(39860400002)(39380400002)(376002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(189998001)(76176999)(16586007)(50986999)(36756003)(81166006)(316002)(81156014)(54906003)(97736004)(8936002)(104016004)(8676002)(5003940100001)(498600001)(50466002)(48376002)(77096006)(6666003)(356003)(2950100002)(6916009)(50226002)(4326008)(105606002)(106466001)(47776003)(68736007)(86362001)(33646002)(2906002)(53936002)(2351001)(85426001)(305945005)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2694; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD048; 1:+Q3oGN0QbXYuWy0XeX78hI5Mz4ew9AmyQ+l1e0s/+c57ByqiNtxLHymZf/u10HQUFMp5XjB32Lv4FNF5xy9j3QikPThjXNIUmrXL1kGgbWQKou9n+cEEGNeyHf3vkdX8 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e0c29b85-dc81-43cb-49f6-08d525d94e96 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:CY4PR03MB2694; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 3:SvlWLSXvYbSU/sZSoGllhfWPt24XMVAgkgnxrmQf75Yc1JKcncfUgm6yGqnYZoKtN2RWtRslOhBnmW1qwPC7Rg5CwQCdYrBbt2eV7VpI9TuIhqDpxUWPuU5lspNwoUtAAL6Oaf9SqqaDDhrW+RTlOsOQL/bOIQGgd1aGx9N2q98Cf5/bB6P2/52d1RsfIBVMWUkFEzDFdUhryrmzu319gvLxaFTT+JRQLQdR8QneySUYtyp0GR6dFxK3emkvvybvDugbhch9yepH9FPH1GxAlxO7sakHbxGfieryYMjnAop2wLJc0cSwUOUsqc/y+OBs4Kid3VN4kH4xCzs0y2weLilg/FeFpTQ8xHP74aAwCrQ=; 25:clMsMgtu66FmGBhqTiKqr90Bt6mYdeWyow4voDbua6qQFbdxDGHa3xK915iX6umBB2KDVgIVwdY32TW6F+mJXBWArfQXhioRGwE/76JxyIeJNI4G5LeVsvS6taiMSP4hTWxINTgQy4gJ+Cxs6L8xcw8/ddxQDaO/zzu6FPxyXVSb0yNWzVcUpV9KP0RlAc042ROCe3Sdkfqk952SNkz+SD0Ky8DzfyAuez1Pr3FNpd/2doSOQQKdZkr+vsYfN8xT90kdhzg0V4cvZx2QbZmxhklEkLRjcvyT0c1rFr5JKvZ9dCvVUSuyJC7o8NNKM5W1mWG59b0gEdxK3excfE+aRA== X-MS-TrafficTypeDiagnostic: CY4PR03MB2694: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 31:8jKciN/RiBs5YBA8pzngDI3LAnZ4F1u/a/OrJ53ggYlBIoZr8SUqrrWtsq2HGsdi6OTRs/A2ZSOmZYXHzgvhqOZjbZVpleEcRbUW4G1m3KmkmVW+3lE8NBX/JNPs4iDMMuTvXJsdCTxqfcRZwoGLz362px+lXE9Ly9AvJ9HayImuA+AjMVJ36BUQCsCto26AEAp73KPuviiLJnF1vFVdbwpdDUBwlkhQ6khYuauYT2Y=; 4:/AvyS+Z+FGzsy00K+iIvMAu+Zu7DdexS2inriO3jMaVtHS9VHcJDb6JWAu/QEoaHI2oH181mcjk306Y+NhVTmkWeTSf4zRdg/3YA7WKNOVmlSsrziVc7G5XSdDjaBUi5GB8LBsj1FB+4AQn8n/zBwHDLg2EuHN4y+sF90DC6XArawSLhOxLdwDTA2glHVUTqwTnPS4Ebl5Uj9kFJJFVfKNkpgmaxKbJIfAPr9jN61E0QMo6o75isTh7oknNnGrCu6e852kw5CKJqLrggwdJq55yDOnqxLudIP+dh6anHCeGiNzrcS9K8utf+Bx/H/T0E X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(3231021)(6055026)(6096035)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123559100)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2694; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2694; X-Forefront-PRVS: 0484063412 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2694; 23:nHH/yz7qxQZjTF1GqYxIEwJHtO8zmpLeCZbrMpoP5?= C4VtdUiLhA+ngj497MjLapZxfEK+ef+lhbKlvua1ghR0o1ueJG/QY58EIqM4WPf6ho6Ar6/reJ1kMrBDd1OOOG0XetgsGAzRMOopLFDpeyO1GDUuoV1jGevnjRh8v0cAp3EyWDZsT6EsZbD3MB6lESwpKttfUl9Aj9qSxuZfV3pPrca5uMN3c5Kjfd+1fIfnn9A8t6EKUavu7e0p8nv6p3ug8i/neMIcjTkTfzWFlxZx6c1wQ0q137AvlkFwd0MasBxmehxqJ0kmCN1J2/BCpOqZVxuk4D//a3UnY6IndN8CKCaqc4Cw2Eit3EiF4V7kcXF22wOOdjAdCGuiTMw6uI/24JXvaiGNT4umJzlMkBdg9eONUUSYbgJDhmifQVS9nJ9ICPkHjpY59BVIZ686Qf0ZIkmmx8eEYvG+UQG3Qpfgoykqa9p/WwKGhBctv/KyKt6ernjGhDnLjqPqVMi6TYKVo0MJ3+tAddAhK3U5Fhr3oYhw+p2PdTlkx1w731FKHG45wr1bGj/pBvIPBb/frvUhF/RFLh+wP6+RXZA1A/p8qBStzdyVlVYvQT1zt/FQuV63e7iwHiF0WE65kCbJBJ5VwQu0qUaZnolCymKiF9auzqPZr+80mqYJCSQkAUAhH3B/gwi6EL5Ghp1p/TnipjrZG7c9sHbLuxKwfEMW5EVhQcsPHe678HbUW74kNOqVlF2UcwtGvyxgtv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Y=; 7:8opopV3L3V46CiyS17ipPt/Dy4+olIJYRlgGmyLgFbM/9dEWumUt+wihU18/kalB1Ef0KPrT+bg9MwoBkGx2/3ydYdlHwD1FUFI0a6sDSyoUrPoo1ot9XZ4XjEJ0xoJpu/SjV6bwgpavUP3D9z3mSR3K0+NvUnBUVdG0x6DUefdcDXymOLPySTOBiJYJSyrmOPjd/ApGbkfNFb78kUo3HwZpenU/yeGE4iSL7Zh46g06NxOAvUmrgcTO6ltETx9m SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2017 12:15:59.7524 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0c29b85-dc81-43cb-49f6-08d525d94e96 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2694 Subject: [dpdk-dev] [PATCH] crypto/dpaa_sec: changing buf physaddr to buf iova X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" buf_physaddr is getting deprecated in mbuf. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa_sec/dpaa_sec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index d1ef241..16155b1 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -686,10 +686,10 @@ build_cipher_auth_gcm(struct rte_crypto_op *op, dpaa_sec_session *ses) uint8_t *IV_ptr = rte_crypto_op_ctod_offset(op, uint8_t *, ses->iv.offset); - src_start_addr = sym->m_src->buf_physaddr + sym->m_src->data_off; + src_start_addr = sym->m_src->buf_iova + sym->m_src->data_off; if (sym->m_dst) - dst_start_addr = sym->m_dst->buf_physaddr + sym->m_dst->data_off; + dst_start_addr = sym->m_dst->buf_iova + sym->m_dst->data_off; else dst_start_addr = src_start_addr;