diff options
author | Eric Dumazet <edumazet@google.com> | 2019-02-28 15:17:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-01 23:08:30 -0800 |
commit | 677f136c6b88ac09a5b1c84dc4473e5901cf218b (patch) | |
tree | ee7160784b8e3eca7187baa41bc586debd9c7143 /Documentation/IRQ-domain.txt | |
parent | net: support 64bit values for setsockopt(SO_MAX_PACING_RATE) (diff) | |
download | linux-dev-677f136c6b88ac09a5b1c84dc4473e5901cf218b.tar.xz linux-dev-677f136c6b88ac09a5b1c84dc4473e5901cf218b.zip |
net: support 64bit rates for getsockopt(SO_MAX_PACING_RATE)
For legacy applications using 32bit variable, SO_MAX_PACING_RATE
has to cap the returned value to 0xFFFFFFFF, meaning that
rates above 34.35 Gbit are capped.
This patch allows applications to read socket pacing rate
at full resolution, if they provide a 64bit variable to store it,
and the kernel is 64bit.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/IRQ-domain.txt')
0 files changed, 0 insertions, 0 deletions