From patchwork Fri Jan 12 15:00:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 124361 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2159416qgn; Fri, 12 Jan 2018 07:01:26 -0800 (PST) X-Google-Smtp-Source: ACJfBouxX4k24Y+dlRF9fRgpBUvJJbAuukNYJvSFCLopjZFK5c82WBXx6tIQFlCImPllKpPlVsRN X-Received: by 10.28.211.75 with SMTP id k72mr4571240wmg.39.1515769286321; Fri, 12 Jan 2018 07:01:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515769286; cv=none; d=google.com; s=arc-20160816; b=Fez63UtRUF95hbqYOaoeL3uttTq6gErIZZykYezWwXQZN6B/tftsm6V1MZTLW6Bg4Q hY5HJEQ6GZE03X+xleIRs7gTz1ZLHkteTzcuyWao1RFas2IvlYXdzExFNrOVwl/XpEi8 /HBIQBCsLY5BumpuENSjzTSTlVRO4s8YCVd3zosoudWEfeVMFJ1U89cg9yp+e2VjxbC6 Aq1jCIbVrJJKgWIR7SzyxQakb2sedu4v+4Bs6Onlx0bE0tiQgAXp/WYiYdc+450s/ntX vvVhbCHrWz2io2IzLRyYouLaaKsX5BtH8eo0Zu28RAY+oVqEd7KWOoP2XatzuQVRIoxh Qy3g== 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:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=kZ737+Svz30AoiI6yumnDKOWNja2XwzutXNG780U/58=; b=L9fkq+UaemSJpeFf67zxKbMxNvpT6wWGWNhWCcp7+ndusJxlwMlC3Dus+DJuqfyFlH 1uO/sE4LSSa/pB32HbYTczSl0z6Wc5dtGsEzvbnUkY5OrSgNwWR9403dbcU+sPOIkHvK r+r8Wt5DiyDVgTk1T4yFbtYGx3gxScvUCOO+22OuT9SUNzbYftNC9710R8n0tHcrCzVe vWES2lyVNtL58W4vXNjk5CN2vhX0OiZYAL+Hc3+NbdkrH/CqBMBm3vIh2yxEKJe9ElZS JFxgiGK7hU0LXoIonkdkWw30dk2CYJeBebVgbdPISAJNKuZBXIGHE4dHnpBXiK0TqoXY zayg== 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 a2si2464270wmg.27.2018.01.12.07.01.26; Fri, 12 Jan 2018 07:01:26 -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 EA7FCA499; Fri, 12 Jan 2018 16:01:25 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0054.outbound.protection.outlook.com [104.47.38.54]) by dpdk.org (Postfix) with ESMTP id E39AF322C for ; Fri, 12 Jan 2018 16:01:23 +0100 (CET) Received: from CY4PR03CA0075.namprd03.prod.outlook.com (10.171.242.144) by CO2PR03MB2357.namprd03.prod.outlook.com (10.166.93.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Fri, 12 Jan 2018 15:01:22 +0000 Received: from BL2FFO11FD055.protection.gbl (2a01:111:f400:7c09::109) by CY4PR03CA0075.outlook.office365.com (2603:10b6:910:4d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Fri, 12 Jan 2018 15:01:21 +0000 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 BL2FFO11FD055.mail.protection.outlook.com (10.173.161.183) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Fri, 12 Jan 2018 15:01:21 +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 w0CF1HP9010695; Fri, 12 Jan 2018 08:01:18 -0700 From: Hemant Agrawal To: , CC: Date: Fri, 12 Jan 2018 20:30:12 +0530 Message-ID: <1515769212-24122-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515566763-2883-1-git-send-email-hemant.agrawal@nxp.com> References: <1515566763-2883-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131602428815241658; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(199004)(189003)(110136005)(305945005)(36756003)(105606002)(2906002)(97736004)(106466001)(86362001)(16586007)(104016004)(316002)(6346003)(50226002)(47776003)(81166006)(8676002)(50466002)(498600001)(59450400001)(68736007)(356003)(81156014)(2950100002)(8936002)(76176011)(5660300001)(6666003)(77096006)(48376002)(51416003)(53936002)(53946003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2357; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD055; 1:FDU15tMDQCPUFYgTzt+EYALxOSyJbsoPpIPiyxtaGThZvX+rVcp21fvWY5TcweGg8TUuaQvSEON81CKLJktulO+20xdJpDEAQG9IAm4U5t4mqb1qL4ggq41BTxWXPIm5 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4b4c496c-8061-40a9-71ba-08d559cd5793 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020083)(5600026)(4604075)(2017052603307); SRVR:CO2PR03MB2357; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 3:xXUrpmST6QCcTF79G92SPeFDGUx8XqFinvHEf7gQ+YHsBbGbzSbIqMFcP57Yb1l/u2FlQxSjJmiA4iiuOE4eIuHTwffWJ50xNjqyubLU6nDjCazMPW4y2vc0XAcxw+K14dd7l4Izr1rKguv0cy0KmNaAInSAYEdOTyZKILkc4USkhAux9I4oA2Ff1okmoBMlzYU6eI0NzsAiDP3XUuwem4gEe5ocZDSNnACDB++/jpyJWa2aPG6AlSTJxLIp1pMJ6JHDekUbgAafK4CI4S2Morb2Q6IGY12NhvtHhPVwNZ4kXTi1IbLX8NLvYNoWD19/+bg7GEMHXdughVIQX3CcT7/2cyWq28olO9ioM+aLlcU=; 25:0urrPOQLwxGbl3ipxfweXvK/lOuJwmZnRpDUFdKZd5LquhpiI1c8Nnx3e8OzwC+cNiupKtAo1zeZsRbM4IWCuNXEYW+inxscZT45VfqlKw/vftVkklRR4UX7TC5ikvH+/SSVnlBsaMOrdoJ96UGa75rC7gB9lgoJk5KSfFkNzzRVkA2bEvqeIu9hf8SjM/29JrnE7pqNiBnf+SZj64nxEG40r84o0bjMV3uelSdL/+YLb5N7+rQHodg/v3eUwLHSjatqI4mqZhKb8/a9K5c3YGFvlQkFW2l47/4N3jsg3+oo8JDjkkzRRrCoSeiImuM8/Qne0s2Igb67cHkVZDpgEg== X-MS-TrafficTypeDiagnostic: CO2PR03MB2357: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 31:ZVroeNV6wpEz/zBUVh9YBBBfJk4DuOgLe3w5gHS8l2EeGulbmX+WUY+ZuqN/SIVmeeBGCgi58scLy3beGYcnbwQg3iI8w9MbnFcuGBQyXU1wZU5Zw5OmiIrHiA5ipKhz/27dek3BjjmIv18q0ByQ/zqB3RvzYysY/tzLkyVLyoP6XfWjrDw88o7ttlOiSW9DHBHYuPw2BH6mrhb/ojbVvmzcgUqtrxZ7vIFy9fleYCs=; 4:+JiqjQHX1FsAWG4MpBOmrhuIv+NEgkHEJZFM0bPkd+ElHX0Yae9Q5VNOBmj0nPf/D/hophjNpKyrp/lgKAWgCoe+HaD3Qiia/RNYkriF2nwvs67JmVkd88xgeIliK+vhGQV3t+7oY2P0kp7ua+4LGw5mkk7lICHGYEvWSM5lpu1JYc66nEnrIqm4SLIw2ON2QBTSAuGago4ZjiV1RfGe7WCYnN15x9dLXmeCe7613bEjNrWCP/ywfh+7ZqRTf78FDkw4ac98u5eaq5SbrAIw2vfdVLnhKyvWG5XZ38j9kkAoDJW7K7QzfxNcR3LiQxx/e1iNScKRcfvGl5IdfjjhsupwzLjgGD/ndES3+c+t56Q= 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)(8121501046)(5005006)(10201501046)(3231023)(944501144)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123563025)(20161123556025)(20161123565025)(201708071742011); SRVR:CO2PR03MB2357; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CO2PR03MB2357; X-Forefront-PRVS: 0550778858 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR03MB2357; 23:0LFMxYqmG1jEeliX4QK2voOP3ZYD1czFXcN4Mn1lO?= GfVqJ/aujq5CN1KnDQBa8GpfBgY82z4DE9KCrsnrJFKixELWq3wiblv4O33L+8gFL0FZAxbxDdhPPWMg6JH7iuYBmlp33oOf+dDIH+epXAzIbrdyRJxLFAw9Hc8UBShmtZPS04Emqm4YY2O5LE4XH95SY0KsKOK30pqfmTh9NHGtQtYOzUJ7jyCnzSiyyFdOHVkvroA9WxmsgbanNtwpA7r+ScnDmUMN/NudEIdtVzRBklDlrZhwXrfgL+fe0d7V20Ms6pevVV6JMtg95WdZn9qn6Cfk25AieaCLk//tZkmndYZw8PMPGXJUKlINTqSeE08Pr7Cs6+gJ/6vw1CYu2lRaZ+HoPMEVu8xeRL3q7H6f6O0mi8C6w43UnCenGBNns0NS45JARR5b7OVVJIu2CrvF5Ji/51IMIL7XexSk/ncw6gmDL8FNukaBEJUXb5D/UmBLez0itC/iVsUoLei5TiIfrriVXnrVKOQuADVpHGdn7LG0kUec6UZsefUHhk414CO2hVKXF4KW34x0EJjpshPA34SxoCsu0k/RvCXV9pQng5kqGKmfsU00zuuvkUgsdmi7a4oH92LexrHeYESU7vGMUd2UTCMl7PZI3Pi7XJexFrT9ehVZMsyE7XQw3mffqyHNHUEGZFbtYQ2ty4A+l1dYPUFNqkb9nhP+rpnrCXwJ3A7G2PPwJq8vcYD2t99DJ2f1xCGcg5/Mml6oPEEKo5DwmTgbJ3SbIHxvdjKxhNmRYnytpBX8TLqyLHMrf7RF9aROQnI9OhrYpkQ/7CJd5UEKwfKZWYvbW9b7aaT62X7iratbcWEKmTZguylb+KAJJL1FIjp/G+//pPEmmkTCQrdZ6A06D98lOlR0wv84M2uqqVgr/vzAEhK90HM8X9ZKOFBliuCpxE783q/7uCB4PWGVeXJltPbP+b26wHuKPA9ODRCRjb77TqfCQn0qzc9Rt+th1TGh7Wwch72qtGZ/3W9BWZExX/qEI/QnfTBUTdLG4BzhsbRPVryJ4ftmovA89Qz9LwotOgqDYCbbscSFVYx X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 6:x8d5oZ1BiuwvoV8PgVmIHfWhKKRf66C5v5TaMiv9DbuvIqEcf9bs1OWqK74n6tVHS9MK4gwcIu6O+PV62bRiTFIxMXg6M4HuWgWUOpET1krXbTEXvkEtm4b10h+YlIh0BpAFHzj+Yi+TygAQbUF7u4lXysEoNujSkFb4dELZZ5kEars9u6N8jLavQ4RrrDYppVdOpPQFakgpSlIC/GlcPTxq0wm8zL2ayR6eUQnwgxiBrA5hfeD15C1wEzAbpjSEiAjXPNz0PFW8FP7L8uAOXjRsSOEb6ioUSv3tzNGSR9jXkMRq4IqufBFb7Sw7RJEkdbJioHaoPDUoZ1RYiFdz2vd0Exzk/0Eu7rWruwZk9Xw=; 5:xEahza3sj5sH2CdD3PN6EaDVGkqdWMbtrZesgBb5ptdu7/1Fb3QVSa5IqsOeIn6fwa+YHog005Vq1nOnAXRapPrEAfLpWR1kPMk62qe/WoSQeyPORmqsyEHf56P+cxm92NMuxcPTF3gxv8C1OdKyf7Pr9WWzJOcmOywarAyfFI8=; 24:BAytwn1OAPVKGENASMe99kVGH8tzyZmb4z18aqGNi7O5Cwj1iGWnU5LYOWDYbpSib6epv78QA+UNzPMf9/z9MLf6qq5Htr7TkLhssP+OOVk=; 7:QDeZnWQUIqZ6CnGG1QItalGfeKgZs+A8ETp//adaAfg64Km83zb36FnawCjvczKHS4vx87SoNeeM90xh3tDoabpbVerA72Tl6nqKtFPQ/dboM97h+aDiCrI2OXCy2o8GIXSvRwc3ot1E1/al2+wfMBjddLeaYq75ZjxhiGK3BKLX+Fn89ZSb1BNXr1mtBi/cKs+7sHuE6btG1xeoDC3DoXEKJOpuipWO1hzRFQrXlYPDVWasQFNF926OW0+U4yqi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2018 15:01:21.3525 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b4c496c-8061-40a9-71ba-08d559cd5793 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: CO2PR03MB2357 Subject: [dpdk-dev] [PATCH v5] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Tested-by: Bruce Richardson --- v5: rearrange kernel compliation as per Bruce's suggestion v4: update the path in MAINTAINERS v3: move contigmem from bsdapp v2: rename kern to kernel, add freebsd modules as well GNUmakefile | 2 +- MAINTAINERS | 8 ++++---- 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, 32 insertions(+), 9 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%) -- 2.7.4 diff --git a/GNUmakefile b/GNUmakefile index 45b7fbb..2a383d5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -40,7 +40,7 @@ export RTE_SDK # directory list # -ROOTDIRS-y := buildtools lib drivers app +ROOTDIRS-y := buildtools lib kernel drivers app ROOTDIRS- := test include $(RTE_SDK)/mk/rte.sdkroot.mk diff --git a/MAINTAINERS b/MAINTAINERS index 9a2c2fb..f870281 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 @@ -210,11 +210,11 @@ F: doc/guides/freebsd_gsg/ FreeBSD contigmem M: Bruce Richardson -F: lib/librte_eal/bsdapp/contigmem/ +F: kernel/freebsd/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