From: Alexei Starovoitov Date: Fri, 5 Mar 2021 03:11:30 +0000 (-0800) Subject: Merge branch 'PROG_TEST_RUN support for sk_lookup programs' X-Git-Tag: accepted/tizen/unified/20230118.172025~7335^2~619^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0d3df486fcfb08810915c5fa95692cd8ec79298;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'PROG_TEST_RUN support for sk_lookup programs' Lorenz Bauer says: ==================== We don't have PROG_TEST_RUN support for sk_lookup programs at the moment. So far this hasn't been a problem, since we can run our tests in a separate network namespace. For benchmarking it's nice to have PROG_TEST_RUN, so I've gone and implemented it. Based on discussion on the v1 I've dropped support for testing multiple programs at once. Changes since v3: - Use bpf_test_timer prefix (Andrii) Changes since v2: - Fix test_verifier failure (Alexei) Changes since v1: - Add sparse annotations to the t_* functions - Add appropriate type casts in bpf_prog_test_run_sk_lookup - Drop running multiple programs ==================== Signed-off-by: Alexei Starovoitov --- b0d3df486fcfb08810915c5fa95692cd8ec79298