android_kernel_google_msm/arch/h8300/include/asm
Eric Dumazet adc3caedd0 net: introduce SO_MAX_PACING_RATE
As mentioned in commit afe4fd0624 ("pkt_sched: fq: Fair Queue packet
scheduler"), this patch adds a new socket option.

SO_MAX_PACING_RATE offers the application the ability to cap the
rate computed by transport layer. Value is in bytes per second.

u32 val = 1000000;
setsockopt(sockfd, SOL_SOCKET, SO_MAX_PACING_RATE, &val, sizeof(val));

To be effectively paced, a flow must use FQ packet scheduler.

Note that a packet scheduler takes into account the headers for its
computations. The effective payload rate depends on MSS and retransmits
if any.

I chose to make this pacing rate a SOL_SOCKET option instead of a
TCP one because this can be used by other protocols.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Steinar H. Gunderson <sesse@google.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: Iea51b6104a5420d5c9ed1ea7382cbd53bdb8f4be
2020-11-30 19:31:32 +03:00
..
asm-offsets.h
atomic.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
auxvec.h
barrier.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
bitops.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
bitsperlong.h
bootinfo.h
bug.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
checksum.h
cmpxchg.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
cputime.h
current.h
dbg.h
delay.h
device.h
div64.h
dma.h
elf.h
emergency-restart.h
errno.h
exec.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
fb.h
fcntl.h
flat.h
fpu.h
ftrace.h
futex.h
gpio-internal.h
hardirq.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h consolidate a bunch of ipcbuf.h instances 2012-01-03 22:55:18 -05:00
irq.h
irq_regs.h
irqflags.h
Kbuild
kdebug.h
kmap_types.h
linkage.h
local.h
local64.h
mc146818rtc.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
page.h
page_offset.h
param.h
pci.h PCI: Pull PCI 'latency timer' setup up into the core 2012-01-06 12:10:42 -08:00
percpu.h
pgalloc.h
pgtable.h
poll.h
posix_types.h h8300: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
processor.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
ptrace.h
regs267x.h
regs306x.h
resource.h
scatterlist.h
sections.h
segment.h
sembuf.h
setup.h
sh_bios.h
shm.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h signal: Define __ARCH_HAS_SA_RESTORER so we know whether to clear sa_restorer 2013-04-05 10:04:14 -07:00
smp.h
socket.h net: introduce SO_MAX_PACING_RATE 2020-11-30 19:31:32 +03:00
sockios.h
spinlock.h
stat.h
statfs.h
string.h
swab.h
switch_to.h Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
target_time.h
termbits.h
termios.h
thread_info.h freezer: remove now unused TIF_FREEZE 2011-11-21 12:32:25 -08:00
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h consolidate umode_t declarations 2012-01-03 22:55:17 -05:00
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
virtconvert.h