summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2026-05-26 16:40:37 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-28 04:41:19 +0300
commitfabcf8cad67b4e2aa51b4c3f79f26fd215b50c8c (patch)
tree228d5a5c345dbccf7ebae918d88a38c9ae5eb9a0 /include
parent56edbedb74ac8c99ef693a344cb8834885d4bdac (diff)
downloadlinux-fabcf8cad67b4e2aa51b4c3f79f26fd215b50c8c.tar.xz
net: sch_fq: update flow delivery time on earlier EDT packet
When inserting an EDT packet with time before flow->time_next_packet, update the flow and possibly queue next delivery time. Reinsert the flow into the q->delayed rb-tree to position correctly and to have fq_check_throttled set wake-up at the right next time. Factor RB tree insertion out fq_flow_set_throttled to avoid open coding twice. EDT packets do not take precedence over queue rate limit. Skip this new step if a queue limit is set. EDT packets do take precedence over per-socket rate limits, as can be seen from fq_dequeue reading sk_pacing_rate if !skb->tstamp. With this change the so_txtime selftest sends packets in the expected order. Signed-off-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260526134109.2624493-1-willemdebruijn.kernel@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions