From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E2059A0032; Mon, 12 Sep 2022 16:47:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C293B400D4; Mon, 12 Sep 2022 16:47:23 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 76A1D4003C for ; Mon, 12 Sep 2022 16:47:22 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id D3A497B; Mon, 12 Sep 2022 17:47:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru D3A497B DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1662994041; bh=nCoyOvof3mdmbMxrob1tf18blGkIAG2sxzmF/KXtCkg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a1E5BejwX6z86l4fs+MZpnKfGiKOpumpw7kBhWC45kbSoP4qgOvE0tOvwT4Kj3end uVOflipGfjQyTc8mJQuu/TQc/IgTM9+oTJe89oAgAFikkE0Omxi1LNqlmF8nqgeIxA EuA+ckghYGJBRYbqn31jEbxZpGyCGT9PoT7Ek9uE= Message-ID: <12a94c58-0905-5df3-5bec-65ea9292f22d@oktetlabs.ru> Date: Mon, 12 Sep 2022 17:47:21 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] ethdev: rte_eth_rx_queue_count is a dataplane function Content-Language: en-US To: Ferruh Yigit , =?UTF-8?Q?Morten_Br=c3=b8rup?= , thomas@monjalon.net Cc: dev@dpdk.org References: <20220818093744.76157-1-mb@smartsharesystems.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 8/18/22 15:23, Ferruh Yigit wrote: > On 8/18/2022 10:37 AM, Morten Brørup wrote: >> Applications may use rte_eth_rx_queue_count() in the RX stage of the >> dataplane, so only check the function parameters if built with >> RTE_ETHDEV_DEBUG_RX. >> >> Signed-off-by: Morten Brørup > > I don't remember if those checks done by default intentionally, but I > don't think so, > > And since other relevant functions do the same thing: > > Acked-by: Ferruh Yigit > The patch itself looks good to me. Summary should be fixed to be not a statement and should not mention function name. Other than that: Reviewed-by: Andrew Rybchenko