summaryrefslogtreecommitdiffstats
path: root/VNFs
diff options
context:
space:
mode:
authorAnand B Jyoti <anand.b.jyoti@intel.com>2017-05-12 07:59:32 +0530
committerAnand B Jyoti <anand.b.jyoti@intel.com>2017-05-12 07:59:32 +0530
commitd77a6c15ee9e899ceb7b46a6d7a4b2a267ef1b13 (patch)
tree76683f2a6c2e95a1a79ba0d156899494e16cb289 /VNFs
parentd285aad4646fa45d7efa4a4c04ae6a98df5d9ec8 (diff)
vFW: Clear the pkt drop count for unsupported type in clearstats cmd
JIRA: SAMPLEVNF-13 The packets drop counter of unsupported type was not cleared during clearstats command of the vFW. This patch adds the fix to clear the pkt_drop_unsupported_type at the clearstats cmd. Change-Id: I07d2c85a288efbc5e1fa6cee84c2ffe12e9673f4 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'VNFs')
-rw-r--r--VNFs/vFW/pipeline/pipeline_vfw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/VNFs/vFW/pipeline/pipeline_vfw.c b/VNFs/vFW/pipeline/pipeline_vfw.c
index 934e442a..f235bc59 100644
--- a/VNFs/vFW/pipeline/pipeline_vfw.c
+++ b/VNFs/vFW/pipeline/pipeline_vfw.c
@@ -2420,6 +2420,7 @@ static void cmd_vfw_clearstats_parsed(__attribute__ ((unused))
rte_vfw_counter_table[i].pkts_drop_ttl = 0;
rte_vfw_counter_table[i].pkts_drop_bad_size = 0;
rte_vfw_counter_table[i].pkts_drop_fragmented = 0;
+ rte_vfw_counter_table[i].pkts_drop_unsupported_type = 0;
rte_vfw_counter_table[i].pkts_drop_without_arp_entry = 0;
rte_vfw_counter_table[i].internal_time_sum = 0;
rte_vfw_counter_table[i].external_time_sum = 0;