bpf:tests:lb: add E/W fragment tests to tc_nodeport_lb{4,6}_fragments#45055
Open
smagnani96 wants to merge 2 commits intomainfrom
Open
bpf:tests:lb: add E/W fragment tests to tc_nodeport_lb{4,6}_fragments#45055smagnani96 wants to merge 2 commits intomainfrom
smagnani96 wants to merge 2 commits intomainfrom
Conversation
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>
Contributor
Author
|
/test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).