From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by dpdk.org (Postfix) with ESMTP id 457124C9B for ; Thu, 1 Mar 2018 03:10:54 +0100 (CET) Received: by mail-pf0-f182.google.com with SMTP id y186so1835206pfb.2 for ; Wed, 28 Feb 2018 18:10:54 -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=6GclaSPajtwPHfmwRbLE9u12+9Uek69N+4v0Kbe4UFQ=; b=ZptyymR39k98BWAp+yVDotIhUEhpPTgAeBzS6MWYyAaWLvqKJum71+oB9vsIpZjAnq jDchy3fAwxnRZIrd+O/6oOkl4Gb0Bh/wKveKET5N3ob0THYO7I5BKzr59gyNn55EMego oJXsgYwWqNFMgZfvyo/u/Kk5mAlRrC4O/h2OCczFAoXez8TurpcqontSFzDQ6h4lBw8i dlfUSq6VOXUf0EzlLaBHzxSluKe87+MxNu5O2hgUQc8atgfDDGKlEz1Us5YE5lg59Z0Z DNG2lx9RS8GZRm7mAK1ve96OeEUaKvClrvDbanHuwgn2BmRW2PcOiLwaF8zmmp59I1tt yxzw== 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=6GclaSPajtwPHfmwRbLE9u12+9Uek69N+4v0Kbe4UFQ=; b=D+AekxvS3wvPmkWejEuu5u2X85n6o9JBNyfjaIbQTjrfGA4MFyl952GrA5oPWZLHro VhXMLzBcjuP4cOyPuDj9O/B6tsJV0E8ELi6uCg6te2/OC+p3Ajrt0ma49oa28a2vu1kN qHFnNiBkOC1jBH/G6f7J4URSwGSIKs/xnHEYFV8MNIycZ5FD8UNdTdCCvFSWy3F6E/CJ CLfcKoWwI+NCHRwuZ5VWfMnMygcTi4P1eimMoV/tOZ2yC9OM4PtnT+Upooikz6YDNZyJ 3EgGl+suJ2Yfsk7xh62ZB3eQv6A1A77B3FxA5Mt8Q/uTMQfoRsVNevt9vqFQv7vkb6Pk vtfQ== X-Gm-Message-State: APf1xPBIbgguUQsQxCk6ZCph6rAwDUyCfaTQzYViCqrsh0pjrAF0MzdU HqwV6kywPW6sEXQgnyx8WPe3SQ== X-Google-Smtp-Source: AG47ELvfEzSnJnV4sXYItw1bvz0gqEby0hALmgb0wUNn/RYtjkRvGeuNVEMcYAVI4bOU0jYAbsDvGA== X-Received: by 10.99.96.66 with SMTP id u63mr189877pgb.49.1519870253415; Wed, 28 Feb 2018 18:10:53 -0800 (PST) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id 76sm5712541pfp.53.2018.02.28.18.10.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 18:10:53 -0800 (PST) Date: Wed, 28 Feb 2018 18:10:50 -0800 From: Stephen Hemminger To: Qi Zhang Cc: dev@dpdk.org, magnus.karlsson@intei.com, bjorn.topel@intel.com Message-ID: <20180228181050.41d20eb4@xeon-e3> In-Reply-To: <20180227093306.23854-7-qi.z.zhang@intel.com> References: <20180227093306.23854-1-qi.z.zhang@intel.com> <20180227093306.23854-7-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 6/7] net/af_xdp: load BPF file 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, 01 Mar 2018 02:10:54 -0000 On Tue, 27 Feb 2018 17:33:05 +0800 Qi Zhang wrote: > include $(RTE_SDK)/mk/rte.lib.mk > diff --git a/drivers/net/af_xdp/bpf_load.c b/drivers/net/af_xdp/bpf_load.c > new file mode 100644 > index 000000000..aa632207f > --- /dev/null > +++ b/drivers/net/af_xdp/bpf_load.c > @@ -0,0 +1,798 @@ > +// SPDX-License-Identifier: GPL-2.0 Sorry all DPDK drivers must be BSD licensed. You can't use GPL-2.0 code. Either get the code dual licensed or write a new loader.