From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0081.outbound.protection.outlook.com [104.47.41.81]) by dpdk.org (Postfix) with ESMTP id D1D40475D for ; Wed, 14 Dec 2016 02:58:46 +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=iq982kWkB8F6OAWDdTBJk+sS8Dii5r71ZRH4N+AeOxk=; b=VIWOsFtjF1uhNbEfBFLugb8H9KfGXgskjBMy3QG1zr1UNTKks1dXRlG44EyniYwWInF78g2Ytr1CYGRRznnvk19AbHb9DRGzsfsZNQ8rRommNXL42yS6mRqDgbdc70VgzNmN2TSzVYHnJNyqXv1iiSCHOjnTS9BjJ8ATx7MOi8w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (122.166.91.229) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Wed, 14 Dec 2016 01:58:07 +0000 From: Jerin Jacob To: CC: , , , , , Jerin Jacob Date: Wed, 14 Dec 2016 07:25:42 +0530 Message-ID: <1481680558-4003-13-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.166.91.229] X-ClientProxiedBy: MAXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.164.147.13) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-Office365-Filtering-Correlation-Id: 78428057-ae7e-460e-d07f-08d423c4a7e4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:rKatqx0asz2QoH1pTxotJc6WCfg1Jwwfbe7y7mJT9DbXN5I4iioj3KwndpwqeTybJYKHSWyte69HadN/AyJJVhUy9LdPAY1XAvI/e8tedaGFHN//sE7mlijdY5XiP/r3aSlgi7mbvWDldIOdVew9PjvX5y80c76i+lhjMeOmoe8Ds334TDICIxmZK15bPpKgd5w0J3A0k0XALiXr8TQS2ksUMKANeTTQ/AXNh5ZNRvYSew/7JZ/VUm+Zxj+CTMPbGyZejSAqA5cEjr7fBocbHg==; 25:9h65yh7DZEehDz7rlMCIDzVO7hQR4E3jqlrlHPZRnKCBUQzglFldZizCJs00bcXsoEO2Oqm4l8uaO5EiEbB8ivaye/H0H86QCU9JTCSuii0nge2sLbC9W7FSLLNbJ0uQe5gDjy+hP8g+EcCC3kDDmZZm35780ECmro4ePQOOx7yIV3lq9KEfGM8V+8yDW9vY/cuIbxZiMdUx0aRHkFo0vctJIU4TsJQ4L+j88UuUhF1iUS7JWvhflUqSgR6CMXYOvkVUcVNTG+cqNKnuAjIQ73KglQ/5KSUFZhVW4xmMPHHrezBEf8qx1xBNXma5YWA99gk2cRDuSgPQMuJLipzSNjdFzawmiFeBVDh6sR+pjPKBYkYBknou3mTDeL33RCkYb05e0BBJZVhfJpAMR+5P9nCZLybsQfcUXm0Caj6U1kLDx/ajJrn2o7S+fFiA3058qBKFjH3tFB27smUMeWdD9A== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:LAdKALT0mc/Q355K1gem5AS+j0VFWYksdNGa/WaMJOPcv95xE//LSs/+W/1rXcAF8kazTmjTPiKC1LDBZmKbmoUN3sgi9HT5TgG9ffYXyJRpB4u0GyKUU4ULlBOct+ZZbsguvcg3Reld4ZFvZqFJdddTe0GFo35pD8eV2Kj5kizzjUOXGD6g7TvmGSZiCX7wdplDpeGQ1eJVI6PvIuouclWlmml7uNqOsZzbIlvGqsvEhijapbCmp+0Epo3j32D9; 20:YzhXVPG8BP7SAwWfmEWU5OnUc4YZgM9ZXiukkqkHa4OPx6VDiY95XQvgTJBhYUv7M4u0pJbQfNn+a4ikFyJEBrdFUdSEmgfy0XxGtO0ikApETRZbyyuDgVQ9UfrPOdArtKF71nzVk4D74xU6OdG1rbeaAhgdIXVUaxfy7ly6/aO9P/pARXwrxg96LOkPLRsOk/KGhflCLfWm7bXCxc3SOuU0JDuMEsGG3t5UqZ9BnsMU8FwIwUMzDiWS4qMrme/bJlR01y887tox6EduGFijuZXBbryM4esBUIdJ0biZss4fHY/65kq3vNDDa8JCP8eC41e5JosH3ztcKTGlx6e3qpyDZdiRGccBv6KGhIV4J3BLOudXws7oUwF0fvnRLwUAkPBUxiwI9p/zUCXkukSmYY1DStXL1FL/VeeMF9QKDzRrWZkwAngRiV6iSjcwlIlmGSBh3YsFat0Q0xPGuHx494tdE5RcW71CTu/s32DNcmJeVmM2XahRF9qUnBdj/fZcZNd9WeDrUq1el9UDmKbY1+SE8E7HXKOlF5GfOXsodUSp1IsD4e5eEI2GngxBrABb03F5bxoydWDv/GzmCnq4i8lIf1Rl9mqHooNB6sPZ9Nc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:0yE8GmCBN96WjL7XjpBtJiYSp4+LfqafVpXmsRNm8wy1RWcn+9VZHMOIp3QFSyNBfpw+SBvmV0DOEueXA9gcoG6nOXDfxChos+jlJ5SM387f4Z/npPC6ETGZ6FSnUXwaS9su8g30vldn/a00xPGFmxjuUFnBmV1HrvZZwZcUS7b0qsnfcTeVbNeZISBSiptSsa5EPRR3QleS+96ma7aNu6cJsZ98hX7lZpfftFHuVv5BapvxAzM50Ag/NEN1s9LjtGj2T8V5PK4vNZfWLajZBzTyfO9VpN9CuWPeWXjMarS/4R5+iPzut2C/qWz3qwhGnrWirJ/kEpoGI0mTxcWlREbXPfqEB0Ye26bSnJGG2PZmj27mlBBDUl/N7tLeSPMi7Y10wuZI3LO2HvsSGV2JKCv4kW4l2b3lJJW19XHGiLo+Csbg11FqLSCGkBiYOUde1JzIpJao6YC4ktwr3X8/t9DV0lWFDcWb9aCNvJ3EMZL6I8RysfL70mA7nXH/eGNlJkg8TUbQnb2N2TSs/cZ2NMCaGf+do9ohSLhvK3+z6rwWFXbdzKZu8oNXwAYifZnoy38Hza1T0SS//uNsnFcGRw== X-Forefront-PRVS: 01565FED4C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39450400003)(39840400002)(39410400002)(189002)(199003)(6116002)(6512006)(6506006)(6486002)(3846002)(66066001)(68736007)(47776003)(92566002)(5003940100001)(50986999)(76176999)(81156014)(50226002)(2906002)(110136003)(33646002)(6916009)(101416001)(42882006)(2950100002)(6666003)(4326007)(4001430100002)(81166006)(38730400001)(105586002)(8676002)(106356001)(5660300001)(107886002)(305945005)(48376002)(97736004)(50466002)(36756003)(2351001)(42186005)(7736002)(189998001)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:localhost.localdomain.localdomain; 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: =?us-ascii?Q?1; BN3PR0701MB1719; 23:s4fLEZ0LNkck/fGIcfWZ2ndxDL4dVqZqe4lXkB4?= =?us-ascii?Q?lVXw0wjnKa2OKgYNGypKGc8LhraMzXcWT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U5TZ/hBPJg2O+cygHzLV/pUCo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:kTVUHKo+27PMNfhqgyHHv5Ylz7cn8xPlQzwCNqVDpoJ/HmSbR1+U6fD5skIa3UFqeEOcb8TfxaSgPAtvoF2QNvNSAsvRfaTAhWA+Ju/LKFfACFBW1MBZpRS2h3hZZC1n6PKccQQD0ai7wjRv/EnnwvhrF16masJD28IgUYJkkC0CDAPz007TkRodvJzLQGEWr9HrtOTs8NgdcijJ8NxnxZugPlnanV9qkLOPypqqdWRlWDRjpcn+Ozoj7slYvM/efZswWH5YY927o0L8giwJunz9Ev6cSZZV2peuY1Zxm5HoUnG2oTwrkT/2d7YtTo3IQs4gMscW2c2AGk0sb23CEOVDWs94jtL8Ri1H16PG3BvpW035xM6uAr/wOW8Ns29V3jyMnPB2yYyXSji1+ObnkYHjGGkgADp9cxXQpHfg/YU71VS1013juWHwLNU19r14wla+d+rVFHkdCAYfi5f7sA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2016 01:58:07.7794 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: [dpdk-dev] [PATCH 12/28] eal: let all architectures use generic I/O implementation 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, 14 Dec 2016 01:58:47 -0000 Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/arch/arm/rte_io.h | 47 ++++++++++++++++++++++ lib/librte_eal/common/include/arch/ppc_64/rte_io.h | 47 ++++++++++++++++++++++ lib/librte_eal/common/include/arch/tile/rte_io.h | 47 ++++++++++++++++++++++ lib/librte_eal/common/include/arch/x86/rte_io.h | 47 ++++++++++++++++++++++ 4 files changed, 188 insertions(+) create mode 100644 lib/librte_eal/common/include/arch/arm/rte_io.h create mode 100644 lib/librte_eal/common/include/arch/ppc_64/rte_io.h create mode 100644 lib/librte_eal/common/include/arch/tile/rte_io.h create mode 100644 lib/librte_eal/common/include/arch/x86/rte_io.h diff --git a/lib/librte_eal/common/include/arch/arm/rte_io.h b/lib/librte_eal/common/include/arch/arm/rte_io.h new file mode 100644 index 0000000..74c1f2c --- /dev/null +++ b/lib/librte_eal/common/include/arch/arm/rte_io.h @@ -0,0 +1,47 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2016 Cavium networks. All rights reserved. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _RTE_IO_ARM_H_ +#define _RTE_IO_ARM_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "generic/rte_io.h" + +#ifdef __cplusplus +} +#endif + +#endif /* _RTE_IO_ARM_H_ */ diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_io.h b/lib/librte_eal/common/include/arch/ppc_64/rte_io.h new file mode 100644 index 0000000..be192da --- /dev/null +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_io.h @@ -0,0 +1,47 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2016 Cavium networks. All rights reserved. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _RTE_IO_PPC_64_H_ +#define _RTE_IO_PPC_64_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "generic/rte_io.h" + +#ifdef __cplusplus +} +#endif + +#endif /* _RTE_IO_PPC_64_H_ */ diff --git a/lib/librte_eal/common/include/arch/tile/rte_io.h b/lib/librte_eal/common/include/arch/tile/rte_io.h new file mode 100644 index 0000000..9c8588f --- /dev/null +++ b/lib/librte_eal/common/include/arch/tile/rte_io.h @@ -0,0 +1,47 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2016 Cavium networks. All rights reserved. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _RTE_IO_TILE_H_ +#define _RTE_IO_TILE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "generic/rte_io.h" + +#ifdef __cplusplus +} +#endif + +#endif /* _RTE_IO_TILE_H_ */ diff --git a/lib/librte_eal/common/include/arch/x86/rte_io.h b/lib/librte_eal/common/include/arch/x86/rte_io.h new file mode 100644 index 0000000..c8d1404 --- /dev/null +++ b/lib/librte_eal/common/include/arch/x86/rte_io.h @@ -0,0 +1,47 @@ +/* + * BSD LICENSE + * + * Copyright(c) 2016 Cavium networks. All rights reserved. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of Cavium networks nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef _RTE_IO_X86_H_ +#define _RTE_IO_X86_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "generic/rte_io.h" + +#ifdef __cplusplus +} +#endif + +#endif /* _RTE_IO_X86_H_ */ -- 2.5.5