Thread (12 messages) 12 messages, 2 authors, 2024-07-01

Re: [PATCH v5 bpf-next 3/3] selftests/bpf: Add selftest for bpf_xdp_flow_lookup kfunc

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2024-07-01 08:07:18
Also in: bpf, netfilter-devel

On 6/29/24 10:11 PM, Lorenzo Bianconi wrote:
quoted
On 6/14/24 5:40 PM, Lorenzo Bianconi wrote:
[...]
quoted
+void test_xdp_flowtable(void)
+{
+	struct xdp_flowtable *skel = NULL;
+	struct nstoken *tok = NULL;
+	int iifindex, stats_fd;
+	__u32 value, key = 0;
+	struct bpf_link *link;
+
+	if (SYS_NOFAIL("nft -v")) {
+		fprintf(stdout, "Missing required nft tool\n");
+		test__skip();
+		return;
Bit unfortunate that upstream CI skips the test case at the moment:
yep, we are missing nft utility there.
Ok, not a blocker imho, but if you could work with Manu to get this
enabled in the CI, that would be great so that the test can actually
run.

Thanks,
Daniel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help