[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131029.173409.627047475551100692.davem@davemloft.net>
Date: Tue, 29 Oct 2013 17:34:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org, tgraf@...g.ch
Subject: Re: [PATCH net-next v2] net: sched: cls_bpf: add BPF-based
classifier
From: Daniel Borkmann <dborkman@...hat.com>
Date: Mon, 28 Oct 2013 16:43:02 +0100
> This work contains a lightweight BPF-based traffic classifier that can
> serve as a flexible alternative to ematch-based tree classification, i.e.
> now that BPF filter engine can also be JITed in the kernel. Naturally, tc
> actions and policies are supported as well with cls_bpf. Multiple BPF
> programs/filter can be attached for a class, or they can just as well be
> written within a single BPF program, that's really up to the user how he
> wishes to run/optimize the code, e.g. also for inversion of verdicts etc.
> The notion of a BPF program's return/exit codes is being kept as follows:
This looks great, although a lot of things this supports could be done
using u32 filters, but this is more flexible.
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists