From eafdc86f34d0ca484d1b4e4be0d89d8ac3fd9c40 Mon Sep 17 00:00:00 2001 From: Tom Barbette Date: Fri, 5 Apr 2019 15:13:37 +0200 Subject: [PATCH] ethdev: document mask requirements for RETA Clarify the fact that mask bits should be set in rte_eth_reta_query. Signed-off-by: Tom Barbette Reviewed-by: Ferruh Yigit --- lib/librte_ethdev/rte_ethdev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 2065f5413a..40a068fe83 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -3037,7 +3037,8 @@ int rte_eth_dev_rss_reta_update(uint16_t port_id, * @param port_id * The port identifier of the Ethernet device. * @param reta_conf - * RETA to query. + * RETA to query. For each requested reta entry, corresponding bit + * in mask must be set. * @param reta_size * Redirection table size. The table size can be queried by * rte_eth_dev_info_get(). -- 2.20.1