From patchwork Tue Dec 27 09:49:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerin Jacob X-Patchwork-Id: 18573 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 56DF7F938; Tue, 27 Dec 2016 10:51:35 +0100 (CET) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0048.outbound.protection.outlook.com [104.47.33.48]) by dpdk.org (Postfix) with ESMTP id A5C0CF923 for ; Tue, 27 Dec 2016 10:51:30 +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=H5CypuyIQcrqF019uSOgl9zH6eAk03gf0gqkuG9i0urpZFY19T6ks6+lKv+1xz8b82wWYRjtIX9zOwVm23OkKc1dqhaJpOECSWDSq3rvKhi70LVY7GRrxcuBVyN3G6qKca76rpQPWq8K5HFLRgMkHn1lJwP3BZYET1DAvb0xbss= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain.localdomain (202.83.56.97) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 09:51:26 +0000 From: Jerin Jacob To: CC: , , , , , , Jerin Jacob Date: Tue, 27 Dec 2016 15:19:18 +0530 Message-ID: <1482832175-27199-13-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1481680558-4003-1-git-send-email-jerin.jacob@caviumnetworks.com> <1482832175-27199-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [202.83.56.97] X-ClientProxiedBy: PN1PR01CA0001.INDPRD01.PROD.OUTLOOK.COM (10.164.137.8) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-Office365-Filtering-Correlation-Id: 65f500d8-8095-43e9-8fc0-08d42e3dee8f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:nNJXUWs+0L+ZmoPJ7A2FRseCm5QgcjcubXyOWsgJrWD7QBPLUR2m+m05L5JtngtG8seMOpeDh95bdk7s30DsJRBKTyMzO7JOxL+Q5xr33TGRPpPIkQKzKQzaOL3Z+YrvmtgYYDHKV8YQ0a3ip7IIgSwLPqa2PcTGxoUxG+WKdY2ByiCzAHfc48LfEAl56hokJy2PpIak4eSOPieMm+nhTcaW/MaBn5ye+BmBmgYMVvS55b7J1AezlcjAIiQB2dtDiWixirQhSPYcfigjXHvSWg==; 25:GTTfAVAbM8wDYM3EX4eSBk2bKsHw8fK/147A1FjADkgpsCsTqKS36QwoyyXOYWNlrk3PGidnOCbJ/AvFgLH+63nNq5FsR3kKpbUoUycgf2C1J8V6Ukjx4i2bYYTUFC05sPAzx4YdFvW6NGXysW9dWTM3NUUZRsaRs3/jIjW8zPpAZ0bf7mAHk7zFGk9rePjph035StR0MV3oCV4VCxGEqD8dK9K/Z0ShoOWV0Cd3Uvnm7h+w5Ohc5n7DpW/0DIZ6XLA4XqaJdPQY9RmWsyk8NJmFvcgkEM9Bk7qG18rLCMgG766Z19k1oxh/+ljXZFJ2N+aO3H1CRpG0ljMTcUiHLgsPEXDdfSAq+J7zOVs2uQVm/LenlzbwWKo3pXVP1EWTgBdb0GU46PWN3S/NflY0QFgK97TQ93Q/TbOFVu6AvDg3MQLR6y7eScUSEVfEMjTLCQMR77+ipjWlBLn+p+565w== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 31:PuRsI85Z5gijAnEqpsOVVeQAUcAqOk9kQie7txoTdk2AuaWrsio+hy2wP+Gu8aBhOdJKjHZoWbI+XVmaFiuVyc3c9aD5VTUlXS8QtT2C7vG4N5/4oexKYiPU6Cm3Ajx0uXCTY3xSuDfeYGGqZs0+zIurwBvWSK/tdp/DNoJpzNT3FMe1FcRu8Arbry2mmlF/l4JYHn/zWhc4MLhh7xHUK873mtSHVP3X1I4nSY7+e5NYytGo87JmjW1uiGJDRtzqEa+U14iJYf0Uw+i8KkoaQg==; 20:cnKGBGhqn4ACEHiJJqp8FErZy1v+9BomIm1UxCL7BU7i0U1hFTJ47hfjZib27vxoq/SWYM4ojgq5u2zSCo2WYpQje5c85okywzq937Ig381jfrgPpV+SdIl1bLaz/AJnvbAPXQHEt3K8+yVns1qDElVgT9awRWVRkFNkCCC2hgLY8Wq3IFW69JWeaizIA1YKusUsumhKa4n/yp+9rvwAD/CKYMjigCBz2U7YZDu5tMLbtRReQ8Y3UU45BLeDo91Xpwtk+9SELhBudQkTkxN0C/RsNchTu/G0HwOJ2XhgTEYT+DExs1gIGh2UzMf0ewtjHWL5Mur/m/315mkGZ8UkfDyOIZ3xq1U0WIfG8pJt8/w8ZWQvKw/XoIC8GKc4/wHK3z8nkMAkAF0lhwcUflSnV6htJk35jmH987cQLGNmuWcF8bvOHlv1TRDb1OfiBpZHtVyGaDQE0nL2bFPLOmfZPRcaQYDY/OHs+NwHB1dLKngsK9lIAzpcc//DDCfQ9nARVxCD0mwuMMeOgZOqqaFGi1N3CiXHv2VaJDWkN5YQLPGlGe7GXievAsQTL11ZqYiRbZFwtJB2S+oSuLyZ21b6m2uuzytrvlKVGaHR15Sv0sM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123558021)(20161123564025)(20161123562025)(6072148); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 4:MUFrha6GAVG7dKxxjvn73WJGoOaxH4kiRCLMLnUl64yDjdDSM3puiTmzRJZbQ7fB0t1si0aSVfFzHZc7/PzWZnR14rT3KL5pGDvpx0CoAEjs8uLqm8WzXJwAr/C5VH8oJDRJ/Png4bazZj1gPlaoavbsRArr3v+I2EoIHEO/Patf+YpBOVr7uwfmRCjtwnNT9ryZKHdvglZ9EMAWPAuJRq03jknwIJweVYtxB04oTAVbUnHjHbZL0bCbD7o4sw8FaKCPcbawJbbBe13vHettM2NYvgtezQ1csflxFZQMAJ5tEZ7vDEC/aarpYKGDkyOH1eqlYTUJXkBzHLRoZYORn+q1U7j4lZKvgck6FSSZy/2Ys4Mt8xj3jHWXy8Ly+OuODGWzMkc0joU1Fqkqk5f4vAFxTyOUNw1N0GO5PzX48EHsWUgmU4gq5iH5j9SFwH6a/81+Z7hRMfdzRzYARA4rOAVuUqMh/7+RF4hK0TItX4snbVDARpGgj62M/iAe7WDszozJgcurxeEEMlTJSGCjsj3E9MvI4ZkDC0PQIzDXLs1jhgAn0TzfmwrIfIcFx5HrkRAMDEJ8pJOzDKdqu05/HZeX3GkIhkATxJuEA58bhqg= X-Forefront-PRVS: 0169092318 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(4001430100002)(3846002)(4326007)(6116002)(50986999)(76176999)(5003940100001)(6506006)(6512006)(6486002)(92566002)(2351001)(50466002)(110136003)(305945005)(8676002)(66066001)(2906002)(101416001)(81156014)(81166006)(42186005)(50226002)(68736007)(106356001)(36756003)(97736004)(33646002)(107886002)(48376002)(105586002)(38730400001)(7736002)(6916009)(5660300001)(42882006)(47776003)(25786008)(189998001)(2950100002)(6666003)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; BLUPR0701MB1713; 23:1H88XV82UkBPHuKS1eSSYzJ5hxK+lXXp3YbAwIu?= NFepUji3rBoR52TlC3bAAbCyBkaul5aOSTVy22gTfuyE8FgSM1+CiLog7QzGYaZzNk4Tb8I0rrzLlbIJQp++FvDz+uwRGEX+yUr0Dq32x/m1nu9W44+dx8Er4Av5vQzS7Xkdog25FOmOcjdowP53nQOVZ05E8B/yLphyYAXER1ny2b0gIZKptYW/pWbRvg7nlXo6iY0K8pErKF00lB+sVL2qgLapkHTVaJtqN6sG7K8Q+ucOQ0/qIOe79VSOrdbsKIc44oU/qe6m0JYDli1kF8zPDa7N/8Tc/HX8I7vsyQmTUV+OoslVx+ntYbU8pyu8hUU1g7jiOEQeZoctyTwYQwmY8/WqRXKCBUrBeT2Kj8uCv0zS0T3Lh+zMlmwubSX2VDnviVuM+RMDlcNJJ2lm5U5+jVPlxJPrU+8B+WzDp1UcM6IWyVQSnPAXncHkYHP8swCfqUQScnHVu9GozyMqXfxHEtdM/OElXgeg2WqWPvAaLhXvwV7P5yldXLBF3cc9JcvEFAiN8wc4BPdQEoqBUANqubvMNKJiOrC1yDt2e7578Uih2MMgzXnn4tU0Mu6pNoynjnlL1FjrtduMf83zr/k2KwExfz/zgpCEij9KZJcKl1oyDrAFnyH+Jhkl61sEpZOrzLGg4N+oTkPC/jNhoG7sccrKqSX05nWdeLXJHtbJrCmN1aW/saWxYaZA8FQFqDKDGVmB1pmo6oaS7FZT0/ZPbMx7B5ltLvgVYlD9tpI/Vf6JqzfcAWo2POaT9plQ5YrmvYPrynlneNDqq3OiPm/jpEttzmrXO62zY6M6l3q//D323X30W33yRK2gcSjbuaU1Y3SzRounXSijpR/U3O+Y/MISZXMGUF6X6U2GpnTl4yDfdabdrb+zprbysrms11VACuJDJ3zyoV1E9+ZVkqqbWlja6f28mYmCyCLBeUfEFHX6tZeBt4oihpZ+VFKWuOBKkeJcfhWXuuK1eVTkpGfKEA+4tL6rSYl/H+AkP9PSEZCIlv1ijrdxgV1bOxrCxTNoOiTkPeTWw5qk+SWCRmNrxsj1uxl0uNKpVKDiRDtVsjBHi8rEAZl7g0CrPLpvwmyG5LRoRf5ETWMM+O1S0PQz96p+Oek+rFaBlfniUEKGPvFPZzgcXp77FqeUQ326pU+4= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 6:Y53PU6nQPl/0Jt+5RsH2Yi+uUQL06FM+LASLB3XSl7+2CcxvLDilpBoJr1C7tEtrYvKZh+YxMqgW7v44BOUOjhsUYr+tx/AeJA/fFCUEKAw7Q8KK0U9r/80UPIOiK5TkrmV05Cn0vx8R+f6mLwgDfaXf45pq2SP69A2+IaL6Ppl7ZiruwRBr/g5oxkDwm/mqNSU8h1EAoXIoHTb48JpqxqgNALPNCbmYNEgxifumhLfofab1YHQnxOCljGAxMl2k7JeRHn+GZJB0dIEeRW5Si6/gstxyxMwvE19N0yTyXGfG8C2CBhNlYUVPU4vFdtQg+G8pfaUY9RwhlyeRY4r337ufce22b+WkmUytnK7v01w47guwbWwRV6yj4YaYphY1xd/IqynwmgWbYr+Z0hWUTvTRT/m0Q67T3f3bIwJswWE=; 5:xfijuJ/Jo0qKWvsLsy521LgmqNXAJhuHlqwUEZG3s+xKodarj8JpuQ8fsPuiXS76R/X1Y/kp6YPi7z1WCw28M1UoowNRj7WrLEw03PYevG/JGmYn8iSqCHwcVDKBXVnlewlzcn8xbcr4Zb7fcqEeHg==; 24:yNLGOTE82Nsyr48ckruPL8I+2gOLn23smW9qNiNPRxGFcJ4Jz1ZqdtZTxUAXI2qW9/TblMBEZUjFgc19QDOG8I99XiEZ8TIwqwmM7khX5YM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:DK8K25eoih7GoMl8Nr54GbvXi3x/Wv6NvCNNsN2laCR0exICSjz63B/YDUeFjLiFap5ims1Pq8E3aC8gbVktnGwL0q/gyFxN9ErG9/zyzhT6fwA5MXpyXwvEySiQZO5YBqcVqW+8zGRtRMa+RtcpAjpIAZ0K56vkm6S563P+KXVCAdVrvuwfRBrXwAMPOecskcuYYSUUT800c8pAy70zlbFS1uVmUaEvWl1TnyLihvzA/gwQOacQivCMYwfvcQNRIx79iwrT9hT91jW3a35VvbYs291UmH6waaLJDJCP0InWQlerePM7WJ9VNfWkP0gGwrAD4zYL1Ff/W3ZG8MeRhnZhmgix4DOfnBFFvvtmkwIPrEpzkH/cmSHCl0+IeodDN5tbE+T1/BcmLWKFGNGL0srYAyBeRMiLk6x7nfg8FBq4sVFqObpADTC6h0PoojSahL308L4LV82Hsgg1kUz3rg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 09:51:26.9967 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: [dpdk-dev] [PATCH v2 12/29] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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_ */