add new socket options SO_INCOMING_CPU, SO_ATTACH_BPF, SO_DETACH_BPF
authorSzabolcs Nagy <nsz@port70.net>
Mon, 9 Feb 2015 21:22:13 +0000 (22:22 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Mon, 9 Feb 2015 21:22:13 +0000 (22:22 +0100)
commit70572dce07a631e2f818b34f5679c57eeebc9779
treeefa8288f39c6a15010a2a8e902cab709a0359a02
parent339cc250f6dda06e7a26fcbcc66e3a1bbec2b494
add new socket options SO_INCOMING_CPU, SO_ATTACH_BPF, SO_DETACH_BPF

these socket options are new in linux v3.19, introduced in commit
2c8c56e15df3d4c2af3d656e44feb18789f75837 and commit
89aa075832b0da4402acebd698d0411dcc82d03e

with SO_INCOMING_CPU the cpu can be queried on which a socket is
managed inside the kernel and optimize polling of large number of
sockets accordingly.

SO_ATTACH_BPF lets eBPF programs (created by the bpf syscall) to
be attached to sockets.
include/sys/socket.h