From: Alexander Nasonov <alnsn-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
To: Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: 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-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
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
next prev parent reply other threads:[~2014-09-09 21:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 0:49 TCP/IP stack for DPDK zimeiw
[not found] ` <4a71bb41.1307.14857e341d5.Coremail.zimeiw-9Onoh4P/yGk@public.gmane.org>
2014-09-09 6:20 ` Matthew Hall
[not found] ` <20140909062016.GA7050-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-09-09 6:30 ` Jim Thompson
2014-09-09 6:30 ` Vadim Suraev
[not found] ` <CAJ0CJ8kZwfxT_yzu8NuLgtYpCBEekN=NQMNdS4R18rmk-w12-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 6:38 ` Zhang, Helin
[not found] ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A784F02-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-09 6:42 ` Vadim Suraev
[not found] ` <CAJ0CJ8mz9FpdvMtB2Xnjd+59+LKM8c4mja1VjGQRqndOy2cDLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 6:47 ` Zhang, Helin
[not found] ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A784F23-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-09 6:58 ` Matthew Hall
[not found] ` <20140909065852.GB7240-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-09-09 12:16 ` Alexander Nasonov
2014-09-09 15:00 ` Jim Thompson
[not found] ` <E58E79CA-33ED-4104-A9C3-BFA738D24C6E-jiyf0hk6h8BBDgjK7y7TUQ@public.gmane.org>
2014-09-09 20:17 ` Alexander Nasonov
2014-09-09 20:51 ` Matthew Hall
[not found] ` <20140909205114.GC11510-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-09-09 21:30 ` Alexander Nasonov [this message]
2014-09-09 21:59 ` Matthew Hall
[not found] ` <20140909215919.GA11799-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-09-09 22:47 ` Alexander Nasonov
2014-09-09 14:54 ` Stephen Hemminger
[not found] ` <CAOaVG178NA5CziT1hKScmghdbiQe25ESbTWJiDZtATkJxDXFxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 15:19 ` Vadim Suraev
[not found] ` <CAJ0CJ8kvuFzbfyJs+UaaoLq5Y0UJrXe6_V0bK_vLr_RpUyAxGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 15:26 ` Jim Thompson
[not found] ` <BA33F198-66BB-44CB-BEC5-F8902C0A5BA2-jiyf0hk6h8BBDgjK7y7TUQ@public.gmane.org>
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
[not found] ` <20140909160911.GA18226-P+9LSW+heshDtcM2BRa8+1DQ4js95KgL@public.gmane.org>
2014-09-09 21:49 ` Aaro Koskinen
[not found] ` <20140909214922.GB589-7n+jfq1IuBl13aiSOxckUV9wdVTlxKpd@public.gmane.org>
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-o+mxotu4lmchxe+lvdladg@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org \
/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).