From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [RFC 1/2] net/tap: add eBPF to TAP device Date: Thu, 30 Nov 2017 08:47:36 -0800 Message-ID: <20171130084736.6a04c2ed@xeon-e3> References: <1512028870-13597-1-git-send-email-ophirmu@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Thomas Monjalon , Olga Shern , Pascal Mazon To: Ophir Munk Return-path: Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by dpdk.org (Postfix) with ESMTP id EBF0F3790 for ; Thu, 30 Nov 2017 17:47:44 +0100 (CET) Received: by mail-pl0-f66.google.com with SMTP id g2so4571898pli.8 for ; Thu, 30 Nov 2017 08:47:44 -0800 (PST) In-Reply-To: <1512028870-13597-1-git-send-email-ophirmu@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.