Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selftests/xsk: Add tests for XDP tail adjustment in AF_XDP #8525

Open
wants to merge 2 commits into
base: bpf-next_base
Choose a base branch
from

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: selftests/xsk: Add tests for XDP tail adjustment in AF_XDP
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 7042882
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: bd4319b
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: e0525cd
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 63817c7
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 201b62c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 2398608
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 11ba7ce
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 236d391
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 1ffe30e
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=935912
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 122f1fd
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 7586e21
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 7586e21
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 7586e21
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: ad55432
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: ad55432
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: c6287f1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

tvyavaha added 2 commits March 4, 2025 11:26
Add pkt_stream_replace_ifobject function to replace the packet stream for
a given ifobject.

Signed-off-by: Tushar Vyavahare <[email protected]>
Introduce tail adjustment functionality in xskxceiver using
bpf_xdp_adjust_tail(). Add `xsk_xdp_adjust_tail` to modify packet sizes
and drop unmodified packets. Implement `is_adjust_tail_supported` to check
helper availability. Develop packet resizing tests, including shrinking
and growing scenarios, with functions for both single-buffer and
multi-buffer cases. Update the test framework to handle various scenarios
and adjust MTU settings. These changes enhance the testing of packet tail
adjustments, improving AF_XDP framework reliability.

Signed-off-by: Tushar Vyavahare <[email protected]>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: c6287f1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=938577
version: 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant