[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166367881574.10144.3048644265262767799.git-patchwork-notify@kernel.org>
Date: Tue, 20 Sep 2022 13:00:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, cong.wang@...edance.com,
peilin.ye@...edance.com, john.fastabend@...il.com,
jakub@...udflare.com, edumazet@...gle.com
Subject: Re: [Patch net] tcp: read multiple skbs in tcp_read_skb()
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 12 Sep 2022 10:35:53 -0700 you wrote:
> From: Cong Wang <cong.wang@...edance.com>
>
> Before we switched to ->read_skb(), ->read_sock() was passed with
> desc.count=1, which technically indicates we only read one skb per
> ->sk_data_ready() call. However, for TCP, this is not true.
>
> TCP at least has sk_rcvlowat which intentionally holds skb's in
> receive queue until this watermark is reached. This means when
> ->sk_data_ready() is invoked there could be multiple skb's in the
> queue, therefore we have to read multiple skbs in tcp_read_skb()
> instead of one.
>
> [...]
Here is the summary with links:
- [net] tcp: read multiple skbs in tcp_read_skb()
https://git.kernel.org/netdev/net/c/db4192a754eb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists