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 2A564A00C2; Mon, 23 May 2022 16:39:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16D1542684; Mon, 23 May 2022 16:39:34 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id AE1D540141 for ; Mon, 23 May 2022 16:39:31 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 66AD65C0132; Mon, 23 May 2022 10:39:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 23 May 2022 10:39:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1653316771; x= 1653403171; bh=A6yd9AKLKw4r9KBAIZtsKWBRLb/MK8Xy+4lRuZiCblk=; b=E k62sg5rMmHfpKC/CGolEdDb3oxY4+y3ZjUB3dkq7h+QgIR9LIvee+Oe5gf07i1gv gMhYFFJtsCbgCXwI4aWiQAr/qEdWONQM5EWDXxiX8Y/tKzd1Z/yz4SSeavOafARy hwuUPKvs9HVSeUCmykBC7DTmb5oq1pdkl74IryiwSpeUQ2sexq+2l+Mey1Ad8Xr0 a4StX8BnejQU9pT/RBUDyK9T/L5ygjKJs08uzzluQHqG5eD1Lgh3/C8NzoLJxcEp V5ian9otD+7qwkDfqHYwd/HasQTLoVUl7yjMZEIoriWFEimVbbwDy4pNrS1YNMtq OMW97h9JceVBMdUBKnc1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1653316771; x= 1653403171; bh=A6yd9AKLKw4r9KBAIZtsKWBRLb/MK8Xy+4lRuZiCblk=; b=t 9/0qD07IOfri8pFJDnmDFgqqTp3FsrSsoI9KF2pABnlvYxs/xJY8YOGsoLzlQtxx aSQACmDhv3HAs2XKiQoOLtU/01iSJk3KGJE4svAjXlyI7sKyF7RJDOW3ndV9K3bf C8ARp/t+KaGXB3/y24wiBhnpkE+N0vIVfIrgFZw+kZ7HHrSnxT+/VO/yZQl+Kr76 PuvHlGehpNaG4lpxjLiulCenb7OAutN1n5QeYRIeuxPpdE5N1P/Sd5HTFuXbU1+4 T/dSXstC+ywxK+VQprr/k9Sx0aSJAsPTBSNfoHPCogKAFN09Agm6/tWZR/P9x4Rd AVVas36Royyz8F4myqE9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrjedugdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 May 2022 10:39:28 -0400 (EDT) From: Thomas Monjalon To: Morten =?ISO-8859-1?Q?Br=F8rup?= , Spike Du Cc: dev@dpdk.org, Matan Azrad , Slava Ovsiienko , Ori Kam , "dev@dpdk.org" , Raslan Darawsheh , andrew.rybchenko@oktetlabs.ru, ferruh.yigit@xilinx.com Subject: Re: [RFC v2 3/7] ethdev: introduce Rx queue based limit watermark Date: Mon, 23 May 2022 16:39:21 +0200 Message-ID: <5970049.YiXZdWvhHV@thomas> In-Reply-To: References: <20220506035645.4101714-1-spiked@nvidia.com> <3249537.9LS3J3VOpE@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 23/05/2022 16:10, Spike Du: > > From: Thomas Monjalon > > > If you stick with percentage, it only needs 7 bits, and you can make the > > remaining one bit reserved. > > Agree, will change to use 7 bits. I'm not sure it's worth introducing a bit field here.