]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Add strparser test for bpf
authorJiayuan Chen <mrpre@163.com>
Wed, 22 Jan 2025 10:09:17 +0000 (18:09 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 29 Jan 2025 21:32:48 +0000 (13:32 -0800)
commit6fcfe96e0f6e9bebe1b185f1548a9a8cb1b68dea
treef01b165541b84bf465130e3e20902b031391fe37
parenta0c11149509aa905aeec10cf9998091443472b0b
selftests/bpf: Add strparser test for bpf

Add test cases for bpf + strparser and separated them from
sockmap_basic, as strparser has more encapsulation and parsing
capabilities compared to standard sockmap.

Signed-off-by: Jiayuan Chen <mrpre@163.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://patch.msgid.link/20250122100917.49845-6-mrpre@163.com
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
tools/testing/selftests/bpf/prog_tests/sockmap_strp.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_sockmap_strp.c [new file with mode: 0644]