<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/prog_tests/xdp_pull_data.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-01-25T00:51:22Z</updated>
<entry>
<title>selftests/bpf: Fix xdp_pull_data failure with 64K page</title>
<updated>2026-01-25T00:51:22Z</updated>
<author>
<name>Yonghong Song</name>
</author>
<published>2026-01-23T05:51:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7900f225a102219f5fe2c1c93a7dec5467315ee'/>
<id>urn:sha1:c7900f225a102219f5fe2c1c93a7dec5467315ee</id>
<content type='text'>
If the argument 'pull_len' of run_test() is 'PULL_MAX' or
'PULL_MAX | PULL_PLUS_ONE', the eventual pull_len size
will close to the page size. On arm64 systems with 64K pages,
the pull_len size will be close to 64K. But the existing buffer
will be close to 9000 which is not enough to pull.

For those failed run_tests(), make buff size to
  pg_sz + (pg_sz / 2)
This way, there will be enough buffer space to pull
regardless of page size.

Tested-by: Alan Maguire &lt;alan.maguire@oracle.com&gt;
Cc: Amery Hung &lt;ameryhung@gmail.com&gt;
Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;
Acked-by: Amery Hung &lt;ameryhung@gmail.com&gt;
Link: https://lore.kernel.org/r/20260123055128.495265-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/bpf: Test bpf_xdp_pull_data</title>
<updated>2025-09-23T20:35:12Z</updated>
<author>
<name>Amery Hung</name>
</author>
<published>2025-09-22T23:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=323302f54db92dc1c80ff5b114c20f19ec0adf81'/>
<id>urn:sha1:323302f54db92dc1c80ff5b114c20f19ec0adf81</id>
<content type='text'>
Test bpf_xdp_pull_data() with xdp packets with different layouts. The
xdp bpf program first checks if the layout is as expected. Then, it
calls bpf_xdp_pull_data(). Finally, it checks the 0xbb marker at offset
1024 using directly packet access.

Signed-off-by: Amery Hung &lt;ameryhung@gmail.com&gt;
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
Link: https://patch.msgid.link/20250922233356.3356453-8-ameryhung@gmail.com
</content>
</entry>
</feed>
