-
- Downloads
Merge branch 'faster-soreuseport'
Craig Gallek says:
====================
Faster SO_REUSEPORT
This series contains two optimizations for the SO_REUSEPORT feature:
Faster lookup when selecting a socket for an incoming packet and
the ability to select the socket from the group using a BPF program.
This series only includes the UDP path. I plan to submit a follow-up
including the TCP path if the implementation in this series is
acceptable.
Changes in v4:
- pskb_may_pull is unnecessary with pskb_pull (per Alexei Starovoitov)
Changes in v3:
- skb_pull_inline -> pskb_pull (per Alexei Starovoitov)
- reuseport_attach* -> sk_reuseport_attach* and simple return statement
syntax change (per Daniel Borkmann)
Changes in v2:
- Fix ARM build; remove unnecessary include.
- Handle case where protocol header is not in linear section (per
Alexei Starovoitov).
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/alpha/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/alpha/include/uapi/asm/socket.h
- arch/avr32/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/avr32/include/uapi/asm/socket.h
- arch/frv/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/frv/include/uapi/asm/socket.h
- arch/ia64/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/ia64/include/uapi/asm/socket.h
- arch/m32r/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/m32r/include/uapi/asm/socket.h
- arch/mips/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/mips/include/uapi/asm/socket.h
- arch/mn10300/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/mn10300/include/uapi/asm/socket.h
- arch/parisc/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/parisc/include/uapi/asm/socket.h
- arch/powerpc/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/powerpc/include/uapi/asm/socket.h
- arch/s390/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/s390/include/uapi/asm/socket.h
- arch/sparc/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/sparc/include/uapi/asm/socket.h
- arch/xtensa/include/uapi/asm/socket.h 3 additions, 0 deletionsarch/xtensa/include/uapi/asm/socket.h
- include/linux/filter.h 2 additions, 0 deletionsinclude/linux/filter.h
- include/net/addrconf.h 2 additions, 1 deletioninclude/net/addrconf.h
- include/net/sock.h 2 additions, 0 deletionsinclude/net/sock.h
- include/net/sock_reuseport.h 28 additions, 0 deletionsinclude/net/sock_reuseport.h
- include/net/udp.h 4 additions, 3 deletionsinclude/net/udp.h
- include/uapi/asm-generic/socket.h 3 additions, 0 deletionsinclude/uapi/asm-generic/socket.h
- net/core/Makefile 1 addition, 1 deletionnet/core/Makefile
- net/core/filter.c 99 additions, 22 deletionsnet/core/filter.c
Loading
Please register or sign in to comment