bpf: Start using the BPF dispatcher in BPF_TEST_RUN
authorBjörn Töpel <bjorn.topel@intel.com>
Fri, 13 Dec 2019 17:51:10 +0000 (18:51 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Dec 2019 21:09:32 +0000 (13:09 -0800)
commitf23c4b3924d2e9382820ee677b68d42d5dd7b08b
treee0d46c0448b1a61d1c468bbabdfdbfd0e4bc7e35
parent7e6897f95935973c3253fd756135b5ea58043dc8
bpf: Start using the BPF dispatcher in BPF_TEST_RUN

In order to properly exercise the BPF dispatcher, this commit adds BPF
dispatcher usage to BPF_TEST_RUN when executing XDP programs.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191213175112.30208-5-bjorn.topel@gmail.com
net/bpf/test_run.c