arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored 85/44785/4
authorAnand B Jyoti <anand.b.jyoti@intel.com>
Wed, 11 Oct 2017 05:09:51 +0000 (10:39 +0530)
committerAnand B Jyoti <anand.b.jyoti@intel.com>
Thu, 12 Oct 2017 01:45:37 +0000 (07:15 +0530)
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: I96ba3882b5fecc6ac2f7b75f11a63083b847bba5
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
common/VIL/l2l3_stack/lib_arp.c

index 39a740d..5d78d9b 100644 (file)
@@ -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];