We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06d70e commit bbd885bCopy full SHA for bbd885b
tools/testing/selftests/drivers/net/xdp.py
@@ -358,7 +358,10 @@ def test_xdp_native_tx_mb(cfg):
358
"""
359
bpf_info = BPFProgInfo("xdp_prog_frags", "xdp_native.bpf.o",
360
"xdp.frags", 9000)
361
- _test_xdp_native_tx(cfg, bpf_info, [8000])
+ # The first packet ensures we exercise the fragmented code path.
362
+ # And the subsequent 0-sized packet ensures the driver
363
+ # reinitializes xdp_buff correctly.
364
+ _test_xdp_native_tx(cfg, bpf_info, [8000, 0])
365
366
367
def _validate_res(res, offset_lst, pkt_sz_lst):
0 commit comments