linux_dsm_epyc7002/arch/sparc/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
..
apc.h
asi.h sparc64: Fix incorrect ASI_ST_BLKINIT_MRU_S value 2015-08-07 15:22:20 -07:00
auxvec.h
bitsperlong.h
byteorder.h
display7seg.h
envctrl.h
errno.h errno.h: remove "NFS" from descriptions in comments 2013-11-13 12:09:12 +09:00
fbio.h
fcntl.h Safer ABI for O_TMPFILE 2013-07-13 13:26:37 +04:00
ioctl.h
ioctls.h sparc/uapi: Add definition of TIOC[SG]RS485 2014-09-09 22:36:40 -07:00
ipcbuf.h
jsflash.h
Kbuild sparc: use asm-generic version of types.h 2013-03-31 19:29:13 -04:00
kvm_para.h
mman.h mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage 2015-11-05 19:34:48 -08:00
msgbuf.h
openpromio.h
param.h
perfctr.h
poll.h
posix_types.h
psr.h
psrcompat.h
pstate.h treewide: Fix typo compatability -> compatibility 2015-08-07 14:01:39 +02:00
ptrace.h
resource.h
sembuf.h
setup.h
shmbuf.h
sigcontext.h UAPI: Make arch/sparc/include/uapi/asm/sigcontext.h non-empty 2012-10-17 12:32:35 +01:00
siginfo.h
signal.h sparc: switch to use of generic old sigaction 2013-02-03 22:43:35 -05:00
socket.h tcp: SOF_TIMESTAMPING_OPT_STATS option for SO_TIMESTAMPING 2016-11-30 10:04:25 -05:00
sockios.h
stat.h sparc: Convert naked unsigned uses to unsigned int 2016-03-20 21:28:58 -07:00
statfs.h
swab.h sparc64: Fix constraints on swab helpers. 2014-11-16 13:19:32 -08:00
termbits.h
termios.h
traps.h
uctx.h
unistd.h sparc: Write up preadv2/pwritev2 syscalls. 2016-03-29 18:39:26 -07:00
utrap.h
watchdog.h