git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: fix flow tunnel support detection
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_mae_counter.h
diff --git
a/drivers/net/sfc/sfc_mae_counter.h
b/drivers/net/sfc/sfc_mae_counter.h
index
f61a6b5
..
28d70f7
100644
(file)
--- a/
drivers/net/sfc/sfc_mae_counter.h
+++ b/
drivers/net/sfc/sfc_mae_counter.h
@@
-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);
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);
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
#ifdef __cplusplus
}
#endif