linux_dsm_epyc7002/arch/s390/include/uapi/asm
Francis Yan 1c885808e4 tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING
This patch exports the sender chronograph stats via the socket
SO_TIMESTAMPING channel. Currently we can instrument how long a
particular application unit of data was queued in TCP by tracking
SOF_TIMESTAMPING_TX_SOFTWARE and SOF_TIMESTAMPING_TX_SCHED. Having
these sender chronograph stats exported simultaneously along with
these timestamps allow further breaking down the various sender
limitation.  For example, a video server can tell if a particular
chunk of video on a connection takes a long time to deliver because
TCP was experiencing small receive window. It is not possible to
tell before this patch without packet traces.

To prepare these stats, the user needs to set
SOF_TIMESTAMPING_OPT_STATS and SOF_TIMESTAMPING_OPT_TSONLY flags
while requesting other SOF_TIMESTAMPING TX timestamps. When the
timestamps are available in the error queue, the stats are returned
in a separate control message of type SCM_TIMESTAMPING_OPT_STATS,
in a list of TLVs (struct nlattr) of types: TCP_NLA_BUSY_TIME,
TCP_NLA_RWND_LIMITED, TCP_NLA_SNDBUF_LIMITED. Unit is microsecond.

Signed-off-by: Francis Yan <francisyyan@gmail.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-30 10:04:25 -05:00
..
auxvec.h s390: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO 2016-07-31 09:28:09 -04:00
bitsperlong.h
byteorder.h
chpid.h
chsc.h
clp.h s390/pci: add ioctl interface for CLP 2016-03-07 16:54:32 +01:00
cmb.h
dasd.h s390/dasd: Add new ioctl BIODASDCHECKFMT 2016-04-15 18:16:39 +02:00
debug.h
errno.h
fcntl.h
hypfs.h s390/hypfs: Add diagnose 0c support 2015-02-10 16:38:58 +01:00
ioctl.h
ioctls.h
ipcbuf.h
Kbuild s390: export header for CLP ioctl 2016-09-20 14:26:35 +02:00
kvm_para.h
kvm_perf.h
kvm_virtio.h
kvm.h KVM: s390: vsie: add indication for future features 2016-06-21 09:43:47 +02:00
mman.h
monwriter.h
msgbuf.h
param.h
poll.h
posix_types.h
ptrace.h s390/ptrace: clarify bits in the per_struct 2016-06-28 13:11:55 +02:00
qeth.h
resource.h
schid.h
sclp_ctl.h
sembuf.h
setup.h
shmbuf.h
sie.h KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
sigcontext.h
siginfo.h
signal.h
socket.h tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING 2016-11-30 10:04:25 -05:00
sockios.h
stat.h
statfs.h
swab.h
tape390.h
termbits.h
termios.h
types.h
ucontext.h
unistd.h s390: wire up preadv2/pwritev2 syscalls 2016-04-01 08:42:38 +02:00
virtio-ccw.h
vtoc.h
zcrypt.h