net/ionic: cut down queue structure
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_flow_db.h
index 10e69ba..62c9148 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2019 Broadcom
+ * Copyright(c) 2014-2021 Broadcom
  * All rights reserved.
  */
 
@@ -60,6 +60,8 @@ struct ulp_fdb_parent_info {
        uint64_t        pkt_count;
        uint64_t        byte_count;
        uint64_t        *child_fid_bitset;
+       uint32_t        f2_cnt;
+       uint8_t         tun_idx;
 };
 
 /* Structure to maintain parent-child flow relationships */
@@ -388,7 +390,8 @@ int32_t
 ulp_flow_db_parent_flow_count_get(struct bnxt_ulp_context *ulp_ctxt,
                                  uint32_t parent_fid,
                                  uint64_t *packet_count,
-                                 uint64_t *byte_count);
+                                 uint64_t *byte_count,
+                                 uint8_t count_reset);
 
 /*
  * reset the parent accumulation counters