linux-pinenote/arch/s390/include/uapi/asm
Eric Dumazet 2c8c56e15d net: introduce SO_INCOMING_CPU
Alternative to RPS/RFS is to use hardware support for multiple
queues.

Then split a set of million of sockets into worker threads, each
one using epoll() to manage events on its own socket pool.

Ideally, we want one thread per RX/TX queue/cpu, but we have no way to
know after accept() or connect() on which queue/cpu a socket is managed.

We normally use one cpu per RX queue (IRQ smp_affinity being properly
set), so remembering on socket structure which cpu delivered last packet
is enough to solve the problem.

After accept(), connect(), or even file descriptor passing around
processes, applications can use :

 int cpu;
 socklen_t len = sizeof(cpu);

 getsockopt(fd, SOL_SOCKET, SO_INCOMING_CPU, &cpu, &len);

And use this information to put the socket into the right silo
for optimal performance, as all networking stack should run
on the appropriate cpu, without need to send IPI (RPS/RFS).

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-11 13:00:06 -05:00
..
auxvec.h
bitsperlong.h
byteorder.h
chpid.h s390/chpid: make headers usable (again) 2012-10-18 17:50:07 +02:00
chsc.h s390/cio: Introduce on-close CHSC IOCTLs 2013-06-26 21:10:12 +02:00
cmb.h
dasd.h s390/dasd: Fail all requests when DASD_FLAG_ABORTIO is set 2013-07-01 17:31:26 +02:00
debug.h
errno.h
fcntl.h
hypfs.h s390/hypfs: add interface for diagnose 0x304 2014-01-24 09:40:59 +01:00
ioctl.h
ioctls.h
ipcbuf.h
Kbuild Linux 3.16-rc7 2014-07-28 10:00:33 +02:00
kvm.h KVM: s390: synchronize more registers with kvm_run 2014-08-25 14:35:53 +02:00
kvm_para.h s390,uapi: do not use uapi/asm-generic/kvm_para.h 2012-10-19 11:07:18 +02:00
kvm_perf.h perf kvm: Add stat support on s390 2014-07-16 17:57:33 -03:00
kvm_virtio.h
mman.h
monwriter.h
msgbuf.h
param.h
poll.h
posix_types.h
ptrace.h s390/ptrace: add support for PTRACE_SINGLEBLOCK 2014-03-14 12:59:38 +01:00
qeth.h
resource.h
schid.h
sclp_ctl.h s390/sclp: Add SCLP character device driver 2013-06-26 21:10:13 +02:00
sembuf.h
setup.h
shmbuf.h
sie.h KVM: s390: add ipte to trace event decoding 2014-07-21 13:22:47 +02:00
sigcontext.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
siginfo.h
signal.h unify SS_ONSTACK/SS_DISABLE definitions 2012-12-19 18:07:39 -05:00
socket.h net: introduce SO_INCOMING_CPU 2014-11-11 13:00:06 -05:00
sockios.h
stat.h
statfs.h s390/uapi: fix struct statfs64 definition 2014-01-22 14:02:18 +01:00
swab.h
tape390.h
termbits.h
termios.h
types.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
ucontext.h s390: add support for vector extension 2014-10-09 09:14:13 +02:00
unistd.h s390: wire up bpf syscall 2014-10-17 14:45:48 +02:00
virtio-ccw.h KVM: s390: Export virtio-ccw api. 2013-03-05 19:12:10 -03:00
vtoc.h
zcrypt.h s390/zcrypt: add support for EP11 coprocessor cards 2013-12-18 17:37:15 +01:00