From patchwork Fri Dec 22 05:57:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 122626 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1829621qgn; Thu, 21 Dec 2017 21:58:18 -0800 (PST) X-Google-Smtp-Source: ACJfBouVmRJ0WGcaUjSn96X4y/kOL89YBx7rT7VQuhp0K1O/rivT/HUbMfnw63s1Z592UpkchiM9 X-Received: by 10.223.187.7 with SMTP id r7mr6775552wrg.233.1513922298311; Thu, 21 Dec 2017 21:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513922298; cv=none; d=google.com; s=arc-20160816; b=okAinkALDLwFxEZBlEUBALx621EeR5ISLukiDI8R+jZ4eo5g6iO+Zpx5SXeVAptIeW CM5Ngq5Z9EnNaTb9qHJjByTpsw5YJROCeI8dkraJye8wRkR7iGY8VEuCFf9SQtGHPTpJ Ox8LOPmxTTahm7MWJJNYD3jd5FtimsIXgUDAujk5Io6u9DgJ2IwULsuJBMmdDvxFKGkM czChiMphogwIr7XITWCCBzUL2G91G7EMHMyWpwEhuffOd8c6dQQb//9cIsCF/d4qP1Lw dEfbdZKuN9nDdNPS5zJDcuzRSTJYJJy0JZuUCQGrgZNEYocUo9dhxGgHct01+D74L+rd juFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:cc:to:from :arc-authentication-results; bh=5es7eZ0UrSanE+/qtlKVv0poubdh/Qz7E6VhYoy6Fds=; b=KHAjva2hyP7iEsIuJYBbPP+GhSF2Eq8tu8YWO92+SKPpS34s7ag0xNGMzgWapoTF7w qO7bGLAc22/XKpTy6G26qWcadPiozQB1/0b3yHJ9lc1J0JanIt591ErvYDIJ/E3buHwP OUfzwzd7Vf6cYbG+yjoRLIWWAewxwGD75F5SnqnrU+EdzBp/JZ6mkDpX+wuKRuGy5hQP w5vYhEL9pIpFRb/jHxlySTjAjgY0KDMa3H5z4TDY1Q5tQBfLfPBe+sZwAc0Sl+UtRW1C z6Vtv3z/lrK4araFVCRGwqGT8qJVLDagYg8+Z9JmkGGFxdJ2ZjHb+zrt0U7UeWe9Z8NK HyTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id l192si6007455wmg.223.2017.12.21.21.58.18; Thu, 21 Dec 2017 21:58:18 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66DFB1B32B; Fri, 22 Dec 2017 06:58:17 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by dpdk.org (Postfix) with ESMTP id ADD861B324 for ; Fri, 22 Dec 2017 06:58:15 +0100 (CET) Received: from DM5PR03CA0060.namprd03.prod.outlook.com (2603:10b6:4:3b::49) by SN2PR03MB2366.namprd03.prod.outlook.com (2603:10b6:804:e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.345.14; Fri, 22 Dec 2017 05:58:13 +0000 Received: from BL2FFO11FD039.protection.gbl (2a01:111:f400:7c09::113) by DM5PR03CA0060.outlook.office365.com (2603:10b6:4:3b::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.345.14 via Frontend Transport; Fri, 22 Dec 2017 05:58:13 +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 BL2FFO11FD039.mail.protection.outlook.com (10.173.161.135) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Fri, 22 Dec 2017 05:57:58 +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 vBM5w90A028535; Thu, 21 Dec 2017 22:58:10 -0700 From: Hemant Agrawal To: , CC: Date: Fri, 22 Dec 2017 11:27:11 +0530 Message-ID: <1513922231-15554-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131583958787477485; (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)(39380400002)(376002)(396003)(346002)(39860400002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(199004)(189003)(97736004)(4326008)(77096006)(53936002)(47776003)(2906002)(81166006)(8676002)(16586007)(81156014)(5660300001)(8936002)(104016004)(316002)(68736007)(498600001)(356003)(85426001)(105606002)(48376002)(50226002)(36756003)(50466002)(110136005)(51416003)(106466001)(86362001)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2366; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD039; 1:ja86aYsFRpZ27pQBM7YwlQYPVlce3e9DLEStm8ljAUCG9X7mtBLsSZ+MJIk2LMwa7bwwUv43GRolWO4FRv9soigL1oZ+XYgBH2SmaoA6ca3XqIU/JR68MxsQcDKXT7jw MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19aff97f-3f9f-4e84-cfed-08d54900f421 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:SN2PR03MB2366; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2366; 3:0WA/+ZK9HdHzE3hSFwQSePR9XSknjlYbKxdpqrikgZlUGmfXtlCNp+kH2czPPOcwDzyIqV1nHMiYcQO/huH+qXBZwhKsRpZgFY9azD2Hx+30mQ3j9wLvcvHXxUB6JyfYvejI+smEdGPbAhOZddv4T6Gyc7aYgbDB2olxV7hoX1AqF4lmPuzprnllUG2g+5zNv3sg67n8RdIktryzyMOCWZh+puuErA6JpcTfyirZYr2zrbc9feNuyR2AdmWE1P9TRhhvfoPtgkwoXh9mZwiG23vFZVUL2azi1jqEMRvp0mwkUN2g2CpRQBSV3Pth8lO1T9wlYkNOMZMBDePVp9A+7e9w27gHdwDvTRZdlHXMt8c=; 25:zbkzHNxLt0oakk5QKPqIywQaOg53RYXFUx120K7AAUi0QRTVo1Pq+MwibHDdKFkEfMqDF600OS/+IKWAjl3r6DSRTRf6pgowDsDmwas7Whi/+3FBwHohYYvWTNaVfjnRYCiAI1NQsHmIu0F8ixsbi6NXhx93nXL8V5jvAM/12lShl8WjKB2KhHiQCedsmBn0r9vmWxf8c0344ns9ZZjE5M9QnmV6mtZlvtJygMyScLf8f061HDTVrMmrlmLYf69DEK7QiejLD/bc/q0vPxgSDySGuHBizYseeNN3InOyIneJcojNf4bGoexWYuB8NBsibV2eS9XeYzZafGbLOJTalg== X-MS-TrafficTypeDiagnostic: SN2PR03MB2366: X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2366; 31:X5NuJ57F7nDC6dJ8LHl44oqhwemvP4otZ68WAVGWaFp62h7ohnjJnOYWQRy66VmvtsMDlagffuvA0CVVlC7SAzRtb6AcWAsD/bCGF9u9GG5X+xYCC6L+FI04y7Bz7/g0HVPwSeb9FabtWo4x8AIAM3DDFsGbn8l+mQ5HlDTO2xb1hrm4aIMkuECcOm37GDYJVzj3sBfLEEna8261Nama/tbMR/KmvsDPxPeV/xl3cjw=; 4:NIYAVcFwKaSu9CZD/16ehQOPYyjKA0p3VR0U3iCXcxCduXZJPsZiJw1a8M656EgXnMJnV+R3el/mKe8egwiNVISdQR7SH31LmmEqEIAv1DlN2z4GHRT/qawLnSlKOxcRmDWZEbIAR2Xr3+xb71yTiE24efvNAnWXMLmfmsCQqgWb1yI4D8J7YK1oOuaDD0axtYtj139/zMVrNEUgf0K6hfNk8/bl/0vDYhpWcdPh69GabY+KLfzJqZleF9X6remt9jugSYlzHauYeQS2daaWn53wgcIlLEYq/cnMIFp3ay8tiKtdLxYq/iMTKSA89gF1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231023)(10201501046)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123565025)(20161123559100)(201708071742011); SRVR:SN2PR03MB2366; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:SN2PR03MB2366; X-Forefront-PRVS: 05299D545B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2366; 23:kKcnXx6rxPD34CW3IthbKxBiCq+S41X2t0tkS1tJs?= HAlf5WoeSDYAVNNRtWzsPZkEIWNFco9KqbFJok/brHQWYncWJ5XwFvtbwIzekVGz/dgPww7I9Fj/pV4PHP8LF7DH3jQI3sOVXNABJh/Osc2+AAhM94S723JLWRgyLI+X/o9KAtpW+b4EZ93Psws1jHn5GV5/GNWqTFrG/JJFxAFv9cPS7Nfv8XzOV4lGJAN0Q+X9SBJPCot1phdUKOtHhUUYgfqiUmKN/RpgSD5tJ5yOumJ5Nia0/sv/zTWKVjn+AIWoJEx3lj08UyAT6CMf3YEAMP/H7mZDGuDsuFXKrIu2CGednobewF1KYF1tZTVHjhEooaafjK+TnbD1N7HOQR9pcxfaeKqORGcyBrYk304Ryea066oJa80DdHeqZw1uuxWmwQkqpTszNXaBWvzEs0067ce0JzBGBO2Gch5oPkN4BFI3J13fb+Dh1qu0dvFqjHaA5bTTStW64S9QAwl2kfgIiixJO1TvBOnqwp4o6HrvSyKcEQNi0/QgDssWgWIyffbOlTzNopNvly4rnAKTSYEbionF+uooAGPoxjQVuumCjmV4pHMBEmEdTRgN9M8qYFU78DJ6b694pOJJQRDTq8ajsjxWKVNzX9OU1lUooBxcaiijYaTxqY561q5Vd/lXts1e9zCjNmsoPBqwzfkX/lPUorztWZdA3O1aKfwU4JbNvVG35V+y67ApIdddj9MXPYAE0sevQ8ulZ9UwoSlQu11pk1CCLsEGy74XyhKAJ3DsjbPBLp9hkBNMkThiTNHcGKAxLyAxIlgdMod1ooxAQv2RFxsZpu9zlbqW/jbvxZHBAFNOFq2GEkTN1pieLdcgPqFtU/BBzXaA+lTe99vPbQN8RYbH8O2I8waqs1dXgGWOrF8rXi6gWURUSAQQTmhkEyvaHn1kzI0AWYfBiIYdKN8tMklEOpmXs8MdlVfPC/HyAFBNAPjt4DB/oa/I7SqWMI= X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2366; 6:/77SNXvzP+s23SCRVwlpQyZ5ZKzLySEUT1kilLdGzfWuz9ypSRMWHj7zbffm+thdf5it9Yoh9pYCLc6elaqBb9Y5PZOJawk/kQdHG56WMrJ1LTrJD9YApuJDE78kQrridC+bGawdxejWrqseMy/FKCynmO5ct1vMSBZeTNgdyU7MQZnSVQhcyoGTow2dIeuxcBY34AIU66zxYJ/kOoux6VKXiajPGQTfCRix067XPK+kEH3pEJ2MU//2CMv473lAq2e5EjQy4KVQcbrWtkASm3pg0qMyQnAP0D3FRnxU9kDcF2EqnrILla4mDZ5zPT1dW800XHM8n+Bnrlcz30b3b0W4Ioh+2BQAegAFPiSOqsE=; 5:j+hnNVUjl1x0SdFkXjUesLaWQg4KLURwfMixDjTejSU2wF1eBFvLE5eHFQPZdoGK9lJ8pqEAQuQB11uNOt9wuBRASdz1iQ7EFifiHkQWRlWdYm1I8NJJ0f+PMcnp6hdEoc3m5JeQxGpQ/VkV14GyOaLIHQgTgh+USeBcVqgon7s=; 24:BDdYeDJqAEIaW0bm/zjLPUy8tb9YAS3LtZfDFR1QgKVQRpUXmvK/r1uIjkfnzHqrLfME/94B/H+GXycsvbN+op4/xQNmT7rr3lHyrpWJPPE=; 7:9/OhB2CaBHatgJmtLlhYGMgCy9/SnHhFuXT4oZ/ecpmi4HnCw9nQG55Dl4+xwNjzNx4AFchpZtXfWvQ58A7yYnsvqcUCp1FGQC3cu1EBjNy5a6L0AGsbpfvt9GkCsqvYcF+OpnWPa7HV8+0i2lYag442vjYNJAcK9pUDdDy7yGXzmLX0DtQ3npD/Lbpl8YvZcjlFV5aY6IsZSww+aBKMML/lT3wv9fqS9eHTYZ9xTQiWQpIvyMYjgJSnVymFEBmT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2017 05:57:58.5917 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19aff97f-3f9f-4e84-cfed-08d54900f421 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: SN2PR03MB2366 Subject: [dpdk-dev] [PATCH] Create kern folder for Linux kernel 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch moves the Linux kernel modules code to a common place. - Separate the kernel module code from user space code. - The GPL-2.0 licensed code is separated from the BSD-3 licensed userspace code Signed-off-by: Hemant Agrawal --- GNUmakefile | 2 +- kern/Makefile | 9 +++++++++ {lib/librte_eal/linuxapp => kern}/igb_uio/Makefile | 0 {lib/librte_eal/linuxapp => kern}/igb_uio/compat.h | 0 {lib/librte_eal/linuxapp => kern}/igb_uio/igb_uio.c | 0 {lib/librte_eal/linuxapp => kern}/kni/Makefile | 0 {lib/librte_eal/linuxapp => kern}/kni/compat.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/README | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_82575.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_82575.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_api.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_api.h | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_defines.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_hw.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_i210.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_i210.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mac.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mac.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_manage.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_manage.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mbx.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mbx.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_nvm.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_nvm.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_osdep.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_phy.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_phy.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_regs.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_ethtool.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_main.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_param.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_regtest.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_vmdq.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_vmdq.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/kcompat.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe.h | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82598.c | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82598.h | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82599.c | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82599.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_api.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_api.h | 0 .../linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_common.c | 0 .../linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_common.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_dcb.h | 0 .../linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_ethtool.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_fcoe.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_main.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_mbx.h | 0 .../librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_osdep.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_phy.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_phy.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_type.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_x540.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_x540.h | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/kcompat.c | 0 {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/kcompat.h | 0 {lib/librte_eal/linuxapp => kern}/kni/kni_dev.h | 0 {lib/librte_eal/linuxapp => kern}/kni/kni_ethtool.c | 0 {lib/librte_eal/linuxapp => kern}/kni/kni_fifo.h | 0 {lib/librte_eal/linuxapp => kern}/kni/kni_misc.c | 0 {lib/librte_eal/linuxapp => kern}/kni/kni_net.c | 0 lib/librte_eal/linuxapp/Makefile | 2 -- 64 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 kern/Makefile rename {lib/librte_eal/linuxapp => kern}/igb_uio/Makefile (100%) rename {lib/librte_eal/linuxapp => kern}/igb_uio/compat.h (100%) rename {lib/librte_eal/linuxapp => kern}/igb_uio/igb_uio.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/Makefile (100%) rename {lib/librte_eal/linuxapp => kern}/kni/compat.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/README (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_82575.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_82575.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_api.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_api.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_defines.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_hw.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_i210.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_i210.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mac.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mac.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_manage.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_manage.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mbx.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_mbx.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_nvm.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_nvm.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_osdep.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_phy.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_phy.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/e1000_regs.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_main.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_param.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_regtest.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_vmdq.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/igb_vmdq.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/igb/kcompat.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82598.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82598.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82599.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_82599.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_api.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_api.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_common.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_common.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_dcb.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_fcoe.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_main.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_mbx.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_osdep.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_phy.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_phy.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_type.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_x540.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/ixgbe_x540.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/kcompat.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/ethtool/ixgbe/kcompat.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/kni_dev.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/kni_ethtool.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/kni_fifo.h (100%) rename {lib/librte_eal/linuxapp => kern}/kni/kni_misc.c (100%) rename {lib/librte_eal/linuxapp => kern}/kni/kni_net.c (100%) -- 2.7.4 diff --git a/GNUmakefile b/GNUmakefile index 45b7fbb..59a30f4 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 kern ROOTDIRS- := test include $(RTE_SDK)/mk/rte.sdkroot.mk diff --git a/kern/Makefile b/kern/Makefile new file mode 100644 index 0000000..c2c45a3 --- /dev/null +++ b/kern/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/kern/igb_uio/Makefile similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/Makefile rename to kern/igb_uio/Makefile diff --git a/lib/librte_eal/linuxapp/igb_uio/compat.h b/kern/igb_uio/compat.h similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/compat.h rename to kern/igb_uio/compat.h diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/kern/igb_uio/igb_uio.c similarity index 100% rename from lib/librte_eal/linuxapp/igb_uio/igb_uio.c rename to kern/igb_uio/igb_uio.c diff --git a/lib/librte_eal/linuxapp/kni/Makefile b/kern/kni/Makefile similarity index 100% rename from lib/librte_eal/linuxapp/kni/Makefile rename to kern/kni/Makefile diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/kern/kni/compat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/compat.h rename to kern/kni/compat.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/README b/kern/kni/ethtool/README similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/README rename to kern/kni/ethtool/README diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c b/kern/kni/ethtool/igb/e1000_82575.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c rename to kern/kni/ethtool/igb/e1000_82575.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.h b/kern/kni/ethtool/igb/e1000_82575.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.h rename to kern/kni/ethtool/igb/e1000_82575.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.c b/kern/kni/ethtool/igb/e1000_api.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.c rename to kern/kni/ethtool/igb/e1000_api.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h b/kern/kni/ethtool/igb/e1000_api.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h rename to kern/kni/ethtool/igb/e1000_api.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_defines.h b/kern/kni/ethtool/igb/e1000_defines.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_defines.h rename to kern/kni/ethtool/igb/e1000_defines.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h b/kern/kni/ethtool/igb/e1000_hw.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h rename to kern/kni/ethtool/igb/e1000_hw.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.c b/kern/kni/ethtool/igb/e1000_i210.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.c rename to kern/kni/ethtool/igb/e1000_i210.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.h b/kern/kni/ethtool/igb/e1000_i210.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_i210.h rename to kern/kni/ethtool/igb/e1000_i210.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.c b/kern/kni/ethtool/igb/e1000_mac.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.c rename to kern/kni/ethtool/igb/e1000_mac.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.h b/kern/kni/ethtool/igb/e1000_mac.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mac.h rename to kern/kni/ethtool/igb/e1000_mac.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.c b/kern/kni/ethtool/igb/e1000_manage.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.c rename to kern/kni/ethtool/igb/e1000_manage.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.h b/kern/kni/ethtool/igb/e1000_manage.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_manage.h rename to kern/kni/ethtool/igb/e1000_manage.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.c b/kern/kni/ethtool/igb/e1000_mbx.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.c rename to kern/kni/ethtool/igb/e1000_mbx.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.h b/kern/kni/ethtool/igb/e1000_mbx.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.h rename to kern/kni/ethtool/igb/e1000_mbx.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.c b/kern/kni/ethtool/igb/e1000_nvm.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.c rename to kern/kni/ethtool/igb/e1000_nvm.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.h b/kern/kni/ethtool/igb/e1000_nvm.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_nvm.h rename to kern/kni/ethtool/igb/e1000_nvm.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h b/kern/kni/ethtool/igb/e1000_osdep.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h rename to kern/kni/ethtool/igb/e1000_osdep.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.c b/kern/kni/ethtool/igb/e1000_phy.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.c rename to kern/kni/ethtool/igb/e1000_phy.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.h b/kern/kni/ethtool/igb/e1000_phy.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_phy.h rename to kern/kni/ethtool/igb/e1000_phy.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_regs.h b/kern/kni/ethtool/igb/e1000_regs.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_regs.h rename to kern/kni/ethtool/igb/e1000_regs.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h b/kern/kni/ethtool/igb/igb.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h rename to kern/kni/ethtool/igb/igb.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ethtool.c b/kern/kni/ethtool/igb/igb_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ethtool.c rename to kern/kni/ethtool/igb/igb_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c b/kern/kni/ethtool/igb/igb_main.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c rename to kern/kni/ethtool/igb/igb_main.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_param.c b/kern/kni/ethtool/igb/igb_param.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_param.c rename to kern/kni/ethtool/igb/igb_param.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_regtest.h b/kern/kni/ethtool/igb/igb_regtest.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_regtest.h rename to kern/kni/ethtool/igb/igb_regtest.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.c b/kern/kni/ethtool/igb/igb_vmdq.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.c rename to kern/kni/ethtool/igb/igb_vmdq.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.h b/kern/kni/ethtool/igb/igb_vmdq.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/igb_vmdq.h rename to kern/kni/ethtool/igb/igb_vmdq.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h b/kern/kni/ethtool/igb/kcompat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h rename to kern/kni/ethtool/igb/kcompat.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h b/kern/kni/ethtool/ixgbe/ixgbe.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h rename to kern/kni/ethtool/ixgbe/ixgbe.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.c b/kern/kni/ethtool/ixgbe/ixgbe_82598.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.c rename to kern/kni/ethtool/ixgbe/ixgbe_82598.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.h b/kern/kni/ethtool/ixgbe/ixgbe_82598.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82598.h rename to kern/kni/ethtool/ixgbe/ixgbe_82598.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.c b/kern/kni/ethtool/ixgbe/ixgbe_82599.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.c rename to kern/kni/ethtool/ixgbe/ixgbe_82599.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.h b/kern/kni/ethtool/ixgbe/ixgbe_82599.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_82599.h rename to kern/kni/ethtool/ixgbe/ixgbe_82599.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.c b/kern/kni/ethtool/ixgbe/ixgbe_api.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.c rename to kern/kni/ethtool/ixgbe/ixgbe_api.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.h b/kern/kni/ethtool/ixgbe/ixgbe_api.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_api.h rename to kern/kni/ethtool/ixgbe/ixgbe_api.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c b/kern/kni/ethtool/ixgbe/ixgbe_common.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.c rename to kern/kni/ethtool/ixgbe/ixgbe_common.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.h b/kern/kni/ethtool/ixgbe/ixgbe_common.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_common.h rename to kern/kni/ethtool/ixgbe/ixgbe_common.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h b/kern/kni/ethtool/ixgbe/ixgbe_dcb.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.h rename to kern/kni/ethtool/ixgbe/ixgbe_dcb.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c b/kern/kni/ethtool/ixgbe/ixgbe_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c rename to kern/kni/ethtool/ixgbe/ixgbe_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_fcoe.h b/kern/kni/ethtool/ixgbe/ixgbe_fcoe.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_fcoe.h rename to kern/kni/ethtool/ixgbe/ixgbe_fcoe.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c b/kern/kni/ethtool/ixgbe/ixgbe_main.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c rename to kern/kni/ethtool/ixgbe/ixgbe_main.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_mbx.h b/kern/kni/ethtool/ixgbe/ixgbe_mbx.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_mbx.h rename to kern/kni/ethtool/ixgbe/ixgbe_mbx.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h b/kern/kni/ethtool/ixgbe/ixgbe_osdep.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h rename to kern/kni/ethtool/ixgbe/ixgbe_osdep.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.c b/kern/kni/ethtool/ixgbe/ixgbe_phy.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.c rename to kern/kni/ethtool/ixgbe/ixgbe_phy.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.h b/kern/kni/ethtool/ixgbe/ixgbe_phy.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_phy.h rename to kern/kni/ethtool/ixgbe/ixgbe_phy.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h b/kern/kni/ethtool/ixgbe/ixgbe_type.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h rename to kern/kni/ethtool/ixgbe/ixgbe_type.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.c b/kern/kni/ethtool/ixgbe/ixgbe_x540.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.c rename to kern/kni/ethtool/ixgbe/ixgbe_x540.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.h b/kern/kni/ethtool/ixgbe/ixgbe_x540.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_x540.h rename to kern/kni/ethtool/ixgbe/ixgbe_x540.h diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.c b/kern/kni/ethtool/ixgbe/kcompat.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.c rename to kern/kni/ethtool/ixgbe/kcompat.c diff --git a/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h b/kern/kni/ethtool/ixgbe/kcompat.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h rename to kern/kni/ethtool/ixgbe/kcompat.h diff --git a/lib/librte_eal/linuxapp/kni/kni_dev.h b/kern/kni/kni_dev.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_dev.h rename to kern/kni/kni_dev.h diff --git a/lib/librte_eal/linuxapp/kni/kni_ethtool.c b/kern/kni/kni_ethtool.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_ethtool.c rename to kern/kni/kni_ethtool.c diff --git a/lib/librte_eal/linuxapp/kni/kni_fifo.h b/kern/kni/kni_fifo.h similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_fifo.h rename to kern/kni/kni_fifo.h diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/kern/kni/kni_misc.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_misc.c rename to kern/kni/kni_misc.c diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/kern/kni/kni_net.c similarity index 100% rename from lib/librte_eal/linuxapp/kni/kni_net.c rename to kern/kni/kni_net.c 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