android_kernel_google_msm/arch/frv/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 FRV 2012-03-28 18:30:02 +01:00
auxvec.h
ax88796.h
barrier.h Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
bitops.h
bitsperlong.h
bug.h Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
cpu-irqs.h
cpumask.h
cputime.h
current.h
delay.h
device.h
div64.h
dm9000.h
dma-mapping.h
dma.h
elf.h
emergency-restart.h
errno.h
exec.h Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
fb.h
fcntl.h
fpu.h
ftrace.h
futex.h
gdb-stub.h
gpio-regs.h
hardirq.h
highmem.h highmem: kill all __kmap_atomic() 2012-03-20 21:48:30 +08:00
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irc-regs.h
irq.h
irq_regs.h
irqflags.h
Kbuild
kdebug.h
kmap_types.h
linkage.h
local.h
local64.h
math-emu.h
mb-regs.h
mb86943a.h
mb93091-fpga-irqs.h
mb93093-fpga-irqs.h
mb93493-irqs.h
mb93493-regs.h
mc146818rtc.h
mem-layout.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
page.h
param.h
pci.h
percpu.h
perf_event.h
pgalloc.h
pgtable.h
poll.h
posix_types.h frv: Use generic posix_types.h 2012-02-14 12:01:28 -08:00
processor.h frv: delete incorrect task prototypes causing compile fail 2012-05-17 18:00:51 -07:00
ptrace.h
registers.h
resource.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h net: introduce SO_MAX_PACING_RATE 2020-11-30 19:31:32 +03:00
sockios.h
spinlock.h
spr-regs.h
stat.h
statfs.h
string.h
swab.h
switch_to.h Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
syscall.h
termbits.h
termios.h
thread_info.h frv: Use core allocator for task_struct 2013-08-20 08:26:28 -07:00
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
virtconvert.h
xor.h