[dpdk-dev] [RFC 1/2] net/tap: add eBPF to TAP device
Thomas Monjalon
thomas at monjalon.net
Thu Nov 30 17:54:03 CET 2017
30/11/2017 17:47, Stephen Hemminger:
> On Thu, 30 Nov 2017 08:01:09 +0000
> Ophir Munk <ophirmu at mellanox.com> 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 <daniel at iogearbox.net>
> > +
> > + 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 <asm/types.h>
>
> 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.
More information about the dev
mailing list