From: patchwork-bot+netdevbpf@kernel.org
To: Jordan Rife <jordan@jrife.io>
Cc: netdev@vger.kernel.org, bpf@vger.kernel.org,
daniel@iogearbox.net, martin.lau@linux.dev,
willemdebruijn.kernel@gmail.com, kuniyu@google.com,
alexei.starovoitov@gmail.com, stfomichev@gmail.com
Subject: Re: [PATCH v6 bpf-next 00/12] bpf: tcp: Exactly-once socket iteration
Date: Mon, 14 Jul 2025 22:30:21 +0000 [thread overview]
Message-ID: <175253222101.4006958.10212169466412631754.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250714180919.127192-1-jordan@jrife.io>
Hello:
This series was applied to bpf/bpf-next.git (net)
by Martin KaFai Lau <martin.lau@kernel.org>:
On Mon, 14 Jul 2025 11:09:04 -0700 you wrote:
> TCP socket iterators use iter->offset to track progress through a
> bucket, which is a measure of the number of matching sockets from the
> current bucket that have been seen or processed by the iterator. On
> subsequent iterations, if the current bucket has unprocessed items, we
> skip at least iter->offset matching items in the bucket before adding
> any remaining items to the next batch. However, iter->offset isn't
> always an accurate measure of "things already seen" when the underlying
> bucket changes between reads, which can lead to repeated or skipped
> sockets. Instead, this series remembers the cookies of the sockets we
> haven't seen yet in the current bucket and resumes from the first cookie
> in that list that we can find on the next iteration.
>
> [...]
Here is the summary with links:
- [v6,bpf-next,01/12] bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch
https://git.kernel.org/bpf/bpf-next/c/8271bec9fc1c
- [v6,bpf-next,02/12] bpf: tcp: Make sure iter->batch always contains a full bucket snapshot
https://git.kernel.org/bpf/bpf-next/c/cdec67a489d4
- [v6,bpf-next,03/12] bpf: tcp: Get rid of st_bucket_done
https://git.kernel.org/bpf/bpf-next/c/e25ab9b874a4
- [v6,bpf-next,04/12] bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items
https://git.kernel.org/bpf/bpf-next/c/efeb820951eb
- [v6,bpf-next,05/12] bpf: tcp: Avoid socket skips and repeats during iteration
https://git.kernel.org/bpf/bpf-next/c/f5080f612a1c
- [v6,bpf-next,06/12] selftests/bpf: Add tests for bucket resume logic in listening sockets
https://git.kernel.org/bpf/bpf-next/c/da1d987d3b39
- [v6,bpf-next,07/12] selftests/bpf: Allow for iteration over multiple ports
https://git.kernel.org/bpf/bpf-next/c/346066c3278f
- [v6,bpf-next,08/12] selftests/bpf: Allow for iteration over multiple states
https://git.kernel.org/bpf/bpf-next/c/f00468124a08
- [v6,bpf-next,09/12] selftests/bpf: Make ehash buckets configurable in socket iterator tests
(no matching commit)
- [v6,bpf-next,10/12] selftests/bpf: Create established sockets in socket iterator tests
(no matching commit)
- [v6,bpf-next,11/12] selftests/bpf: Create iter_tcp_destroy test program
https://git.kernel.org/bpf/bpf-next/c/8fc0c5a82d04
- [v6,bpf-next,12/12] selftests/bpf: Add tests for bucket resume logic in established sockets
https://git.kernel.org/bpf/bpf-next/c/f126f0ce7c83
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2025-07-14 22:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-14 18:09 [PATCH v6 bpf-next 00/12] bpf: tcp: Exactly-once socket iteration Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 01/12] bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 02/12] bpf: tcp: Make sure iter->batch always contains a full bucket snapshot Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 03/12] bpf: tcp: Get rid of st_bucket_done Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 04/12] bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 05/12] bpf: tcp: Avoid socket skips and repeats during iteration Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 06/12] selftests/bpf: Add tests for bucket resume logic in listening sockets Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 07/12] selftests/bpf: Allow for iteration over multiple ports Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 08/12] selftests/bpf: Allow for iteration over multiple states Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 09/12] selftests/bpf: Make ehash buckets configurable in socket iterator tests Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 10/12] selftests/bpf: Create established sockets " Jordan Rife
2025-07-14 22:29 ` Martin KaFai Lau
2025-07-14 18:09 ` [PATCH v6 bpf-next 11/12] selftests/bpf: Create iter_tcp_destroy test program Jordan Rife
2025-07-14 18:09 ` [PATCH v6 bpf-next 12/12] selftests/bpf: Add tests for bucket resume logic in established sockets Jordan Rife
2025-07-14 22:30 ` patchwork-bot+netdevbpf [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=175253222101.4006958.10212169466412631754.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=alexei.starovoitov@gmail.com \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=jordan@jrife.io \
--cc=kuniyu@google.com \
--cc=martin.lau@linux.dev \
--cc=netdev@vger.kernel.org \
--cc=stfomichev@gmail.com \
--cc=willemdebruijn.kernel@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.