From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [RFC 1/2] net/tap: add eBPF to TAP device Date: Thu, 30 Nov 2017 17:54:03 +0100 Message-ID: <1957516.jeWhpFXUaF@xps> References: <1512028870-13597-1-git-send-email-ophirmu@mellanox.com> <20171130084736.6a04c2ed@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olga Shern , Pascal Mazon To: Stephen Hemminger , Ophir Munk Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 57101532C for ; Thu, 30 Nov 2017 17:54:05 +0100 (CET) In-Reply-To: <20171130084736.6a04c2ed@xeon-e3> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 30/11/2017 17:47, Stephen Hemminger: > On Thu, 30 Nov 2017 08:01:09 +0000 > Ophir Munk wrote: > > > diff --git a/drivers/net/tap/tap_bpf_elf.h b/drivers/net/tap/tap_bpf_elf.h > > new file mode 100644 > > index 0000000..f3db1bf > > --- /dev/null > > +++ b/drivers/net/tap/tap_bpf_elf.h > > @@ -0,0 +1,56 @@ > > +/******************************************************************************* > > + > > + Copyright (C) 2015 Daniel Borkmann > > + > > + Copied from iproute2's include/bpf_elf.h, available at: > > + https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git > > + > > + This file is licensed under GNU General Public License (GPL) v2. > > + > > + The full GNU General Public License is included in this distribution in > > + the file called "LICENSE.GPL". > > + > > +*******************************************************************************/ > > + > > + > > +#ifndef __BPF_ELF__ > > +#define __BPF_ELF__ > > + > > +#include > > You can't mix BSD and GPL licenses in DPDK. > That includes headers. Yes Anyway these headers must removed because they do not seem needed.