From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iwi4qws6w2EOXRNJoJyMaTEez/ktmMsby+J1jk7Bni4=; b=st9OkBfdbyG9Qo6cWi4djZajvcbSaFGbuzrF74pqg+TBg4dvKdXETtVJ/mITU7N7eC 33Q5A2KRrNkDmrzSYb3Ifqt+8IA5uVTNPVmL3PxG90HX4dTHHe5RTHVPFIjPW7Abg1pR lydBpOVLEcAa55vc5Eu1ad/TGFqEnYCPGsqy7n2N3fWUU6qZ85oa8W87RaWSFo9N3VS2 Cc5TvwSZ/+59rrneRk5fEL3pjy4+zTwSYht45NHy6olpS9MX8NbzKO7gKVeErKNijmqA Ph/EisyKWjy5DtJz7VhbMu14eUx+Iqra4MdQayMDo0O8+eNXz1SeWwZulKH6efbXXaSv MeLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iwi4qws6w2EOXRNJoJyMaTEez/ktmMsby+J1jk7Bni4=; b=ETKWZr7d9w/7scKej3kS65aYDfocolmPOLyoSnuJHaXnKhNwqnLV7P/v3cSB7BKn++ tzJxyJvF7NTX2NL4lWb6nu+y2/fBIhJPEIoS+YiAvCdZVMCHQ0U04UfTety1IfDWIbrJ qWPzS4HFnSmkRDs5/lyZdJ4xH+MOFu9FKbSMZONM3zfbmOZw9AruoxIROYgWDaoE2uJ5 TxKtGFG65Ye5TQOYyR7xpR3WACe+5AqbKiFXU2mgZQtma44onzpkE8m+rU/ymXLH0zjo isu9mOR1P4rntYIni2rzgfWAfuUo8HWAUf58XpCfz1cWV1A6FaYoM/ZDxgQkMr3pVVPL lJ/w== X-Gm-Message-State: AJaThX4CDH5F6PbSSB5FDZJGskNBX03pfCYrXI2wB5mSjvjLkK9Kms4M LJlcAYNrcSv+1P7jgdklxlF5NOvJbeM= X-Google-Smtp-Source: AGs4zMYN7BNoYyiTe2EBRKmkyIgHLTi6Ii336zadc9Q9V04H17GjA1JORUEAKqYM6Hb5l+mJ5mzwQA== X-Received: by 10.84.198.67 with SMTP id o61mr3294354pld.229.1512060463937; Thu, 30 Nov 2017 08:47:43 -0800 (PST) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id k8sm7751530pgs.28.2017.11.30.08.47.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Nov 2017 08:47:43 -0800 (PST) Date: Thu, 30 Nov 2017 08:47:36 -0800 From: Stephen Hemminger To: Ophir Munk Cc: dev@dpdk.org, Thomas Monjalon , Olga Shern , Pascal Mazon Message-ID: <20171130084736.6a04c2ed@xeon-e3> In-Reply-To: <1512028870-13597-1-git-send-email-ophirmu@mellanox.com> 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 Subject: Re: [dpdk-dev] [RFC 1/2] net/tap: add eBPF to TAP device 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: Thu, 30 Nov 2017 16:47:45 -0000 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.