]> 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)
commit6a19f9f571091759d7b5f94d7aab037defbd0fe9
tree84687bd50bbab7707d0fbace6e3b848e58ae031b
parentda8ab658ef2c4e4afe08e9b588b674254c5b60a9
parentb7f1ce9671218aa080209e2583dee15f54aab0e0
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>