From: Nelio Laranjeiro Date: Fri, 13 Jul 2018 09:11:30 +0000 (+0200) Subject: ethdev: fix missing function in map file X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=449660994e954d912ea677581e03550ae41bea97;p=dpdk.git ethdev: fix missing function in map file 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 Acked-by: Adrien Mazarguil --- diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map index 9a0d12d411..38f117f01b 100644 --- a/lib/librte_ethdev/rte_ethdev_version.map +++ b/lib/librte_ethdev/rte_ethdev_version.map @@ -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; diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c index e06cc21939..cff4b52094 100644 --- a/lib/librte_ethdev/rte_flow.c +++ b/lib/librte_ethdev/rte_flow.c @@ -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[], diff --git a/lib/librte_ethdev/rte_flow_driver.h b/lib/librte_ethdev/rte_flow_driver.h index ca675f6d36..688f7230e5 100644 --- a/lib/librte_ethdev/rte_flow_driver.h +++ b/lib/librte_ethdev/rte_flow_driver.h @@ -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[],