[dpdk-dev] [dpdk-stable] [PATCH v2] examples/qos_sched: fix core limit for lower num of lcore

Thomas Monjalon thomas at monjalon.net
Wed Jul 19 07:24:37 CEST 2017


17/07/2017 11:37, Hemant Agrawal:
> --- a/examples/qos_sched/main.h
> +++ b/examples/qos_sched/main.h
> @@ -69,8 +69,13 @@ extern "C" {
>  #define BURST_TX_DRAIN_US 100
>  
>  #ifndef APP_MAX_LCORE
> +#if (APP_MAX_LCORE > 64)
>  #define APP_MAX_LCORE 64

If APP_MAX_LCORE is not defined, it cannot be > 64, right?
Or what am I missing?

> +#else
> +#define APP_MAX_LCORE RTE_MAX_LCORE
> +#endif
>  #endif




More information about the dev mailing list