From: David Miller <davem@davemloft.net>
To: willemb@google.com
Cc: netdev@vger.kernel.org, edumazet@google.com,
daniel@iogearbox.net, ast@plumgrid.com
Subject: Re: [PATCH net-next v2 0/4] packet: add cBPF and eBPF fanout modes
Date: Mon, 17 Aug 2015 14:23:13 -0700 (PDT) [thread overview]
Message-ID: <20150817.142313.1118336177187820064.davem@davemloft.net> (raw)
In-Reply-To: <1439605897-28311-1-git-send-email-willemb@google.com>
From: Willem de Bruijn <willemb@google.com>
Date: Fri, 14 Aug 2015 22:31:33 -0400
> From: Willem de Bruijn <willemb@google.com>
>
> Allow programmable fanout modes. Support both classical BPF programs
> passed directly and extended BPF programs passed by file descriptor.
>
> One use case is packet steering by deep packet inspection, for
> instance for packet steering by application layer header fields.
>
> Separate the configuration of the fanout mode and the configuration
> of the program, to allow dynamic updates to the latter at runtime.
>
> Changes
> v1 -> v2:
> - follow SO_LOCK_FILTER semantics on filter updates
> - only accept eBPF programs of type BPF_PROG_TYPE_SOCKET_FILTER
> - rename PACKET_FANOUT_BPF to PACKET_FANOUT_CBPF to match
> man 2 bpf usage: "classic" vs. "extended" BPF.
Series applied, although I hope that synchronize_net() doesn't become
a scalability issue in some workload in the future.
prev parent reply other threads:[~2015-08-17 21:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-15 2:31 [PATCH net-next v2 0/4] packet: add cBPF and eBPF fanout modes Willem de Bruijn
2015-08-15 2:31 ` [PATCH net-next v2 1/4] packet: add classic BPF fanout mode Willem de Bruijn
2015-08-16 4:58 ` Alexei Starovoitov
2015-08-16 9:15 ` Daniel Borkmann
2015-08-17 14:29 ` Eric Dumazet
2015-08-15 2:31 ` [PATCH net-next v2 2/4] packet: add extended " Willem de Bruijn
2015-08-16 4:58 ` Alexei Starovoitov
2015-08-16 9:15 ` Daniel Borkmann
2015-08-15 2:31 ` [PATCH net-next v2 3/4] selftests/net: test classic bpf " Willem de Bruijn
2015-08-15 2:31 ` [PATCH net-next v2 4/4] selftests/net: test extended BPF " Willem de Bruijn
2015-08-17 21:23 ` David Miller [this message]
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=20150817.142313.1118336177187820064.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ast@plumgrid.com \
--cc=daniel@iogearbox.net \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
--cc=willemb@google.com \
/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).