DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alexander Nasonov <alnsn@yandex.ru>
To: Matthew Hall <mhall@mhcomputing.net>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] TCP/IP stack for DPDK
Date: Tue, 9 Sep 2014 22:30:01 +0100	[thread overview]
Message-ID: <20140909213001.GA6574@neva> (raw)
In-Reply-To: <20140909205114.GC11510@mhcomputing.net>

Matthew Hall wrote:
> 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.

Ah, I see.

> 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.

sys/net/bpfjit.c in NetBSD should be very easy to adapt to Linux.
I was often testing it on Linux in userspace (without mbuf support).
At the moment, I'm only allowed to work on some NetBSD projects and
I can't adapt bpfjit to anything outside of NetBSD but when I last
compiled bpfjit on Linux, it took me about a minute to fix compilation.

Please try github version, it's not up-to-date but it worked on Linux:

https://github.com/alnsn/bpfjit

Alex

  reply	other threads:[~2014-09-09 21:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09  0:49 zimeiw
2014-09-09  6:20 ` Matthew Hall
2014-09-09  6:30   ` Jim Thompson
2014-09-09  6:30   ` Vadim Suraev
2014-09-09  6:38     ` Zhang, Helin
2014-09-09  6:42       ` Vadim Suraev
2014-09-09  6:47         ` Zhang, Helin
2014-09-09  6:58           ` Matthew Hall
2014-09-09 12:16             ` Alexander Nasonov
2014-09-09 15:00               ` Jim Thompson
2014-09-09 20:17                 ` Alexander Nasonov
2014-09-09 20:51                 ` Matthew Hall
2014-09-09 21:30                   ` Alexander Nasonov [this message]
2014-09-09 21:59                     ` Matthew Hall
2014-09-09 22:47                       ` Alexander Nasonov
2014-09-09 14:54     ` Stephen Hemminger
2014-09-09 15:19       ` Vadim Suraev
2014-09-09 15:26         ` Jim Thompson
2014-09-09 15:59           ` Vadim Suraev
2014-09-09 20:47       ` Matthew Hall
2014-09-09  7:30   ` zimeiw
2014-09-09 16:09 ` Jeff Shaw
2014-09-09 21:49   ` Aaro Koskinen
2014-09-10  3:42     ` zimeiw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140909213001.GA6574@neva \
    --to=alnsn@yandex.ru \
    --cc=dev@dpdk.org \
    --cc=mhall@mhcomputing.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).