From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4EDAC4360F for ; Fri, 5 Apr 2019 13:14:06 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 19D9E20663 for ; Fri, 5 Apr 2019 13:14:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kth.se header.i=@kth.se header.b="os3BNrMl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19D9E20663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kth.se Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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" 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