From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 50BAEA0679 for ; Fri, 5 Apr 2019 15:14:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 167011B4DC; Fri, 5 Apr 2019 15:14:05 +0200 (CEST) Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by dpdk.org (Postfix) with ESMTP id 2AE431B4DA for ; Fri, 5 Apr 2019 15:14:03 +0200 (CEST) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id CDAE32471; Fri, 5 Apr 2019 15:14:02 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8HFyv2K8EFjA; Fri, 5 Apr 2019 15:14:02 +0200 (CEST) X-KTH-Auth: barbette [192.16.125.171] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1554470042; bh=3m1scuCAaA+1v3S5LCa6WIVNjL3x9vs5B0ofOTDXLdw=; h=From:To:Cc:Subject:Date; b=os3BNrMlrY52/CtJRhFXXWT8fGN6WNoHhuNvK5FKTQqZ4iDmnmlz06RJhZJ4K5aRY 1WBbJ2AtxkCRNc6LE+SeUcxcu3Z+JQHFQ9vO3PUidiVatRJAYJpA1Sy4aKYJoZONt+ A7Bi0hDZA239dQiDaFxwJwhHZ4tRE6rQcD3Ln/Ww= X-KTH-mail-from: barbette@kth.se Received: from nslrack11.ssvl.kth.se (nslrack11.ssvl.kth.se [192.16.125.171]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id D22D568DB; Fri, 5 Apr 2019 15:14:00 +0200 (CEST) From: Tom Barbette To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, Tom Barbette Date: Fri, 5 Apr 2019 15:13:37 +0200 Message-Id: <20190405131337.32589-1-barbette@kth.se> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2] reta_query: Doc requirements on reta_conf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190405131337.kNBqPNcNcGeeBpxMEuL8vqcJCvs_vEjPtDIJBPNMEH4@z> Clarify the fact that mask bits should be set in rte_eth_reta_query. v2: - Change documentation string as suggested by Ferruh Signed-off-by: Tom Barbette --- 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 e254da8b1..2a49fd2e2 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -2941,7 +2941,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.17.1