]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/tf_ulp/ulp_flow_db.h
net/hns3: fix Rx/Tx errors stats
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_flow_db.h
index 10e69bae4509200b2726013bbc64062b4172957d..a2a04cef42f601e51b1d04aa8979e9788e1ac6ab 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