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 B02ADA0547; Mon, 19 Apr 2021 11:03:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96E5040683; Mon, 19 Apr 2021 11:03:29 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 9188540040 for ; Mon, 19 Apr 2021 11:03:28 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 44FC51733; Mon, 19 Apr 2021 05:03:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 19 Apr 2021 05:03:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 07rWl1IKM3/DTL5M4Ceu+RET40Jzth6zV/gnBQsHfUY=; b=YFo9V0Dd52EbyMQ+ lGW9eG56g/UOCapNSTWp+zImTYeTpO6CPVtGasq86mAc86PZ8nyHI5Z52QXmLY/Y FF+I4P1UKi1UUSJ17zZ71o3ZMTjop1q8nJMHt/IGj9T2zW8OGQPuSmNGvvWBnXWp UpbyeGcgkIaFh49fWn63z6YnevixPVxlm+v8i2qcob20mEPxhJwuM+8HsBb8r3av UIyWcvwuYdr6Of7vVywy2USGOkCxS4zCL0vU+6iQNcveeI3IqfrkLVuSPEWErJ0Q YDrfO6l3iUz/LwNqT9XTZ1JcuzAy0AOX3OqklL+37xUf7y+jILEtSD6EuWdbU+ai vIHzPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=07rWl1IKM3/DTL5M4Ceu+RET40Jzth6zV/gnBQsHf UY=; b=i+Pystjy2mp6VHOBeGEZHvC52i3WoZSRXQYHornd7yfSzuFN4efp2uUTV zb5vCK/kt21fkSxh3eVgisM1rT99mthTxW4OqDm7oxtB9aebVRN4cTP5G3xR/usE yMFg11sN/cPEWHN+GrCbB6/w2OEmxpwpCvHJiGh+QkuznuQMkRbu7RsPE1wwK+4n vsTBZjceaPtd5jaTa/0U1h6zB6zaoEy9a3enCWgHR416BXdesg8IfbyMcHk8bxjP I+RwRvGF1flFNpsbTDgiC5f7mf+piWBqkXzV2usa3w8Mfxj8YyP5gdnkaGbpcO44 C+n+YIYOn7oTNEbVNjJMYxeWSjZxw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A9D2E108006B; Mon, 19 Apr 2021 05:03:25 -0400 (EDT) From: Thomas Monjalon To: Lijun Ou Cc: ferruh.yigit@intel.com, dev@dpdk.org, linuxarm@openeuler.org Date: Mon, 19 Apr 2021 11:03:24 +0200 Message-ID: <1962551.3iHpUA8B56@thomas> In-Reply-To: <1618822650-50500-1-git-send-email-oulijun@huawei.com> References: <1618797806-64536-1-git-send-email-oulijun@huawei.com> <1618822650-50500-1-git-send-email-oulijun@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v7] ethdev: add queue state when retrieve queue information 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 Sender: "dev" 19/04/2021 10:57, Lijun Ou: > Currently, upper-layer application could get queue state only > through pointers such as dev->data->tx_queue_state[queue_id], > this is not the recommended way to access it. So this patch > add get queue state when call rte_eth_rx_queue_info_get and > rte_eth_tx_queue_info_get API. > > Note: After add queue_state field, the 'struct rte_eth_rxq_info' size > remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so > it could be ABI compatible. > > Signed-off-by: Chengwen Feng > Signed-off-by: Lijun Ou > Acked-by: Konstantin Ananyev Acked-by: Thomas Monjalon