Hello Bruce,
On Wed, Oct 5, 2022 at 4:35 PM Bruce Richardson
<[email protected]> wrote:
> diff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build
> index 2acc989694..2deb2c4166 100644
> --- a/drivers/net/kni/meson.build
> +++ b/drivers/net/kni/meson.build
> @@ -6,6 +6,11 @@ if is_windows
> reason = 'not supported on Windows'
> subdir_done()
> endif
> +if not dpdk_conf.has('kni')
I think it should be:
if not dpdk_conf.has('RTE_LIB_KNI')
And to reply to your recent comment, I don't think we need to update
this driver documentation.
The meson log is enough to figure out why net/kni is disabled.
> + build = false
> + reason = 'needs deprecated lib, "kni"'
> + subdir_done()
> +endif
>
> deps += 'kni'
> sources = files('rte_eth_kni.c')
--
David Marchand