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 5C8B3A0524; Mon, 19 Apr 2021 12:49:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2DBB40683; Mon, 19 Apr 2021 12:48:55 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 5827B40040 for ; Mon, 19 Apr 2021 12:48:53 +0200 (CEST) IronPort-SDR: AzDRj+vBlqNb6N5R6K3HTJJY0K7UEJMlvaD0pDtxXyEZ07N/Stq16pna0GQpG1Uc+N4Q5cawm0 PL0s2nMdUskg== X-IronPort-AV: E=McAfee;i="6200,9189,9958"; a="192115842" X-IronPort-AV: E=Sophos;i="5.82,233,1613462400"; d="scan'208";a="192115842" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 03:48:52 -0700 IronPort-SDR: WpVmR4XAO/sX+cPoN3F29c5OXIC6rRZtN2Kc7/6V6OshPLIEQ5aQ3GJ8Wu85F4D/ZqzY2PAhpg AXDbW+XjiT/Q== X-IronPort-AV: E=Sophos;i="5.82,233,1613462400"; d="scan'208";a="462699933" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.220.224]) ([10.213.220.224]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 03:48:51 -0700 To: Thomas Monjalon , Lijun Ou Cc: dev@dpdk.org, linuxarm@openeuler.org References: <1618797806-64536-1-git-send-email-oulijun@huawei.com> <1618822650-50500-1-git-send-email-oulijun@huawei.com> <1962551.3iHpUA8B56@thomas> From: Ferruh Yigit X-User: ferruhy Message-ID: <13b697b4-b690-ac66-3c99-e5c99742e3f1@intel.com> Date: Mon, 19 Apr 2021 11:48:47 +0100 MIME-Version: 1.0 In-Reply-To: <1962551.3iHpUA8B56@thomas> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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" On 4/19/2021 10:03 AM, Thomas Monjalon wrote: > 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 > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.