From d77a6c15ee9e899ceb7b46a6d7a4b2a267ef1b13 Mon Sep 17 00:00:00 2001 From: Anand B Jyoti Date: Fri, 12 May 2017 07:59:32 +0530 Subject: 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 --- VNFs/vFW/pipeline/pipeline_vfw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'VNFs/vFW') 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; -- cgit 1.2.3-korg