]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'PROG_TEST_RUN support for sk_lookup programs'
authorAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 03:11:30 +0000 (19:11 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 03:11:30 +0000 (19:11 -0800)
commit93d4ea04301bd96f74e7915c7588cfc98fd799d2
tree84687bd50bbab7707d0fbace6e3b848e58ae031b
parent5a483dcbc4a0657f14d399c8f0bcdb41b7885fe6
parent2230a757b60dc84672ce50203e9cd7b3d14e46fb
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 <ast@kernel.org>