aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-02-28 15:17:28 -0800
committerDavid S. Miller <davem@davemloft.net>2019-03-01 23:08:30 -0800
commit677f136c6b88ac09a5b1c84dc4473e5901cf218b (patch)
treeee7160784b8e3eca7187baa41bc586debd9c7143 /tools
parentnet: support 64bit values for setsockopt(SO_MAX_PACING_RATE) (diff)
downloadlinux-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 'tools')
0 files changed, 0 insertions, 0 deletions