From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <anatoly.burakov@intel.com>
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43])
 by dpdk.org (Postfix) with ESMTP id 8C47C1B36D
 for <dev@dpdk.org>; Fri, 22 Dec 2017 14:05:35 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga006.jf.intel.com ([10.7.209.51])
 by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 22 Dec 2017 05:05:34 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.45,441,1508828400"; 
   d="scan'208";a="4935201"
Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.252.17.195])
 ([10.252.17.195])
 by orsmga006.jf.intel.com with ESMTP; 22 Dec 2017 05:05:33 -0800
To: dev@dpdk.org
References: <1513922231-15554-1-git-send-email-hemant.agrawal@nxp.com>
 <2388140.F1AUfV8GGA@xps> <1e293147-9c72-9e77-97cb-9aabc9e5af39@nxp.com>
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Message-ID: <2f41a843-edb4-04ac-cc12-d27b55424934@intel.com>
Date: Fri, 22 Dec 2017 13:05:32 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <1e293147-9c72-9e77-97cb-9aabc9e5af39@nxp.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
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 <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Dec 2017 13:05:35 -0000

On 22-Dec-17 10:04 AM, Hemant Agrawal wrote:
> 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.

The latter is better since BSD kernel modules are not GPL-licensed. So, 
anything in the kern/kernel dir is not *necessarily* GPL-licensed, but 
anything *outside* kern/kernel dir is *necessarily not* GPL-licensed.

-- 
Thanks,
Anatoly