From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0069.outbound.protection.outlook.com [104.47.38.69]) by dpdk.org (Postfix) with ESMTP id A34D51B331 for ; Tue, 26 Dec 2017 09:59:48 +0100 (CET) Received: from BN6PR03CA0091.namprd03.prod.outlook.com (10.164.122.157) by BN6SPR00MB045.namprd03.prod.outlook.com (10.174.239.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.15; Tue, 26 Dec 2017 08:59:47 +0000 Received: from BY2FFO11OLC008.protection.gbl (2a01:111:f400:7c0c::188) by BN6PR03CA0091.outlook.office365.com (2603:10b6:405:6f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Tue, 26 Dec 2017 08:59:47 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.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 BY2FFO11OLC008.mail.protection.outlook.com (10.1.14.255) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Tue, 26 Dec 2017 08:59:28 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBQ8xhAO018866; Tue, 26 Dec 2017 01:59:44 -0700 From: Hemant Agrawal To: , CC: , Date: Tue, 26 Dec 2017 14:28:43 +0530 Message-ID: <1514278723-9905-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514270813-14996-1-git-send-email-hemant.agrawal@nxp.com> References: <1514270813-14996-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131587523689519554; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(346002)(39860400002)(376002)(39380400002)(396003)(2980300002)(1110001)(1109001)(339900001)(3190300001)(189003)(199004)(53946003)(5660300001)(76176011)(316002)(16586007)(8676002)(81156014)(77096006)(2950100002)(106466001)(105606002)(110136005)(81166006)(48376002)(54906003)(4326008)(50466002)(498600001)(47776003)(51416003)(50226002)(68736007)(8936002)(36756003)(53936002)(97736004)(2906002)(356003)(104016004)(85426001)(305945005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6SPR00MB045; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC008; 1:fLUo1VRbWW2kviNBhjZyEYG2uncv5QS58cMTRdUyAZgG/ou8wgu6Bduv157nx85gtU3z8W5FNjShqMSfFAr+eU8ijc62Ux0ounMI9yqCqgHu4bcDKWMo0cMj0BTgY/0G MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: a86b5fdb-57f1-439a-19c2-08d54c3ef8da X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:BN6SPR00MB045; X-Microsoft-Exchange-Diagnostics: 1; BN6SPR00MB045; 3:OPn81Prfa5I400rSvUbK4XqBm/nEsR3PuI/A5IOwrMkFUqbeZuP0WezwAJ0wzqkKAfBfZLlxEfHVYvtmvWoT0CWik+YhLChAaGFcGoVCrhAhC+rbRmMhRZAJ5auFV5j6l4PWr0Y23JmVSEhhBHa7LviBMeIICMT4C5wfHE21rXlofc54oZDC//hwhENxktkKIl85c+eldXjzttooe38d+1ux45MMFRa8f6F4toQj4DEgU72uWoZSxD/WrBLrklQXyAn8uOmKH0Gy/ItFKxgdUK9UVBzfsKn0dyN2+cJcQeULPRGmx2VpgA+NqNCr+ORzpqPm/z9xmLL5dvBSgnxa/ev8HnogRXH1ZLUnedHq48Q=; 25:gcdu9ViUWM91eqCnH8Qb5J4MVancn5BNmHxVxtagymoWATdn3FC/o5jINTTt6loHlT21ijaw6MzIZKdBGSkAmQuQfFyLibnLy479iZirhJ7oJ43CaW/GV5X2BVH8GBWhd4AbPDN2u2VrtlfZmCdOxO6pWkKhCvLiF6OQdKSwypSh8oshrZ+7l6MtFxVz8SBTJh3gzW3/F/PfejfXJB0gxDx4RWipqM2HwQ7c3fl0eNKmyjq+fBX3+H7UJ4HZUb242qJUejkiR1SI5uuoylD2/aB2QMMk3ucRobsbNE+UFYsxJvBMgbb+SuPuqOPtM4XWhszvYqvDUROea/a3UfqsXQ== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6SPR00MB045: X-Microsoft-Exchange-Diagnostics: 1; BN6SPR00MB045; 31:J3LJPXn3ULuXi+Ly1Wzwuo0HIwnjvsRRIjKY4UmgnQU2ECaqg0L4b9lru8h6KXO0wYAEHzJAoQhqHSw6EAYRbjt/xEN82cW6VaSY0tVVQchysrN+eXNAiBVX5fpILJurYJL7/SG+w8NnAxFvO+9EhmnIVGwYgsqNWF6VeRLRInOiDceRRE/FRtV0QPkuFsFTqnQicvELwRWCoOVrMOPCiKhddqf7fkju2V2Hfz1hCz8=; 4:CZyUfpI8xmL2JmQWW2EURAMIx4mP58Uy4phPFR/Y0hL8eT0s54aZstlNjh678pTVh4rKSr63ENcuHTQaXTmIVT/bydTTv1QAfqkzetdgfFDzY+OCkSKAcqrQF333fzvCXwaWaB6qqmagwgcvEHJcEb8JuHLbgHYQUPDdnJKlZdmWqY11HjDMk+rXJJTQQsQl1wiUNA/d8Sl1Q8wdw09df+yujx3/yeuevB1ZyPHT4YUvoZsu0x8YeuxsvSrhVVgg7xkr1R3aUQaw0fBiZnL+hrd0VmHjivIlbYzH771Y9dgkjQ1AXg21iuQRnTV930BH3cP1TX13I5SI+9Gjb7Qy8GMLna+lPRs//jVAZD9F+ko= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231023)(944510075)(944921075)(946801075)(946901075)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(20161123556025)(20161123565025)(20161123559100)(20161123563025)(201708071742011); SRVR:BN6SPR00MB045; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BN6SPR00MB045; X-Forefront-PRVS: 053315510E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6SPR00MB045; 23:i5cPNXQWcD3RGDCXeP1dCovi7Ot8m8ILZl1kWMRSL?= =?us-ascii?Q?QVaTfS41Vm1Zw/BXjZYFUCXkVt2T9b4wdcf4dRoApLC3S8xS0BbRVXepdC9T?= =?us-ascii?Q?7NZKLBI6dquhTqjQwba1KLsXEvqidnk43o92TvEWIe4Sf5ucVxOWm272rwXG?= =?us-ascii?Q?2OlJ+9gGL+CTkwviGHjXfJkHzgmDrWluzgkjsB2lVn34Sx8fUbGUHhkbLP4c?= =?us-ascii?Q?IwPU5UzpI7XmkRoMBaVLJOkDJC6zzzYZz2IhIqpJ+cRk+toGmseZxe7GL7PK?= =?us-ascii?Q?xifRl7OC7yI9+oSJxjRy359NIFj5ln9DSYwxEYGLm3Agrpm569XMMNNOzhSY?= =?us-ascii?Q?PcjYxEgw6gdxmj5MfKgm0ixSVup8y6IUpdyAuZ/somF/Zau0RwO50fJyg1b6?= =?us-ascii?Q?F4VMcxOysRddyj+2evaTZhp3wzRH2kcVSF5eADoGKVjZYDcMwlh1rmZ5Gn7S?= =?us-ascii?Q?EzMMLgeHsCpK2GFESElzNt27MpwBtJl8Pm16JKrtXxueM5fjGHwrTkjswDFP?= =?us-ascii?Q?LkymdOXid8Jk+zGmwt2o7wTcPZfbR3lCBdnCOkrx8wISGikR+7WXi5cm6f3/?= =?us-ascii?Q?5IqX49fxoBzm24UtCcu0mj9vOYpkzggxdWN68b/WhUOAHergykpU/qjBut27?= =?us-ascii?Q?d5EsuuiE/dvx78FvBKd7WbHiX2VK2DRccccpKTNzPbHce2g29IquOHlhGFYx?= =?us-ascii?Q?7VQ+qC8+93QZcONx4FF8HicjTBMcqwtVN74HhC+I8F4tNX5/cOQi0pNlbrRZ?= =?us-ascii?Q?U+0vJWv7ASfuT39F79TuTyMUHV3G8LpUzYkUBRlBLop/yTfO1RI5ay1SYZMe?= =?us-ascii?Q?h2E87q5KT09XYSWSkXTjXad1OvDgKbn7kDLIypFSq1b7Hlbq2oku6xk6Rrzm?= =?us-ascii?Q?7NKgEVi4tfKqeFsL/tvUBpQcRj6n3XmjqvoFtck/bQPemCnkmCaf9kbZrF7a?= =?us-ascii?Q?iqh6OYYZqKmZDYiXWWeF27Ywo6C45+uSSMTGCOhJaNEkuNYVT4y9LE/P68ON?= =?us-ascii?Q?3jj7xqz//2VNe5gYq9OlWwva0kXhlYbEKlfK5optyzu9QYkTdRWZ48o4ff7E?= =?us-ascii?Q?MwC15qEAm0H/BwdAg0OSXLA01px?= X-Microsoft-Exchange-Diagnostics: 1; BN6SPR00MB045; 6:BmBjC7/jSqnXKHgJeV/euLGfzoVQ8gmBjNt1rHYxBD4xEOEsoyH3Z5c4xPkQ/+vUWNKUys1+LkJ8Aq7BVCqFdkIIb+s3ur7P/yM/aMLX2KPZjaEtU27SOEHh/IuUuLxyBxsXz3VYg1k5ArQ5/nW8rd1h0IJlOET0c4Ao8wgZ0P29ZMOky4lqAQ/W0SnDVa+Iu/9CphrJhzA6kQrUq3WXbFX0CCxqdFvtGqjrHKFCxw0di3xxVIeAliwVCj+8QwSU1h/s/Z3p1QSS+2vHtY/oCu8vlRCdRYuvKYE/TUsOkk6XcwLGy1Cshgtu2tX/5hMdAIiGaMMyJlSCA42ny8V46lVNu/TUv1DDJDCd9WS+9sg=; 5:KkhswLAdimmaTqt06zIAaC2W+nI/i+zeAy/bkA+O9Eh+jPLaqWOlnYX3a/qVD9jhEVClfAtORORE2vTu/w/ad8uPSNtSFRKVjvhA8imE54Eed6skRpYqzZPi1M13F6+roCrzTu5APL3srr2otcuGzO9EBuR2V6Y/XsTIMSXfiSc=; 24:IhboXb3t7jCwhwCkfDkqG752P19U4Q9N0nKXYImiHlvDuxjEouXv507KxxqSpg5gvykn0iJHA1U2iWLO/7HAWCu3s7EYZgeBswpDp8TSkdw=; 7:dvLGE3Zasa/2U/zHPvOS8rg4xS2r+2X1sGAp4/cEizcJiYLGEMwg9E0gsPfKI4peb/BOTeeyE33VpTBxV//KBAOyuf8sz1BJlk9mS0mV1v777KhfmBBx/zw6EyuHxVqxBJQjNuUCSWqbDzjYdLBqagWPM0bWQAsS82ZWP8IjUtXe+DZonQM9K7Tg5vqPl1Zc/IDF+Nz52l3nzjNTmJ0cVnuCZl3SlmSy63W+R4rtYqUy9vAA7Je9HBDgzvAPlG6+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2017 08:59:28.7647 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a86b5fdb-57f1-439a-19c2-08d54c3ef8da 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: BN6SPR00MB045 Subject: [dpdk-dev] [PATCH v3] kernel folder for Linux and BSD modules 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: Tue, 26 Dec 2017 08:59:49 -0000 This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code. Signed-off-by: Hemant Agrawal --- v3: move contigmem from bsdapp v2: rename kern to kernel, add freebsd modules as well GNUmakefile | 2 +- MAINTAINERS | 6 +++--- kernel/Makefile | 9 +++++++++ kernel/freebsd/Makefile | 9 +++++++++ {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/BSDmakefile | 0 {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/Makefile | 0 {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/contigmem.c | 0 {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/BSDmakefile | 0 {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/Makefile | 0 {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/nic_uio.c | 0 kernel/linux/Makefile | 9 +++++++++ {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/Makefile | 0 {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/compat.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/igb_uio.c | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/Makefile | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/compat.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/README | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_82575.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_82575.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_api.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_api.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_defines.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_hw.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_i210.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_i210.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mac.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mac.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_manage.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_manage.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mbx.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mbx.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_nvm.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_nvm.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_osdep.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_phy.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_phy.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/e1000_regs.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_ethtool.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_main.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_param.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_regtest.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_vmdq.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/igb_vmdq.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/igb/kcompat.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82598.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82598.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82599.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82599.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_api.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_api.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_common.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_common.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_dcb.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_ethtool.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_fcoe.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_main.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_mbx.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_osdep.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_phy.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_phy.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_type.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_x540.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_x540.h | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/kcompat.c | 0 .../linuxapp => kernel/linux}/kni/ethtool/ixgbe/kcompat.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_dev.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_ethtool.c | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_fifo.h | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_misc.c | 0 {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_net.c | 0 lib/librte_eal/bsdapp/Makefile | 2 -- lib/librte_eal/linuxapp/Makefile | 2 -- 74 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 kernel/Makefile create mode 100644 kernel/freebsd/Makefile rename {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/BSDmakefile (100%) rename {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/Makefile (100%) rename {lib/librte_eal/bsdapp => kernel/freebsd}/contigmem/contigmem.c (100%) rename {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/BSDmakefile (100%) rename {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/Makefile (100%) rename {lib/librte_eal/bsdapp => kernel/freebsd}/nic_uio/nic_uio.c (100%) create mode 100644 kernel/linux/Makefile rename {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/Makefile (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/compat.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/igb_uio/igb_uio.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/Makefile (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/compat.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/README (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_82575.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_82575.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_api.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_api.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_defines.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_hw.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_i210.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_i210.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mac.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mac.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_manage.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_manage.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mbx.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_mbx.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_nvm.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_nvm.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_osdep.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_phy.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_phy.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/e1000_regs.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_main.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_param.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_regtest.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_vmdq.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/igb_vmdq.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/igb/kcompat.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82598.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82598.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82599.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_82599.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_api.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_api.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_common.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_common.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_dcb.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_fcoe.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_main.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_mbx.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_osdep.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_phy.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_phy.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_type.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_x540.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/ixgbe_x540.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/kcompat.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/ethtool/ixgbe/kcompat.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_dev.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_fifo.h (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_misc.c (100%) rename {lib/librte_eal/linuxapp => kernel/linux}/kni/kni_net.c (100%) diff --git a/GNUmakefile b/GNUmakefile index 45b7fbb..104d672 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,7 +40,7 @@ export RTE_SDK # directory list # -ROOTDIRS-y := buildtools lib drivers app +ROOTDIRS-y := buildtools lib drivers app kernel ROOTDIRS- := test include $(RTE_SDK)/mk/rte.sdkroot.mk diff --git a/MAINTAINERS b/MAINTAINERS index 9a2c2fb..b7cb66f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -194,7 +194,7 @@ F: doc/guides/linux_gsg/ Linux UIO M: Ferruh Yigit -F: lib/librte_eal/linuxapp/igb_uio/ +F: kernel/linux/igb_uio/ F: drivers/bus/pci/linux/*uio* Linux VFIO @@ -214,7 +214,7 @@ F: lib/librte_eal/bsdapp/contigmem/ FreeBSD UIO M: Bruce Richardson -F: lib/librte_eal/bsdapp/nic_uio/ +F: kernel/freebsd/nic_uio/ Core Libraries @@ -324,7 +324,7 @@ F: doc/guides/nics/features/bonding.ini Linux KNI M: Ferruh Yigit -F: lib/librte_eal/linuxapp/kni/ +F: kernel/linux/kni/ F: lib/librte_kni/ F: doc/guides/prog_guide/kernel_nic_interface.rst F: test/test/test_kni.c diff --git a/kernel/Makefile b/kernel/Makefile new file mode 100644 index 0000000..8948d04 --- /dev/null +++ b/kernel/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0) +# Copyright 2017 NXP + +include $(RTE_SDK)/mk/rte.vars.mk + +DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += linux +DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += freebsd + +include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/kernel/freebsd/Makefile b/kernel/freebsd/Makefile new file mode 100644 index 0000000..c93d7a6 --- /dev/null +++ b/kernel/freebsd/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2017 NXP + +include $(RTE_SDK)/mk/rte.vars.mk + +DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += contigmem +DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += nic_uio + +include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/lib/librte_eal/bsdapp/contigmem/BSDmakefile b/kernel/freebsd/contigmem/BSDmakefile similarity index 100% rename from lib/librte_eal/bsdapp/contigmem/BSDmakefile rename to kernel/freebsd/contigmem/BSDmakefile diff --git a/lib/librte_eal/bsdapp/contigmem/Makefile b/kernel/freebsd/contigmem/Makefile similarity index 100% rename from lib/librte_eal/bsdapp/contigmem/Makefile rename to kernel/freebsd/contigmem/Makefile diff --git a/lib/librte_eal/bsdapp/contigmem/contigmem.c b/kernel/freebsd/contigmem/contigmem.c similarity index 100% rename from lib/librte_eal/bsdapp/contigmem/contigmem.c rename to kernel/freebsd/contigmem/contigmem.c diff --git a/lib/librte_eal/bsdapp/nic_uio/BSDmakefile b/kernel/freebsd/nic_uio/BSDmakefile similarity index 100% rename from lib/librte_eal/bsdapp/nic_uio/BSDmakefile rename to kernel/freebsd/nic_uio/BSDmakefile diff --git a/lib/librte_eal/bsdapp/nic_uio/Makefile b/kernel/freebsd/nic_uio/Makefile similarity index 100% rename from lib/librte_eal/bsdapp/nic_uio/Makefile rename to kernel/freebsd/nic_uio/Makefile diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/kernel/freebsd/nic_uio/nic_uio.c similarity index 100% rename from lib/librte_eal/bsdapp/nic_uio/nic_uio.c rename to kernel/freebsd/nic_uio/nic_uio.c diff --git a/kernel/linux/Makefile b/kernel/linux/Makefile new file mode 100644 index 0000000..c2c45a3 --- /dev/null +++ b/kernel/linux/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright 2017 NXP + +include $(RTE_SDK)/mk/rte.vars.mk + +DIRS-$(CONFIG_RTE_EAL_IGB_UIO) += igb_uio +DIRS-$(CONFIG_RTE_KNI_KMOD) += kni + +include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/lib/librte_eal/linuxapp/igb_uio/Makefile b/kernel/linux/igb_uio/Makefile similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/Makefile rename to kernel/linux/igb_uio/Makefile diff --git a/lib/librte_eal/linuxapp/igb_uio/compat.h b/kernel/linux/igb_uio/compat.h similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/compat.h rename to kernel/linux/igb_uio/compat.h diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/kernel/linux/igb_uio/igb_uio.c similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/igb_uio.c rename to kernel/linux/igb_uio/igb_uio.c diff --git a/lib/librte_eal/linuxapp/kni/Makefile b/kernel/linux/kni/Makefile similarity index 100% rename from lib/librte_eal/linuxapp/kni/Makefile rename to kernel/linux/kni/Makefile diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/kernel/linux/kni/compat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/compat.h rename to kernel/linux/kni/compat.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/README b/kernel/linux/kni/ethtool/README similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/README rename to kernel/linux/kni/ethtool/README diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c b/kernel/linux/kni/ethtool/igb/e1000_82575.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c rename to kernel/linux/kni/ethtool/igb/e1000_82575.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.h b/kernel/linux/kni/ethtool/igb/e1000_82575.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.h rename to kernel/linux/kni/ethtool/igb/e1000_82575.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.c b/kernel/linux/kni/ethtool/igb/e1000_api.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.c rename to kernel/linux/kni/ethtool/igb/e1000_api.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h b/kernel/linux/kni/ethtool/igb/e1000_api.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h rename to kernel/linux/kni/ethtool/igb/e1000_api.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_defines.h b/kernel/linux/kni/ethtool/igb/e1000_defines.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_defines.h rename to kernel/linux/kni/ethtool/igb/e1000_defines.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h b/kernel/linux/kni/ethtool/igb/e1000_hw.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h rename to kernel/linux/kni/ethtool/igb/e1000_hw.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.c b/kernel/linux/kni/ethtool/igb/e1000_i210.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.c rename to kernel/linux/kni/ethtool/igb/e1000_i210.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.h b/kernel/linux/kni/ethtool/igb/e1000_i210.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.h rename to kernel/linux/kni/ethtool/igb/e1000_i210.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.c b/kernel/linux/kni/ethtool/igb/e1000_mac.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.c rename to kernel/linux/kni/ethtool/igb/e1000_mac.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.h b/kernel/linux/kni/ethtool/igb/e1000_mac.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.h rename to kernel/linux/kni/ethtool/igb/e1000_mac.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.c b/kernel/linux/kni/ethtool/igb/e1000_manage.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.c rename to kernel/linux/kni/ethtool/igb/e1000_manage.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.h b/kernel/linux/kni/ethtool/igb/e1000_manage.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.h rename to kernel/linux/kni/ethtool/igb/e1000_manage.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.c b/kernel/linux/kni/ethtool/igb/e1000_mbx.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.c rename to kernel/linux/kni/ethtool/igb/e1000_mbx.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.h b/kernel/linux/kni/ethtool/igb/e1000_mbx.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.h rename to kernel/linux/kni/ethtool/igb/e1000_mbx.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.c b/kernel/linux/kni/ethtool/igb/e1000_nvm.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.c rename to kernel/linux/kni/ethtool/igb/e1000_nvm.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.h b/kernel/linux/kni/ethtool/igb/e1000_nvm.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.h rename to kernel/linux/kni/ethtool/igb/e1000_nvm.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h b/kernel/linux/kni/ethtool/igb/e1000_osdep.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h rename to kernel/linux/kni/ethtool/igb/e1000_osdep.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.c b/kernel/linux/kni/ethtool/igb/e1000_phy.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.c rename to kernel/linux/kni/ethtool/igb/e1000_phy.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.h b/kernel/linux/kni/ethtool/igb/e1000_phy.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.h rename to kernel/linux/kni/ethtool/igb/e1000_phy.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_regs.h b/kernel/linux/kni/ethtool/igb/e1000_regs.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_regs.h rename to kernel/linux/kni/ethtool/igb/e1000_regs.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h b/kernel/linux/kni/ethtool/igb/igb.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h rename to kernel/linux/kni/ethtool/igb/igb.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ethtool.c b/kernel/linux/kni/ethtool/igb/igb_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ethtool.c rename to kernel/linux/kni/ethtool/igb/igb_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c b/kernel/linux/kni/ethtool/igb/igb_main.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c rename to kernel/linux/kni/ethtool/igb/igb_main.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_param.c b/kernel/linux/kni/ethtool/igb/igb_param.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_param.c rename to kernel/linux/kni/ethtool/igb/igb_param.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_regtest.h b/kernel/linux/kni/ethtool/igb/igb_regtest.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_regtest.h rename to kernel/linux/kni/ethtool/igb/igb_regtest.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.c b/kernel/linux/kni/ethtool/igb/igb_vmdq.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.c rename to kernel/linux/kni/ethtool/igb/igb_vmdq.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.h b/kernel/linux/kni/ethtool/igb/igb_vmdq.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.h rename to kernel/linux/kni/ethtool/igb/igb_vmdq.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h b/kernel/linux/kni/ethtool/igb/kcompat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h rename to kernel/linux/kni/ethtool/igb/kcompat.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_api.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_api.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_common.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_common.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_dcb.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_dcb.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_fcoe.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_fcoe.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_fcoe.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_fcoe.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_mbx.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_mbx.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_mbx.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_mbx.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_osdep.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_osdep.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_phy.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_phy.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_phy.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_phy.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_type.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_type.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.c b/kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.c rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.h b/kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.h rename to kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.c b/kernel/linux/kni/ethtool/ixgbe/kcompat.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.c rename to kernel/linux/kni/ethtool/ixgbe/kcompat.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h b/kernel/linux/kni/ethtool/ixgbe/kcompat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h rename to kernel/linux/kni/ethtool/ixgbe/kcompat.h diff --git a/lib/librte_eal/linuxapp/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_dev.h rename to kernel/linux/kni/kni_dev.h diff --git a/lib/librte_eal/linuxapp/kni/kni_ethtool.c b/kernel/linux/kni/kni_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_ethtool.c rename to kernel/linux/kni/kni_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/kni_fifo.h b/kernel/linux/kni/kni_fifo.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_fifo.h rename to kernel/linux/kni/kni_fifo.h diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_misc.c rename to kernel/linux/kni/kni_misc.c diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/kernel/linux/kni/kni_net.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_net.c rename to kernel/linux/kni/kni_net.c diff --git a/lib/librte_eal/bsdapp/Makefile b/lib/librte_eal/bsdapp/Makefile index 0e6e2be..b01124b 100644 --- a/lib/librte_eal/bsdapp/Makefile +++ b/lib/librte_eal/bsdapp/Makefile @@ -32,7 +32,5 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += eal -DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += contigmem -DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += nic_uio include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/lib/librte_eal/linuxapp/Makefile b/lib/librte_eal/linuxapp/Makefile index 2ebdf31..5e100fb 100644 --- a/lib/librte_eal/linuxapp/Makefile +++ b/lib/librte_eal/linuxapp/Makefile @@ -32,8 +32,6 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += eal -DIRS-$(CONFIG_RTE_EAL_IGB_UIO) += igb_uio -DIRS-$(CONFIG_RTE_KNI_KMOD) += kni DEPDIRS-kni := eal include $(RTE_SDK)/mk/rte.subdir.mk -- 2.7.4