diff options
| author | Wei Wang <weibunny@fb.com> | 2026-06-09 02:31:13 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-13 04:31:33 +0300 |
| commit | b9d51f2e133cd70c4f685c10cb9d029f83027595 (patch) | |
| tree | ec58b3fbc84d737595e3a0ddfe42721a6b1a6616 /tools/lib/python/kdoc/python_version.py | |
| parent | 89ed478a6c90ac53476ab60609ef5bc3b8b8e3f8 (diff) | |
| download | linux-b9d51f2e133cd70c4f685c10cb9d029f83027595.tar.xz | |
selftests/net: add _find_bpf_obj() to search hw/ for BPF objects
Add _find_bpf_obj() helper to NetDrvContEnv that searches the test
directory first, then falls back to the hw/ subdirectory. This allows
tests outside drivers/net/hw/ (e.g. psp.py in drivers/net/) to find
BPF objects built in the hw/ directory.
Update _attach_bpf() and _attach_primary_rx_redirect_bpf() to use
_find_bpf_obj() for BPF object discovery.
Signed-off-by: Wei Wang <weibunny@fb.com>
Link: https://patch.msgid.link/20260608233118.2694144-6-weibunny.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
