diff options
author | Eric Dumazet <edumazet@google.com> | 2017-12-12 09:34:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 15:10:57 -0500 |
commit | c9f1f58dc2eba550f208809d272bf0b14f41edba (patch) | |
tree | 4c494f3f92e9a221d159f298800e5a88437c7fad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb7935830d00b9e0c4ca11382143ea2320eb45c2 (diff) |
net: sk_pacing_shift_update() helper
In commit 3a9b76fd0db9 ("tcp: allow drivers to tweak TSQ logic")
I gave a code sample to set sk->sk_pacing_shift that was not complete.
Better add a helper that can be used by drivers without worries,
and maybe amended in the future.
A wifi driver might use it from its ndo_start_xmit()
Following call would setup TCP to allow up to ~8ms of queued data per
flow.
sk_pacing_shift_update(skb->sk, 7);
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions