diff options
author | Eric Dumazet <edumazet@google.com> | 2019-05-05 01:48:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 21:09:25 +0200 |
commit | eeb84aa0d0aff3177c93397cdc62be87e54af486 (patch) | |
tree | ed22c52332a43bf00163d64687221b01379dfefb /drivers | |
parent | Merge branch 'hns3-next' (diff) | |
download | linux-eeb84aa0d0aff3177c93397cdc62be87e54af486.tar.xz linux-eeb84aa0d0aff3177c93397cdc62be87e54af486.zip |
net_sched: sch_fq: do not assume EDT packets are ordered
TCP stack makes sure packets for a given flow are monotically
increasing, but we want to allow UDP packets to use EDT as
well, so that QUIC servers can use in-kernel pacing.
This patch adds a per-flow rb-tree on which packets might
be stored. We still try to use the linear list for the
typical cases where packets are queued with monotically
increasing skb->tstamp, since queue/dequeue packets on
a standard list is O(1).
Note that the ability to store packets in arbitrary EDT
order will allow us to implement later a per TCP socket
mechanism adding delays (with jitter eventually) and reorders,
to implement convenient network emulators.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions