X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ethdev%2Frte_flow_driver.h;h=881cc469b7483937bb3808c9281853243c1fba96;hb=55f0335e90908b4f052594c14f7636413b894676;hp=ca675f6d36c7384376b56a6e6979c3414adbc705;hpb=4ed05fcd441bc7720386950a95d0bd85a72a5cee;p=dpdk.git diff --git a/lib/librte_ethdev/rte_flow_driver.h b/lib/librte_ethdev/rte_flow_driver.h index ca675f6d36..881cc469b7 100644 --- a/lib/librte_ethdev/rte_flow_driver.h +++ b/lib/librte_ethdev/rte_flow_driver.h @@ -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,