Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/xsk: Add packet resizing tests with bpf_xdp_adjust_tail for…
… AF_XDP Add packet resizing tests using the bpf_xdp_adjust_tail()function within the AF_XDP framework. Implement testapp_adjust_tail_common() to handle common logic for packet resizing tests, streamlining the testing process. Allow setting MTU to MAX_ETH_JUMBO_SIZE for specific tests. Implement testapp_adjust_tail_shrink() and testapp_adjust_tail_shrink_mb() to test shrinking packets, including multi-buffer scenarios, under AF_XDP. Implement testapp_adjust_tail_grow() and testapp_adjust_tail_grow_mb() to test growing packets within the AF_XDP context, utilizing the common logic function for consistency and efficiency. Signed-off-by: Tushar Vyavahare <[email protected]>
- Loading branch information