]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_mae_counter.h
net/sfc: use switch port ID as representor ID
[dpdk.git] / drivers / net / sfc / sfc_mae_counter.h
index f61a6b59cb22514f9e1843943cbc6be234b35e25..2c953c29686ca235a0168e0d368138871400636d 100644 (file)
@@ -45,6 +45,9 @@ int sfc_mae_counter_enable(struct sfc_adapter *sa,
                           struct sfc_mae_counter_id *counterp);
 int sfc_mae_counter_disable(struct sfc_adapter *sa,
                            struct sfc_mae_counter_id *counter);
+int sfc_mae_counter_get(struct sfc_mae_counters *counters,
+                       const struct sfc_mae_counter_id *counter,
+                       struct rte_flow_query_count *data);
 
 int sfc_mae_counter_start(struct sfc_adapter *sa);
 void sfc_mae_counter_stop(struct sfc_adapter *sa);