Re: [PATCH net-next] udp: gro behind static key

2018-10-05 Thread David Miller
From: Willem de Bruijn Date: Fri, 5 Oct 2018 11:31:40 -0400 > From: Willem de Bruijn > > Avoid the socket lookup cost in udp_gro_receive if no socket has a > udp tunnel callback configured. > > udp_sk(sk)->gro_receive requires a registration with > setup_udp_tunnel_sock, which enables the sta

Re: [PATCH net-next] udp: gro behind static key

2018-10-05 Thread Paolo Abeni
On Fri, 2018-10-05 at 11:31 -0400, Willem de Bruijn wrote: > From: Willem de Bruijn > > Avoid the socket lookup cost in udp_gro_receive if no socket has a > udp tunnel callback configured. > > udp_sk(sk)->gro_receive requires a registration with > setup_udp_tunnel_sock, which enables the static

[PATCH net-next] udp: gro behind static key

2018-10-05 Thread Willem de Bruijn
From: Willem de Bruijn Avoid the socket lookup cost in udp_gro_receive if no socket has a udp tunnel callback configured. udp_sk(sk)->gro_receive requires a registration with setup_udp_tunnel_sock, which enables the static key. Signed-off-by: Willem de Bruijn --- include/net/udp.h | 2 ++