Document that mirroring to a GRE tunnel works and is better than RSPAN.
[openvswitch] / lib / dpif-netdev.c
index d48d7ae1f030568656608a9426316a6e1746a659..14b919275d2f9d190175a5a39f533fec68b540aa 100644 (file)
@@ -302,6 +302,7 @@ dpif_netdev_get_stats(const struct dpif *dpif, struct odp_stats *stats)
 {
     struct dp_netdev *dp = get_dp_netdev(dpif);
     memset(stats, 0, sizeof *stats);
+    stats->n_flows = hmap_count(&dp->flow_table);
     stats->n_frags = dp->n_frags;
     stats->n_hit = dp->n_hit;
     stats->n_missed = dp->n_missed;