From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Jakub Kicinski <kuba@kernel.org>, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.11/6.12] net_sched: sch_fq: don't follow the fast path if Tx is behind now
Date: Sat, 30 Nov 2024 20:10:31 -0500 [thread overview]
Message-ID: <20241130200339-8ab1b38516913b7c@stable.kernel.org> (raw)
In-Reply-To: <20241130175148.63765-1-kuba@kernel.org>
[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 122aba8c80618eca904490b1733af27fb8f07528
Status in newer kernel trees:
6.12.y | Not found
Note: The patch differs from the upstream commit:
---
1: 122aba8c80618 ! 1: 14d9d00a6b68f net_sched: sch_fq: don't follow the fast path if Tx is behind now
@@ Metadata
## Commit message ##
net_sched: sch_fq: don't follow the fast path if Tx is behind now
+ [ Upstream commit 122aba8c80618eca904490b1733af27fb8f07528 ]
+
Recent kernels cause a lot of TCP retransmissions
[ ID] Interval Transfer Bitrate Retr Cwnd
@@ Commit message
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20241124022148.3126719-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
+ [stable: drop the offload horizon, it's not supported / 0]
+ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
## net/sched/sch_fq.c ##
@@ net/sched/sch_fq.c: static bool fq_fastpath_check(const struct Qdisc *sch, struct sk_buff *skb,
@@ net/sched/sch_fq.c: static bool fq_fastpath_check(const struct Qdisc *sch, struc
+ /* Ordering invariants fall apart if some delayed flows
+ * are ready but we haven't serviced them, yet.
+ */
-+ if (q->time_next_delayed_flow <= now + q->offload_horizon)
++ if (q->time_next_delayed_flow <= now)
+ return false;
}
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.12.y | Success | Success |
| stable/linux-6.11.y | Success | Success |
prev parent reply other threads:[~2024-12-01 1:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 17:51 [PATCH 6.11/6.12] net_sched: sch_fq: don't follow the fast path if Tx is behind now Jakub Kicinski
2024-12-01 1:10 ` Sasha Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241130200339-8ab1b38516913b7c@stable.kernel.org \
--to=sashal@kernel.org \
--cc=kuba@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox