Re: [PATCH net-next v2 1/4] packet: add classic BPF fanout mode

2015-08-17 Thread Eric Dumazet
On Fri, 2015-08-14 at 22:31 -0400, Willem de Bruijn wrote: From: Willem de Bruijn will...@google.com Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application

Re: [PATCH net-next v2 1/4] packet: add classic BPF fanout mode

2015-08-16 Thread Daniel Borkmann
On 08/15/2015 04:31 AM, Willem de Bruijn wrote: From: Willem de Bruijn will...@google.com Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application layer load

Re: [PATCH net-next v2 1/4] packet: add classic BPF fanout mode

2015-08-15 Thread Alexei Starovoitov
On 8/14/15 7:31 PM, Willem de Bruijn wrote: From: Willem de Bruijnwill...@google.com Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application layer load balancing.

[PATCH net-next v2 1/4] packet: add classic BPF fanout mode

2015-08-14 Thread Willem de Bruijn
From: Willem de Bruijn will...@google.com Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application layer load balancing. The QUIC protocol, for instance, encodes a