ethdev: support flow aging
[dpdk.git] / lib / librte_ethdev / rte_flow_driver.h
index ca675f6..881cc46 100644 (file)
@@ -96,6 +96,17 @@ struct rte_flow_ops {
                (struct rte_eth_dev *,
                 int,
                 struct rte_flow_error *);
+       /** See rte_flow_dev_dump(). */
+       int (*dev_dump)
+               (struct rte_eth_dev *dev,
+                FILE *file,
+                struct rte_flow_error *error);
+       /** See rte_flow_get_aged_flows() */
+       int (*get_aged_flows)
+               (struct rte_eth_dev *dev,
+                void **context,
+                uint32_t nb_contexts,
+                struct rte_flow_error *err);
 };
 
 /**
@@ -149,6 +160,8 @@ struct rte_flow_expand_rss {
  * Expand RSS flows into several possible flows according to the RSS hash
  * fields requested and the driver capabilities.
  *
+ * @b EXPERIMENTAL: this API may change without prior notice
+ *
  * @param[out] buf
  *   Buffer to store the result expansion.
  * @param[in] size
@@ -169,6 +182,7 @@ struct rte_flow_expand_rss {
  *
  *   -E2BIG: graph-depth @p graph is too deep.
  */
+__rte_experimental
 int
 rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size,
                    const struct rte_flow_item *pattern, uint64_t types,