net/hns3: fix Rx/Tx errors stats
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_flow_db.h
index 10e69ba..a2a04ce 100644 (file)
@@ -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