From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 76179B368 for ; Tue, 9 Sep 2014 22:46:23 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id EFAE580C76D; Tue, 9 Sep 2014 13:51:14 -0700 (PDT) Date: Tue, 9 Sep 2014 13:51:14 -0700 From: Matthew Hall To: Jim Thompson Message-ID: <20140909205114.GC11510@mhcomputing.net> References: <4a71bb41.1307.14857e341d5.Coremail.zimeiw@163.com> <20140909062016.GA7050@mhcomputing.net> <20140909065852.GB7240@mhcomputing.net> <20140909121659.GB11499@neva> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] TCP/IP stack for DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 20:46:23 -0000 On Tue, Sep 09, 2014 at 08:00:32AM -0700, Jim Thompson wrote: > BPF JIT, or even pflua[1] should be straight-forward to put on top of DPDK. > (It’s straight-forward to do on top of netmap.) > > jim The pflua guys made a user-space copy of Linux BPF JIT. I'm planning to use that because it was almost as fast as pflua with a lot fewer usage headaches and dependencies. I'm making an MIT licensed app... so it isn't an issue for me personally if there is some GPL2 Linux code present. I don't think anybody made a non-rump version of the BSD one yet or I'd use that... I'm trying not to stray too far from the app's original purposes until it has some working features present. Until that time comes, I just started out with libpcap offline mode BPF for development purposes because it's standard and already available, and allows operations upon raw packet pointers with no issues at all. Matthew.