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/pipeline_be.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'common/vnf_common/pipeline_be.h') diff --git a/common/vnf_common/pipeline_be.h b/common/vnf_common/pipeline_be.h index 006a415e..fad6b25f 100644 --- a/common/vnf_common/pipeline_be.h +++ b/common/vnf_common/pipeline_be.h @@ -183,31 +183,31 @@ pipeline_port_out_params_get_ops(struct pipeline_port_out_params *p) } #ifndef PIPELINE_NAME_SIZE -#define PIPELINE_NAME_SIZE 32 +#define PIPELINE_NAME_SIZE 64 #endif #ifndef PIPELINE_MAX_PORT_IN -#define PIPELINE_MAX_PORT_IN 16 +#define PIPELINE_MAX_PORT_IN 64 #endif #ifndef PIPELINE_MAX_PORT_OUT -#define PIPELINE_MAX_PORT_OUT 16 +#define PIPELINE_MAX_PORT_OUT 64 #endif #ifndef PIPELINE_MAX_TABLES -#define PIPELINE_MAX_TABLES 16 +#define PIPELINE_MAX_TABLES 64 #endif #ifndef PIPELINE_MAX_MSGQ_IN -#define PIPELINE_MAX_MSGQ_IN 16 +#define PIPELINE_MAX_MSGQ_IN 64 #endif #ifndef PIPELINE_MAX_MSGQ_OUT -#define PIPELINE_MAX_MSGQ_OUT 16 +#define PIPELINE_MAX_MSGQ_OUT 64 #endif #ifndef PIPELINE_MAX_ARGS -#define PIPELINE_MAX_ARGS 32 +#define PIPELINE_MAX_ARGS 64 #endif struct pipeline_params { -- cgit 1.2.3-korg