From 10745be7adb099f559ba1b00b8d97fda59f75d62 Mon Sep 17 00:00:00 2001 From: Deepak S Date: Wed, 31 May 2017 12:56:50 +0000 Subject: [SAMPLEVNF] Adding support to handle more than 16 ports This patch extends num_ports vnf can handle ports > 16 . This include changes in the memory allocatiion and size of different paramters Change-Id: Id8907327023ba863ad107bb874cfb60bd38daee5 Signed-off-by: Deepak S --- common/vnf_common/app.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/vnf_common/app.h') diff --git a/common/vnf_common/app.h b/common/vnf_common/app.h index 2af62f11..51c40c97 100644 --- a/common/vnf_common/app.h +++ b/common/vnf_common/app.h @@ -33,7 +33,7 @@ #include "pipeline.h" #define APP_PARAM_NAME_SIZE PIPELINE_NAME_SIZE -#define APP_LINK_PCI_BDF_SIZE 16 +#define APP_LINK_PCI_BDF_SIZE 32 struct app_link_params *fdir_p_link; struct app_mempool_params { char *name; @@ -234,7 +234,7 @@ struct app_thread_pipeline_data { }; #ifndef APP_MAX_THREAD_PIPELINES -#define APP_MAX_THREAD_PIPELINES 16 +#define APP_MAX_THREAD_PIPELINES 32 #endif #ifndef APP_THREAD_TIMER_PERIOD @@ -262,7 +262,7 @@ struct app_thread_data { }; #ifndef APP_MAX_LINKS -#define APP_MAX_LINKS 16 +#define APP_MAX_LINKS 32 #endif struct app_eal_params { @@ -386,11 +386,11 @@ struct app_eal_params { #define APP_MAX_PKTQ_TM APP_MAX_LINKS #ifndef APP_MAX_PKTQ_SOURCE -#define APP_MAX_PKTQ_SOURCE 16 +#define APP_MAX_PKTQ_SOURCE 32 #endif #ifndef APP_MAX_PKTQ_SINK -#define APP_MAX_PKTQ_SINK 16 +#define APP_MAX_PKTQ_SINK 32 #endif #ifndef APP_MAX_MSGQ -- cgit 1.2.3-korg