ethdev: fix missing function in map file

Add rte_flow_expand_rss in map file and tag it as experimental.

Fixes: 4ed05fcd44 ("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>
This commit is contained in:
Nelio Laranjeiro 2018-07-13 11:11:30 +02:00 committed by Thomas Monjalon
parent ab8ed0e3d9
commit 449660994e
3 changed files with 5 additions and 2 deletions

View 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;

View File

@ -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[],

View 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[],