]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_mae_counter.h
net/sfc: fix flow tunnel support detection
[dpdk.git] / drivers / net / sfc / sfc_mae_counter.h
index f61a6b59cb22514f9e1843943cbc6be234b35e25..28d70f7d69b6384ef67281ddd5fdc029a5988272 100644 (file)
@@ -45,10 +45,16 @@ 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);
 
+/* Check whether MAE Counter-on-Queue (CoQ) prerequisites are satisfied */
+bool sfc_mae_counter_stream_enabled(struct sfc_adapter *sa);
+
 #ifdef __cplusplus
 }
 #endif