[PATCH 6/6] tools/testing/selftests: add sample nvme bpf path selector
Hannes Reinecke
hare at suse.de
Tue Jul 29 22:56:40 PDT 2025
On 7/30/25 04:03, Geliang Tang wrote:
> Hi Hannes,
>
> I tried to compile this BPF program, but got a compilation error. To
> fix it, NVME_BPF and its dependencies need to be enabled in
> tools/testing/selftests/bpf/config:
>
> +++ b/tools/testing/selftests/bpf/config
> @@ -121,3 +121,8 @@ CONFIG_XDP_SOCKETS=y
> CONFIG_XFRM_INTERFACE=y
> CONFIG_TCP_CONG_DCTCP=y
> CONFIG_TCP_CONG_BBR=y
> +CONFIG_NVME_CORE=y
> +CONFIG_NVME_FABRICS=y
> +CONFIG_NVME_TCP=y
> +CONFIG_NVME_MULTIPATH=y
> +CONFIG_NVME_BPF=y
>
Yeah; that's correct.
Thanks for that.
That's one thing I forgot to mention: currently one has to compile in
NVME_CORE and NVME_BPF; one will get linking errors otherwise.
Will see if I can fix it up.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list