-
Notifications
You must be signed in to change notification settings - Fork 126
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
base: bpf-next_base
Are you sure you want to change the base?
Conversation
Upstream branch: 7042882 |
038d931
to
57dcc3a
Compare
Upstream branch: bd4319b |
9b6f360
to
52582d8
Compare
57dcc3a
to
d7a737b
Compare
Upstream branch: e0525cd |
52582d8
to
9626641
Compare
d7a737b
to
74bd319
Compare
Upstream branch: 63817c7 |
9626641
to
cc76140
Compare
74bd319
to
5ed7ad7
Compare
Upstream branch: 201b62c |
cc76140
to
89e0047
Compare
5ed7ad7
to
1be57b8
Compare
Upstream branch: 2398608 |
89e0047
to
81c31f0
Compare
1be57b8
to
75f3d6d
Compare
Upstream branch: 11ba7ce |
81c31f0
to
a667095
Compare
75f3d6d
to
f7ab861
Compare
Upstream branch: 236d391 |
a667095
to
666f340
Compare
f7ab861
to
9819511
Compare
Upstream branch: 1ffe30e |
666f340
to
61a0942
Compare
9819511
to
2f4a9ca
Compare
Upstream branch: f3f8649 |
74fe2e4
to
0f53d7e
Compare
e14a0d8
to
503edd4
Compare
Upstream branch: ae0a457 |
0f53d7e
to
1dabd47
Compare
7e623dc
to
156a3ac
Compare
Upstream branch: 6ca2162 |
1dabd47
to
114e8e7
Compare
156a3ac
to
50dba77
Compare
Upstream branch: a259804 |
114e8e7
to
09eb7c6
Compare
50dba77
to
ce294a5
Compare
Upstream branch: 79db658 |
09eb7c6
to
9e30897
Compare
ce294a5
to
e34fe93
Compare
Upstream branch: e16e64f |
9e30897
to
7b7bfaf
Compare
e34fe93
to
8c0b07b
Compare
Upstream branch: 51d6504 |
7b7bfaf
to
7a7b60a
Compare
Upstream branch: 51d6504 |
Add pkt_stream_replace_ifobject function to replace the packet stream for a given ifobject. Enable separate TX and RX packet replacement, allowing RX side packet length adjustments using bpf_xdp_adjust_tail() in the upcoming patch. Currently, pkt_stream_replace() works on both TX and RX packet streams, and this new function provides the ability to modify one of them. 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]>
7a7b60a
to
6d8da80
Compare
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