On 7/19/2017 10:51 AM, Thomas Monjalon wrote:
17/07/2017 11:41, Hemant Agrawal:
--- a/examples/load_balancer/main.h
+++ b/examples/load_balancer/main.h
#ifndef APP_MAX_IO_LCORES
+#if (APP_MAX_LCORES > 16)
#define APP_MAX_IO_LCORES 16
+#else
+#define APP_MAX_IO_LCORES APP_MAX_LCORES
#endif
-#i
17/07/2017 11:41, Hemant Agrawal:
> --- a/examples/load_balancer/main.h
> +++ b/examples/load_balancer/main.h
> #ifndef APP_MAX_IO_LCORES
> +#if (APP_MAX_LCORES > 16)
> #define APP_MAX_IO_LCORES 16
> +#else
> +#define APP_MAX_IO_LCORES APP_MAX_LCORES
> #endif
> -#if (APP_MAX_IO_LCORES > APP_MAX_
load_balancer app can also work for lower number of cores.
Limit the cores Worker and IO cores to 16 as defined in original
App. Otherwise use the actual number of lcores as MAX.
Signed-off-by: Hemant Agrawal
---
examples/load_balancer/main.h | 10 ++
1 file changed, 6 insertions(+), 4 d
3 matches
Mail list logo