Skip to content

bpf:tests:lb: add E/W fragment tests to tc_nodeport_lb{4,6}_fragments#45055

Open
smagnani96 wants to merge 2 commits intomainfrom
pr/smagnani96/ginkgo-3-1
Open

bpf:tests:lb: add E/W fragment tests to tc_nodeport_lb{4,6}_fragments#45055
smagnani96 wants to merge 2 commits intomainfrom
pr/smagnani96/ginkgo-3-1

Conversation

@smagnani96
Copy link
Copy Markdown
Contributor

In #44271, we moved the Ginkgo tests into BPF unit tests.
However, we tested only the North/South path (netdev).
This PR adds the East/West LB case when ENABLE_PER_PACKET_LB is defined (bpf_lxc).

These tests were introduced in #44271,
where we migrated the Ginkgo test into BPF unit test.
However, as noted in the PR comments, the Ginkgo tests were mainly testing
the East/West scenario rather than the North/South.

This commits renames then the introduced tests to north/south, and refactors
a bit their infra to accommodate for east/west tests introduced in the
follow-up commit.

Signed-off-by: Simone Magnani <simone.magnani@isovalent.com>
This commit introduces East/West tests for both IPv4 and IPv6 fragments
in the tc_nodeport_lb test suite. They specifically make sure that when
ENABLE_PER_PACKET_LB is enabled, the load balancer correctly handles
fragments from bpf_lxc. These tests are complementary of the previous commit,
where we refactored the North/South tests for this codepath (netdev).

Signed-off-by: Simone Magnani <simone.magnani@isovalent.com>
@smagnani96 smagnani96 self-assigned this Mar 30, 2026
@smagnani96 smagnani96 added kind/enhancement This would improve or streamline existing functionality. area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. ci/hyperjump Relates to 2022 test improvement initiative. labels Mar 30, 2026
@smagnani96
Copy link
Copy Markdown
Contributor Author

/test

@smagnani96 smagnani96 marked this pull request as ready for review March 31, 2026 16:31
@smagnani96 smagnani96 requested a review from a team as a code owner March 31, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/CI Continuous Integration testing issue or flake ci/hyperjump Relates to 2022 test improvement initiative. kind/enhancement This would improve or streamline existing functionality. release-note/ci This PR makes changes to the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants