diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-05-31 12:56:50 +0000 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-06-01 04:05:36 +0000 |
commit | 10745be7adb099f559ba1b00b8d97fda59f75d62 (patch) | |
tree | f8c26c055971d05eb25ecda6001e1177c2bd12e9 /common/vnf_common/app.h | |
parent | 71918b6858fbaf5745fe088403e4c9851af66046 (diff) |
[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 <deepak.s@linux.intel.com>
Diffstat (limited to 'common/vnf_common/app.h')
-rw-r--r-- | common/vnf_common/app.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 |