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

Daniel Borkmann
2024-07-01T08:07:18Z

On 6/29/24 10:11 PM, Lorenzo Bianconi wrote:
>> On 6/14/24 5:40 PM, Lorenzo Bianconi wrote:
>> [...]
>>> +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