On Tue, 5 Apr 2016 00:07:14 +0200 Thomas Graf <tg...@suug.ch> wrote:
> On 04/03/16 at 12:02am, Brenden Blanco wrote: > > On Sat, Apr 02, 2016 at 12:39:45PM -0400, Tom Herbert wrote: > > > Is there a hard restriction that this could only work with physical > > > devices? > > I suppose not, but there wouldn't be much use case as compared to tc > > ingress, no? Since I was imagining that this new hook would be more > > restricted in functionality due to operating on descriptors rather than > > with a full skb, I tried to think of an appropriate name. > > > > If you think that this hook would spread, then a better name is needed. > > The thing that comes to mind is that this prog type makes it easier to > implement batched processing of packets in BPF which would require major > surgery across the tc layer to make it available in cls_bpf. Batched > processing will be beneficial for software devices as well. +1 agreed, I would really like to see batched processing of packets in BPF, for this packet type, designed in from the start. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer