ethdev: fix missing function in map file
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Fri, 13 Jul 2018 09:11:30 +0000 (11:11 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 13:53:29 +0000 (15:53 +0200)
Add rte_flow_expand_rss in map file and tag it as experimental.

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>
lib/librte_ethdev/rte_ethdev_version.map
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow_driver.h

index 9a0d12d..38f117f 100644 (file)
@@ -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;
index e06cc21..cff4b52 100644 (file)
@@ -531,7 +531,7 @@ store:
  * 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[],
index ca675f6..688f723 100644 (file)
@@ -149,6 +149,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,7 +171,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[],