[dpdk-dev] [PATCH] config: set RTE_KNI_PREEMPT_DEFAULT in meson

Igor Ryzhov iryzhov at nfware.com
Tue Sep 17 21:11:04 CEST 2019


CCing Bruce, maintainer of the meson build system.

It's a simple patch to make meson behavior consistent with make behavior.

CONFIG_RTE_KNI_PREEMPT_DEFAULT is set to "y" in config/common_base,
so we need to set RTE_KNI_PREEMPT_DEFAULT to 1 in meson.

Best regards,
Igor

On Mon, Sep 16, 2019 at 1:08 PM Igor Ryzhov <iryzhov at nfware.com> wrote:

> Same behavior as in make build system.
>
> Signed-off-by: Igor Ryzhov <iryzhov at nfware.com>
> ---
>  config/rte_config.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/config/rte_config.h b/config/rte_config.h
> index 0bbbe274f..e6a35a170 100644
> --- a/config/rte_config.h
> +++ b/config/rte_config.h
> @@ -98,6 +98,9 @@
>  #define RTE_SCHED_PORT_N_GRINDERS 8
>  #undef RTE_SCHED_VECTOR
>
> +/* rte_kni defines */
> +#define RTE_KNI_PREEMPT_DEFAULT 1
> +
>  /****** driver defines ********/
>
>  /* QuickAssist device */
> --
> 2.23.0
>
>


More information about the dev mailing list