ethdev: fix missing function in map file
Checks
Commit Message
Fixes: 4ed05fcd441b ("ethdev: add flow API to expand RSS flows")
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
--
Changes in v2:
- add missing documentation.
- add missing __rte_experimental in source file.
- update the order in map file.
---
lib/librte_ethdev/rte_ethdev_version.map | 1 +
lib/librte_ethdev/rte_flow.c | 2 +-
lib/librte_ethdev/rte_flow_driver.h | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
Comments
13/07/2018 11:11, Nelio Laranjeiro:
> Fixes: 4ed05fcd441b ("ethdev: add flow API to expand RSS flows")
>
> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
>
> --
>
> Changes in v2:
>
> - add missing documentation.
> - add missing __rte_experimental in source file.
> - update the order in map file.
> ---
> --- a/lib/librte_ethdev/rte_flow_driver.h
> +++ b/lib/librte_ethdev/rte_flow_driver.h
> @@ -148,6 +148,7 @@ 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
Blank line missing to make it appear on a new line.
Applied with following log:
Add rte_flow_expand_rss in map file and tag it as experimental.
@@ -239,6 +239,7 @@ EXPERIMENTAL {
rte_eth_dev_tx_offload_name;
rte_eth_switch_domain_alloc;
rte_eth_switch_domain_free;
+ rte_flow_expand_rss;
rte_mtr_capabilities_get;
rte_mtr_create;
rte_mtr_destroy;
@@ -531,7 +531,7 @@ rte_flow_copy(struct rte_flow_desc *desc, size_t len,
* Expand RSS flows into several possible flows according to the RSS hash
* fields requested and the driver capabilities.
*/
-int
+int __rte_experimental
rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size,
const struct rte_flow_item *pattern, uint64_t types,
const struct rte_flow_expand_node graph[],
@@ -148,6 +148,7 @@ 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.
@@ -169,7 +170,7 @@ struct rte_flow_expand_rss {
*
* -E2BIG: graph-depth @p graph is too deep.
*/
-int
+int __rte_experimental
rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size,
const struct rte_flow_item *pattern, uint64_t types,
const struct rte_flow_expand_node graph[],