From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0051.outbound.protection.outlook.com [104.47.33.51]) by dpdk.org (Postfix) with ESMTP id 69B881B365 for ; Fri, 22 Dec 2017 11:04:52 +0100 (CET) Received: from DM5PR03CA0057.namprd03.prod.outlook.com (10.174.189.174) by CY1PR03MB2363.namprd03.prod.outlook.com (10.166.207.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Fri, 22 Dec 2017 10:04:50 +0000 Received: from BN1BFFO11FD012.protection.gbl (2a01:111:f400:7c10::1:197) by DM5PR03CA0057.outlook.office365.com (2603:10b6:4:3b::46) 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 10:04:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; 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 BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) 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 10:04:35 +0000 Received: from [10.232.133.65] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBMA4leL025702; Fri, 22 Dec 2017 03:04:48 -0700 To: Thomas Monjalon References: <1513922231-15554-1-git-send-email-hemant.agrawal@nxp.com> <2388140.F1AUfV8GGA@xps> CC: , From: Hemant Agrawal Message-ID: <1e293147-9c72-9e77-97cb-9aabc9e5af39@nxp.com> Date: Fri, 22 Dec 2017 15:34:47 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <2388140.F1AUfV8GGA@xps> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131584106755170658; (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)(376002)(396003)(346002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(24454002)(189003)(199004)(4326008)(85426001)(104016004)(54906003)(83506002)(47776003)(68736007)(8676002)(6916009)(65806001)(81166006)(65956001)(58126008)(2950100002)(77096006)(64126003)(81156014)(23746002)(356003)(316002)(229853002)(86362001)(230700001)(498600001)(53936002)(31696002)(50466002)(67846002)(106466001)(31686004)(2906002)(97736004)(6246003)(8936002)(65826007)(5660300001)(53546011)(36756003)(305945005)(105606002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2363; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD012; 1:xwktLiViXlIokL8KDqiRqggD/9T2jP4Veog9+BsFIgy++DTyExZpEZs3D3QLRj7fYb83MQ7d0AhgclWRkjiEEytCa6WjHJzcM8alQohazwFJafoNXWlN57YNMfN3NMmo X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d1860214-08cf-43db-a162-08d5492367b1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:CY1PR03MB2363; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2363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DlDotQJkAZ6A3qt2mJSN6q3yI5+cAQXc2amx02tZkh/yehYvz2BPPnzZ7fC9TwiXz8R+Eo7hoUWgBIbI3OdLA35BfkNC5qSLJBtFL0M/NauaB+RMbGG74gD8IP9lmZlbMLJiukGEuNfR2tnnwY1FKxSwzyJCgOrXZ0RiypCsj1KenkXP0R89wMSRNl/q/xKP70Z4moIdx6rK124czcCJsHOEimLYCvkoAQuNdzbSv6q6t0hDWq1MX9Q8+8A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231023)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123563025)(20161123559100)(20161123561025)(20161123556025)(20161123565025)(201708071742011); SRVR:CY1PR03MB2363; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY1PR03MB2363; X-Forefront-PRVS: 05299D545B X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY1PR03MB2363; 23:eR8Co7N+xVK/DB2n9IdpIBBfaDIVfmiX4LSVB?= =?Windows-1252?Q?wS+7bV9a+9R51ySZ49SVfXz96wwAUvnUkbvOlFOu48wcTb8RETbhS3w0?= =?Windows-1252?Q?ohr+eaynaGYhfpcnX4Pwh4G8HnIK7Ufl0/yxRgulLnxlxR/BYV3BnoTG?= =?Windows-1252?Q?GXDBiyYCCPXAg5JY9KMP0qcPr5Pefcfw0Iftszvtu2pUvJPZr23EUXAL?= =?Windows-1252?Q?8+qWUK1JAWjAYEWkgI5oGW4QmHQpaXIwvbENjIyyf1CvfVCstmQFTFEL?= =?Windows-1252?Q?t5m5eHxV2Yno6PDftvRF9mkaYUeaOCATo21R0ydxEqcg5aMEOMP5Sbl/?= =?Windows-1252?Q?ZBX1/YWh8CHz9iVBGKT1P/snIDLPMTTC1YtGN/2U6RrPDrejY2PPEHYH?= =?Windows-1252?Q?nVKCIy03CD9EKu/Ya0zmJEsmBF1GnAHxI2wuE4XrfyS4wNmxUtoj0wqo?= =?Windows-1252?Q?1BoA4OhWSEMIDXPLUQ3ZFq0nhFHUiVxSGIKYAgM+qeLhei4cYuxcIHKU?= =?Windows-1252?Q?U8rKq8O+nZXI9uK9K2SjIVR+X45AFoqUy87J+8i7ZPpMS2qlDfs0Cb9b?= =?Windows-1252?Q?jYPSZSXOY7riUlPVLy8rqRm7UR5dIm0es3zBbHl5x6BMZqm7nZcXlpnI?= =?Windows-1252?Q?/meYRmaXdCIVkygnDDGELWZPRBtaYDP7UDqtZlX5YdmrjIRSlnh68E3T?= =?Windows-1252?Q?hSQRJ/VMTEUk4c2G13zoWnMQYd4vbZop/v4VSAoKF1jEFIXqTXUd9pC5?= =?Windows-1252?Q?JW46Lpvez9j4wi98dMKNAmBx5zk2PRzJrN7pgfkR+ueOn2Pq0g/tIGlf?= =?Windows-1252?Q?Y16L7OzczyK/I7oY2tqjT+1ITpu3gE68aw9d8kAF/mfNXPTWJq/h1BHt?= =?Windows-1252?Q?JTzl6MYzA3Iw6chtHfC/aW26l7KcJJsXMazqX2nke668pZsswIsmrjfw?= =?Windows-1252?Q?TIYXxSZbcdEYCZ9Isv6q6KOGyQJ3x+5UsV8lmkbRKHLGEcTILT98jXFn?= =?Windows-1252?Q?FtKEq0UmBqy8H+/d0tCuKM22qSaLLExDKTO7pxHNtMAE4T/7HbU2po6m?= =?Windows-1252?Q?1iA+2BZKdXWjXvygbUAlau3Ki81rt8U+lsX+y0HlUfViN+ItdwEdRJ3+?= =?Windows-1252?Q?nNCymUzkPgAAf5r+I7LFJ6GH4/bz6RRJm8HWBLPzFLK4DZBOJ85pdj3z?= =?Windows-1252?Q?nDTErILP9usCqM0e+btjixusoeDb0tTx8A3VPAKGR/koggmPrssFlkrY?= =?Windows-1252?Q?gqgY5Yl23dQqOiJXYAf6m94K2hrN1LBqLnoa2JCzEaxbdH5CepblA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DiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2017 10:04:35.3454 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d1860214-08cf-43db-a162-08d5492367b1 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: CY1PR03MB2363 Subject: Re: [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: , X-List-Received-Date: Fri, 22 Dec 2017 10:04:52 -0000 On 12/22/2017 2:13 PM, Thomas Monjalon wrote: > Hi, > > 22/12/2017 06:57, Hemant Agrawal: >> 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 > > What is the benefit of separate things by license? The separation makes it easy to identify and check the license. Any patch introducing new file in *non-kern* folders shall not be GPL-2.0 licensed. Or GPL-2.0 license is allowed only for kern folder. > These modules are Linux modules, so they should be in the linuxapp dir. This is a cleaner separation w.r.t userspace/kernel space code. *kern* is a better placefolder for LKMs. Also eal is not getting overloaded. linuxapp is part of librte_eal. KNI is not related to EAL, but still the kni kernel code is added to librte_eal under linuxapp. > There are also some kernel modules in the bsdapp directory. We can move them as well. > >