event/dlb2: add v2.5 sequence number management
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_fc_mgr.c
index 734b419..3eddbd6 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2020 Broadcom
+ * Copyright(c) 2014-2021 Broadcom
  * All rights reserved.
  */
 
@@ -624,11 +624,10 @@ int ulp_fc_mgr_query_count_get(struct bnxt_ulp_context *ctxt,
                pthread_mutex_unlock(&ulp_fc_info->fc_lock);
        } else if (params.resource_sub_type ==
                        BNXT_ULP_RESOURCE_SUB_TYPE_INDEX_TYPE_INT_COUNT_ACC) {
-               /* Get the stats from the parent child table */
-               ulp_flow_db_parent_flow_count_get(ctxt,
-                                                 flow_id,
-                                                 &count->hits,
-                                                 &count->bytes);
+               /* Get stats from the parent child table */
+               ulp_flow_db_parent_flow_count_get(ctxt, flow_id,
+                                                 &count->hits, &count->bytes,
+                                                 count->reset);
                count->hits_set = 1;
                count->bytes_set = 1;
        } else {