net/sfc: fix flow tunnel support detection
[dpdk.git] / drivers / net / sfc / sfc_mae_counter.h
index f61a6b5..28d70f7 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