From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0041.outbound.protection.outlook.com [104.47.32.41]) by dpdk.org (Postfix) with ESMTP id 1917C1B253 for ; Mon, 6 Nov 2017 06:42:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iZ5nCKZp/DfimSvMgsLEqaoadmH47M7PpLAnsYQSDYs=; b=TVV9X6MEe8n4v+8TNT4u8GotdzdirUeEQ5Cy4qd95AHiWSNP+/1GegVcZ290onvFD5L/Y5m5S3rxdRQ8zlVs+G6iAhEf6+51F3DzIsXurbXXZlT1Ca9yuWHQPi2bBw4uoxDlEyACpZQLD8rJmhXe+FYIfjdiu4Q8Wy2R08u3OnU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [IPv6:2401:4900:1981:24cb:f43d:67e1:a281:7906] (2401:4900:1981:24cb:f43d:67e1:a281:7906) by BN6PR07MB3092.namprd07.prod.outlook.com (10.172.105.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Mon, 6 Nov 2017 05:42:01 +0000 To: Thomas Monjalon Cc: olivier.matz@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, dev@dpdk.org References: <20170814151537.29454-1-santosh.shukla@caviumnetworks.com> <20171106014141.13266-1-thomas@monjalon.net> <20171106014141.13266-5-thomas@monjalon.net> From: santosh Message-ID: <36bbb6a8-c51b-8cf4-1876-8a61514b8922@caviumnetworks.com> Date: Mon, 6 Nov 2017 11:11:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171106014141.13266-5-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [2401:4900:1981:24cb:f43d:67e1:a281:7906] X-ClientProxiedBy: MA1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (10.174.56.21) To BN6PR07MB3092.namprd07.prod.outlook.com (10.172.105.10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b10de221-1aa0-4a31-74aa-08d524d91c0d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603249); SRVR:BN6PR07MB3092; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3092; 3:0AAUPgV/LmeI+kd4QnEVB/ftKZSkoa0vI/SIubKWhePRO31LtbqOy8wg6Ez67vQGtyN8c5iF3PROLCfkWUKOC0gPWeKQQX6Ffq9B03BpPG+fbV1Beq/lP84x543gBf6SesNY3ZdMH9DsCfuGCeDY60NTHyGPzmz/k1TemD80vjiKIQLd4fhimEnUvO1zOxjMFH0jnI9GqrZRRDnTUf48QPMic8CSzm9KZLKjJuoW09MnTX41i1PdKJn+DL37+SEz; 25:mVHV7b/y2ifAIpgV0CB1cHpQ+4ONcvmQiK4XiZbWXUHX3KR64HVXp0Rdrsza/lcslGkH00r+WGDKadbocO/D0Xa6ZyW+uEzR2fIS5voPA9V8OhlxQpIZN2qRSwHOD4I0CDrNKDrM6fuCqieFAf0oQdGabPjjIN0jDMg+3ccXrUA6UxBRqqMutfoo5McfqRtkpXH0a2rz50r4Xi5xwlFFhGcctl0QEcUVwf9EmvuktxuawatHlrLUe7ICQH+7YSaU7hNrqrS8q1mSq+DbwFhTf7oATaUczxUIKjWdWbZYgrGpR10g/as+eTbK84gJZA/5TneGSw3zlXVXtu5ciOAjiQ==; 31:FzsLLQPWCiLUiSYYGwAUUlfBPll3P4z0OjvVm0DGJbkNVhg6sSkvlGjIJOWXCXlNiGzsHstf/Q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vN9CP/sPdfvFFUndJPqh6t+uZC9C76oQFpux+h5bOutR0N7AVAMvUjb+PU7kCM6wcLw== X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(3231021)(10201501046)(3002001)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3092; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3092; X-Forefront-PRVS: 048396AFA0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6059001)(6009001)(346002)(376002)(24454002)(189002)(199003)(7736002)(23676003)(65826007)(47776003)(97736004)(25786009)(65806001)(53936002)(31686004)(65956001)(5660300001)(305945005)(229853002)(8676002)(86152003)(6486002)(1706002)(31696002)(6116002)(101416001)(6666003)(64126003)(42882006)(6916009)(2950100002)(2906002)(81166006)(72206003)(68736007)(8936002)(189998001)(33646002)(36756003)(50466002)(81156014)(58126008)(316002)(6246003)(478600001)(106356001)(230700001)(105586002)(4326008)(76176999)(50986999)(54356999)(83506002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3092; H:[IPv6:2401:4900:1981:24cb:f43d:67e1:a281:7906]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjA3TUIzMDkyOzIzOmluUUo2T1B2U2J6ektYRVZoRWViN0c1Y05J?= =?utf-8?B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XABF+70DgE4uEg8uCvn5MJDZMzCibXsDxgpHlmknFHYiIA7U0s3Tp9g7jm0juvWDTXEVqfYk+FKUWp49F3jun+iWuM+jNpNvJ0Npe/wP4pp0UbGTIbqoc9MEbRDKAWehKKH9/r2C6ATJJ1bVX02UHKUWIib6TFcv//5HyaMCfyvmpA6CdCLyKs2xw5ST2ykPfdACb5Mxr746w4AV/GHwb8RwtW8++3Ce/6sekZnvhrNhxvk=; 5:zFsVpH2jo6OvwVAQrAQzkcl1OGQEHKriFGeimE6c02Z4G1zVFbJ20/ZJhziCPKggBsVZ2R0rz6aT/0r6S/t+PqYxcoiv0GpAWLuVQwhiSCJvoBzW0SoWokzvI68DhYsVn8jIiCbj9ANcm+VP/boFm/MntyVe50upMc/iRPf9gNs=; 24:qTJ5UWd+HolSxl/WzjtZXeLxjlSZo/JjYNAHb72jRe71YGSptI7Dtwgkujux8bPrvAuqQtTB/deFzQySDJAgQ4VfQmxWjfa0LQLfbobn5C8=; 7:EiFl5am9aZgvQgcgZ+jL8UpaaAhmIJvXhR4zy/5Fi6ArifUp0UO6YWRiDVN547QnFDxF9nUWggqQJfAmFUjYEFq8oy9vRA48M3aAPfKJHsdRroJHs8/FtlYOZebwtoHKkJjNy3smCgryOb3jsILglXteTKWbvNWxbzLoef9kYCEFrSHQ5VNgUc5HuvneIFCExcn+q231qAQfk4FZSh3/0PMapmYAOpqGsdtbxoTTLnV41LTdbZboCHFx/IkSjqWw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2017 05:42:01.8690 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b10de221-1aa0-4a31-74aa-08d524d91c0d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3092 Subject: Re: [dpdk-dev] [PATCH v4 04/15] mem: rename address mapping function to 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: , X-List-Received-Date: Mon, 06 Nov 2017 05:42:05 -0000 On Monday 06 November 2017 07:11 AM, Thomas Monjalon wrote: > The function rte_mem_virt2phy() is kept and used in functions which > works only with physical addresses. > For all other calls this function is replaced by rte_mem_virt2iova() > which does a direct mapping (no conversion) in the VA case. > > Note: the new function rte_mem_virt2iova() function matches the > behaviour implemented in rte_mem_virt2phy() by the commit > 680f6c12600f ("mem: honor IOVA mode in virt2phy") > > Signed-off-by: Thomas Monjalon > --- Acked-by: Santosh Shukla Thanks.