From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0072.outbound.protection.outlook.com [104.47.32.72]) by dpdk.org (Postfix) with ESMTP id A95891B19B for ; Wed, 11 Oct 2017 13:31:13 +0200 (CEST) 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=mgdeomXdme3kIuu8vThQntV0EnJTklIWbtha150cS88=; b=RMqzBIuedevttVgPbsaeEoz+fIf/U+cr9YEQ+AW3e5PeY5sMoPypd8hxU7ElAQa9SoJdmHhq9g4OtZpgotOc20zfxT6zku1KgfPBhJFCs+tjXHaScydcaAC/DQh0dw2fhR/AXPARTyT2SVArP854NDXl/PcwAVJqFy4e/GMUhbU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [IPv6:2401:4900:1984:3f6d:a124:6786:bc05:1a61] (2401:4900:1984:3f6d:a124:6786:bc05:1a61) 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.77.7; Wed, 11 Oct 2017 11:31:08 +0000 To: Jianfeng Tan , dev@dpdk.org References: <1507718028-12943-1-git-send-email-jianfeng.tan@intel.com> <1507718028-12943-2-git-send-email-jianfeng.tan@intel.com> Cc: sergio.gonzalez.monroy@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com From: santosh Message-ID: <9a5e98c4-bd3b-54bb-3e92-a69afaf69b1c@caviumnetworks.com> Date: Wed, 11 Oct 2017 17:00:53 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1507718028-12943-2-git-send-email-jianfeng.tan@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [2401:4900:1984:3f6d:a124:6786:bc05:1a61] X-ClientProxiedBy: BM1PR01CA0094.INDPRD01.PROD.OUTLOOK.COM (10.174.208.162) To BN6PR07MB3092.namprd07.prod.outlook.com (10.172.105.10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 235c2627-83ed-422c-ad24-08d5109b9302 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN6PR07MB3092; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3092; 3:sh9Br2FtGI33Dj8vT8q2sHnxe+NTV/Ts8XeM8ElkXtSMS6hpWuz9D8w1mszRfLDOSHKoT6zknakhr/DOeN1Jlh9PfnQQ70kX3o3wVgaVh+uy+qxDDILW+TUxkR0B6SB9JejnNaW6QIvQg4rDf9iisuMHRuL9Pnc6pez+ebBl4eghWrU766qIvly37nzbOQr54rzka8Mz307XWAiuxPnZx+H3fNosmElLjuiXOuTQUuuubbJKw7rRzyg25x7dL0+x; 25:rGajW2YIflnf41wbIO1eRgECg6vvfWOKFvlOEno070cA5U64kglpWsc2YUK+75Qb5ne92o9BV4dGQw7De7fnmvy39Chbh55ozBDgCaKqOpA7JFgLUo2bDgqYwNhtdOoWYbwTS8OmfP235dVvH0KsK1RzeIqtlmK2y5EpPwN4pcsY/zhvLlb0UdM8tONpCvTaDQyGG4deHgSxorc/zDOzKHUUzXLXMRLOidrW5/fBGBNYLgwlShCGr3/oJg/TwOUmXCajjjZDiU+Pq70TzDDXmRI0r5imkAI5jirslcs75IjNS+75u5zM7TD2DQBJiPXbr+h5ErZeMKtTCKOaJnK92qLpKBAWUWpBCrTpCECmHVs=; 31:9BiQmoxCZ4jlCghjSOBUDbdfBD4DLSZIFlgQkel6mKvzuwPkaysv12TW3WNlXQEsI85uNSV2Ty4AA4x0KYG+nX3Ho1hG+l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bYImAzJOvPWspsbqruGAPf3d3JDP2CV5Xh6nc48CNpiI3ehGjv97xSRFYLocj2F4oU= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(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: 0457F11EAF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6059001)(376002)(346002)(377454003)(189002)(24454002)(199003)(47776003)(2950100002)(58126008)(31686004)(6116002)(5660300001)(106356001)(36756003)(105586002)(65806001)(6486002)(76176999)(229853002)(50986999)(2906002)(65956001)(6666003)(101416001)(25786009)(50466002)(54356999)(42882006)(65826007)(230700001)(31696002)(6246003)(86152003)(1706002)(189998001)(81156014)(8936002)(8676002)(81166006)(7736002)(33646002)(4326008)(64126003)(23746002)(53936002)(316002)(97736004)(72206003)(478600001)(305945005)(83506001)(68736007)(14583001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3092; H:[IPv6:2401:4900:1984:3f6d:a124:6786:bc05:1a61]; 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: =?Windows-1252?Q?1; BN6PR07MB3092; 23:sqFnPO4DJ8EbtmvWvtCPHJl2v5tr6cQABaZkV?= =?Windows-1252?Q?INGqj9xTDSmss7DS29giBntKWZhiDGJXMgHt2tcN5ERdaHwg5VAD8/WN?= =?Windows-1252?Q?14+vJcbpplYnHUvYPbw46sRTaJw3ZARCUp1MiAXY9+2CzRmGmsRUnUls?= =?Windows-1252?Q?7uNq1OUzicFWDxIcKIlAGjI7ofIGYuZ5FBJJ/VYiy+6giTtWP4xx0ZLP?= =?Windows-1252?Q?q0KUCNKx79z9I5mmgbiSHPnPX8DhV/Qp+qKn7Xsj8p5a6BbKxZUaIN/D?= =?Windows-1252?Q?dn0WVw0oRxh7vxGha1FMWIJarcf9PK97oN3sWeZebXqBOBPTvb979Ljh?= =?Windows-1252?Q?bHMskCknA3JHXmFikrA6Fs8or0V0i+3iZx3+Cls1XqhH9TCWAdXYQxtl?= =?Windows-1252?Q?moeLL+8+fkm3tFAXdINT7utgzgtgnMRT5RkQdswUC+6kzJZkjxgzsRpD?= =?Windows-1252?Q?KpbP1u6ILk5xcLNNoYsgqU7LgaopPdsFoCk0/z+01FI5Ui/0rKFNVG9M?= =?Windows-1252?Q?at2y7szBCiyAb2QhNJ3BUvsKaHxGf91aa6coXAk/uGUqRSS8zqhspaN+?= =?Windows-1252?Q?zZ4rmnEp4IdQB1G7W9ZtIz6pjCEaJzPGNWBV8bH5QSQ2Ltha0Iek36Wr?= =?Windows-1252?Q?APLm6j5x+tQEi+3QlH9+clEUOK58GdHDCbucD+f+e6LQ7fWzKZ68saTm?= =?Windows-1252?Q?T9sx+g6zv/2rCWnGeyW195JWy1dXXjKS13RW3epa/MqjQ1gbzKghOgzd?= =?Windows-1252?Q?ITmYFxX6K0236oVOSwCEZ+FdYqimKRqVAuToL1n2Exj9mVAeoyaiDDNL?= =?Windows-1252?Q?igLa1/ddJcFgMBaLtRALD1ZT8xfdCuWG54LlDP6GspYJzS383cynTopb?= =?Windows-1252?Q?OZJJL5ouawvYonC0YirMcX1cJEoTzTuASWtfTuwpQm/F8O8fXDreJWfW?= =?Windows-1252?Q?C5vPfPpt0NJCILsDirCbNnajhrvRQbEwXqz3KBvSFJO5dG7uJFIOPfkh?= =?Windows-1252?Q?D9oLLVP8y1Q3EJb0Xp+MNnwh9BG6HuvqSjhHp0uqTUcApXSRNtA156XT?= =?Windows-1252?Q?qYW7TVj5J9+i3wmuBujdBmhNrpB+/2lOHeyk0VWl1NCnTfYIVINg1XXO?= =?Windows-1252?Q?9s35oapzPAYuZWh++AjfsGzDYfnOaWr3bIci/YrfxnAUVI4+kERyGsHo?= =?Windows-1252?Q?+e6F05cmDuYHwWX6c0XvFH3bvZl/MBhFx/625OqELGwaHnHXqxF33Qge?= =?Windows-1252?Q?TEJIKoDieZetdLr0vUQkjK/mPyfxu48M1fIaUkE9gRK0H6BxnOH8lbkZ?= =?Windows-1252?Q?lTBgZ1tAmoIHcsU9LLl38PCEOvhkkfVaTkIjG+po/WZcLkWZrtiJZREU?= =?Windows-1252?Q?aDpP6yYzrM1?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3092; 6:UJOzAjV2r7lAwo926GBPXD6fuXoN7Wz4qDicCE3tmvD/wtW/eJoBJlW/rNF+/ti+IdBz/l/6qsdWNQ0bpQijiqwF7n+uWMU7tVHXPQEVQJGOB//AiIqsZYtqD67STvlFwywMFWG8NQt7ibpLpCFAM037RHSvDDugoczYRfVBuRHD7e/YGn+wg/CbWXwGn94FhlPiY3bxi6A6U5prBMRT4qfgGzPbezzlSxKTe1vQ0J6j9vmQSmrvZ1bY7k3y+zGqUO+/i9PXE2fQCxj2lnqDJqV9bps/yjPfC+IRTFKZcdhuDxoX9bzORDNkkJ+Aj5wYPpeFmaX30h4DcORihiODxQ==; 5:phQQQN0nupBfg2phKxVWDNIMILrEjlPGjryQI5AIVCJkHdnm/MV+mXH49hRDTkMihlHC4spGFI/YRiImKXcMJk26ZA9mHe+q0SsHTLX51K/eMTAJ+J4wr4iNsUxF+/E9LyMXFD6Z/FaCwGrGVnKeHQ==; 24:opbBLhMURZ58Z5Be5/Qcgm0n15zzhIfXghEbhHyGn0y4xhNz+6UrGREUtZhvdCC/ZsOybAyzJC6ypmGDtIx4lQG6+046MfgoJV++89vova4=; 7:vF6/XNdXsVIi5IntflgtSxqqHLRaK7GU2OHn3+6YDe2wcxk8aCn8PaVVbgIfBnvqSReEDPVsb9Qic+CGwTho3lwgVEL7jWjrP776tMrNM9xIq4xClCI5ybzKiXoG2eq7qVcBhDvxFNaJdulYWUz87/Z0DFZW9dzklmAsYzh1tBxydcaNbMB6WZrcxMLfu/YVZR63QNRmGtibj7nwMdRZMec8RM3IIXMkTSDLGbwQ67c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2017 11:31:08.9881 (UTC) 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 1/2] eal: honor IOVA mode for no-huge case 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: Wed, 11 Oct 2017 11:31:14 -0000 On Wednesday 11 October 2017 04:03 PM, Jianfeng Tan wrote: > With the introduction of IOVA mode, the only blocker to run > with 4KB pages for NICs binding to vfio-pci, is that > RTE_BAD_PHYS_ADDR is not a valid IOVA address. > > We can refine this by using VA as IOVA if it's IOVA mode. > > Signed-off-by: Jianfeng Tan > --- Acked-by: Santosh Shukla