Re: [PATCH bpf-next v2 3/6] selftests/bpf: move open_tuntap to network helpers

From
Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date
2025-02-18 01:50:37
Also in
bpf, linux-kselftest, lkml
Reply to
Marcus Wichelmann, 2025-02-17
Marcus Wichelmann wrote:
To test the XDP metadata functionality of the tun driver, it's necessary
to create a new tap device first. A helper function for this already
exists in lwt_helpers.h. Move it to the common network helpers header,
so it can be reused in other tests.

Signed-off-by: Marcus Wichelmann <redacted>
Reviewed-by: Willem de Bruijn <willemb@google.com>

Both tests that include lwt_helpers.h also include network_helpers.h,
so the linking with network_helpers.o is already addressed. This was
not entirely obvious from just reading the code.
Thread (16 messages) 16 messages, 3 authors, last reply 2025-02-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help