From 8f3b4da193b5f2050c06ca57eb09e32439901c5b Mon Sep 17 00:00:00 2001 From: Anand B Jyoti Date: Wed, 11 Oct 2017 10:39:51 +0530 Subject: arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored JIRA: SAMPLEVNF-86 Due to this KW fix the arp pipeline is rejecting the commands greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl which can is becoming bigger in case of multi port setup. This patch undo the KW fix which is causing issue with longer parameters under ARPICMP pipeline. Change-Id: I7bd7124118f531aa70d0fddd75a8ae693455d361 Signed-off-by: Anand B Jyoti --- common/VIL/l2l3_stack/lib_arp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/VIL/l2l3_stack/lib_arp.c b/common/VIL/l2l3_stack/lib_arp.c index 39a740dd..5d78d9ba 100644 --- a/common/VIL/l2l3_stack/lib_arp.c +++ b/common/VIL/l2l3_stack/lib_arp.c @@ -2124,11 +2124,6 @@ static int arp_parse_args(struct pipeline_params *params) RTE_SET_USED(arp_route_tbl_present); for (numArg = 0; numArg < params->n_args; numArg++) { - if(strlen(params->args_value[numArg]) > PIPELINE_MAX_ARGS) { - /* KW Fix */ - printf("WARNING: Non-Null terminated Parameter not processed\n"); - continue; - } char *arg_name = params->args_name[numArg]; char *arg_value = params->args_value[numArg]; -- cgit 1.2.3-korg