From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0046.outbound.protection.outlook.com [104.47.38.46]) by dpdk.org (Postfix) with ESMTP id A0637325A for ; Mon, 18 Sep 2017 12:36:14 +0200 (CEST) Received: from MWHPR03CA0053.namprd03.prod.outlook.com (2603:10b6:301:3b::42) by SN2PR03MB2368.namprd03.prod.outlook.com (2603:10b6:804:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Mon, 18 Sep 2017 10:36:13 +0000 Received: from BL2FFO11OLC002.protection.gbl (2a01:111:f400:7c09::110) by MWHPR03CA0053.outlook.office365.com (2603:10b6:301:3b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11 via Frontend Transport; Mon, 18 Sep 2017 10:36:13 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; 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 BL2FFO11OLC002.mail.protection.outlook.com (10.173.161.186) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.35.14 via Frontend Transport; Mon, 18 Sep 2017 10:36:12 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8IAaAeK024265; Mon, 18 Sep 2017 03:36:11 -0700 To: Gaetan Rivet References: From: Shreyansh Jain CC: Message-ID: <53c6676d-14fe-7037-29db-ae3265257a82@nxp.com> Date: Mon, 18 Sep 2017 16:17:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131502045727971392; (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)(376002)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(24454002)(377454003)(189002)(4326008)(64126003)(110136004)(189998001)(5890100001)(305945005)(53936002)(83506001)(50466002)(356003)(58126008)(6246003)(23676002)(47776003)(97736004)(86362001)(2906002)(316002)(31696002)(5660300001)(105606002)(6666003)(6916009)(81166006)(106466001)(65806001)(65956001)(81156014)(77096006)(229853002)(8936002)(2950100002)(498600001)(8676002)(65826007)(76176999)(54356999)(50986999)(85426001)(36756003)(31686004)(104016004)(230700001)(33646002)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2368; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC002; 1:c23Fu+LIuZm/weLL0hOV+wOGuU3Zx8ZULzXU/n4a2aLedHx/51DQVdVJoTnZ+TTiNygFMUG+UorynMa/KJ2s2AAHP0HloIOqQ+4G1n8wqx/lQuPs+Qylm5B8WiKz1SgB X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8a539d01-f064-47a3-ebe9-08d4fe81153b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR03MB2368; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 3:N0OzqpKOTPMW/5HuKw8/dyg1JMBLZbWo2jiST7rkhvNHKE0NjlYMrWI61Aq95ZqzN+CZ3DJ3XwL4UvcMkjy3U5P2nU2Dma0rmwGrOibknWiB6ERLvE2KtOBK8crwmC8RPU326f3aE3SItP9qIZ5j99vTnTHtY6Ij2DI6+IilCCWo7KiAPpg1ntgGk84Uos7Q+PunJbrT4W0zQWNp66dtKwuZbzio9sqZsCPJ2jCEiZoo6oZgZq5jwmfIpcYTMlbucvzvXxE9P7pCQuJd1eP43MuTujIEYbYIMlhYOL0fpYV6lKKTwIwDUeMuFvDtIweRwOyMAA6xDUoqmV/xfCC8x2sRbt4TQE+H6B1EYUMFCgw=; 25:JBnu5ipXmHWISiNdGMxaJQulKeIuqttAxDtYF/zGtoXUbAjFLx+VlOlepOAha6Eqf2jpK5ILqkEDItITzhdskSgGw0skgqj1yaW/w0tNR5kZ7rWaMwsEwIyipqYP7Qap8TJl40/GoLePKy5U2VY/u0dWEGwqGGj6mCMMy7+dx3cGVylmcdLncMrWPHkMVwGhx2YvYydWsj/9OIqb4alR3E6AHsvNRYpVJJY+GUiwfdFts13E+k51RrS/kRmFSKMqH8NKt7qiATOkQXz/HJ9AqUF9hNt3dabgMvq+oTp0DmNcpKLnuvqcGzCMZ7k4ShVSZ1exdw9wY+hdK+tuhD5DHw== X-MS-TrafficTypeDiagnostic: SN2PR03MB2368: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 31:n22SLhxrQ/jRY5EWleJ/VtBKt2P4K9Wug7x/pM/2MpxpeyAmKsRJU28cJdT3+ajkVqN9UQN066OUt4RAcGGARVEoRaU5zt2J8pNUJaPyuDPZRjFVuFSCzGKr7Kui8YKXTSu8+pv6owqs98I8i+kQd9yiNdRHCIzvNcK+AKEF8XS6pDduKnxp5kfBqz+3ASSnqOBGxmV9UXGhBCCLVKKrMgPgJp2GO4K9q7AIplWqfHs=; 4:CyKTxt/1XhSzgS3usNmdM13EQvhfd1d9S3KD9nG8QUPZwCY6jt+Jc8ymaa2Tb8I5PJy75a9LTtHKW3oSPbzLTec+8VbCs67usb/HOLjNkFrsFXAhG9aGYK3P24TfmfhzpVoY7K3ChrHhZHrEAmhjwpZqav0lGv2/dK3C8TgU9Bl1Jpv/6ILSWX+6mx3zvnXxDU2qfD58hnDeygiJQexeM+f9E/xSDOxZFOODCE2pUWvMDQYPUhnpv2AmSBMWFfGF 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)(6095135)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123565025)(20161123559100)(20161123561025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2368; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2368; X-Forefront-PRVS: 04347F8039 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjJQUjAzTUIyMzY4OzIzOnZlOEkrSGJJUEtlZVdxTjBDak9PbGw2OGMx?= =?utf-8?B?OUE4Y0FudUxESWE1QVlYcE5ROWRBNURxdzdRdmFyM3lUbERidHpZS0NocDAv?= =?utf-8?B?MTBseWlhNWdyN1lZM1RnUVhsR3htR0ZudU5kSUs1MElSRjh6RzRZbFNWTmR4?= =?utf-8?B?THE1QS9PeTFaTFMvblBZTFg0SDNMdDhGcnViZUxnYnZQb1VtaUtGQ3A4bHJS?= =?utf-8?B?VG9vVnJSaGhYalp6dDhhaUc1VzQwd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AZeU4OCpa6H/vT3i+t0Ms2l+b4mUdQFOcjVqXe8IZH+e7Ne56pWe/lX7mGsybiVaGiNcQzMLbtvXm9cuyEp2nyPmO8uOunszzwDTV3vZgaYAzRrCK1sgTd6+Bqse/OJPqW0GPECbaM/jFkCk0Cw40+V3onQfiHAijxgTWHK2rnw4e6Zf1ehhSXeang==; 5:ICFYmYHcSySRQM2KwbhjrMhBo5ZYmG/olN9QhP0X69nCY80MjUTMUMGMhqmBbq8vqIoSj/Tv9j4YVOTWXoTSj0lUUUmg1xtnGWZB8Edfy0pnpFr57Ws5e5zHuZMUGEWU6JQMyuS2SIwf9fy0uwTFIg==; 24:JnGhw+tAj7I9r/DKKRSEaZQAhPhIDUeZpUN+LMgTZokn1VX/M7HRVYYTLEdvjve1NSzT3oBG87BD8WvzBFHZ8h8rTpLHFT7VBJYh79Bg82E=; 7:8n/XKIG53w8g5ulDCaEXIpup/3KjECIjLfzVQRYNIXf83aZ6lym2qVIxv1rR0Ac6q3r2m82/Noae0svyYmmCq2OE80b69t43IMO6RDl+qVkqZSH/SwB54v+FjtbSNvuCQ7Nd/p+lpYCTO49ZZqtJhWlP0ThoczsJA0yFyWUOynVPALaNsu/1NR/Ok7vVNVHwe1sx+Lzu/ueMAda7jZpPPNr7fH42jlvN0vmjTM2TSiY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2017 10:36:12.5007 (UTC) 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: SN2PR03MB2368 Subject: Re: [dpdk-dev] [PATCH v2 01/14] eal: expose rte_eal_using_phys_addrs 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, 18 Sep 2017 10:36:15 -0000 Hello Gaetan, On Monday 18 September 2017 03:01 PM, Gaetan Rivet wrote: > This function was previously private to the EAL layer. > Other subsystems requires it, such as the PCI bus. > > In order not to force other components to include stdbool, which is > incompatible with several NIC drivers, the return type has > been changed from bool to int. > > Signed-off-by: Gaetan Rivet > --- [...] > diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c > index 5279128..af8719b 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_memory.c > +++ b/lib/librte_eal/linuxapp/eal/eal_memory.c > @@ -1542,7 +1542,7 @@ rte_eal_hugepage_attach(void) > return -1; > } > > -bool > +int > rte_eal_using_phys_addrs(void) > { > return phys_addrs_available; > diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > index 8c08b8d..f866b70 100644 > --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map > +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map > @@ -205,6 +205,7 @@ DPDK_17.08 { This symbol should be added to 17.11, isn't it? > rte_bus_find; > rte_bus_find_by_device; > rte_bus_find_by_name; > + rte_eal_using_phys_addrs; > rte_log_get_level; > > } DPDK_17.05; > - Shreyansh