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 02F65A0562; Sun, 18 Apr 2021 00:00:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAFB9161B97; Sun, 18 Apr 2021 00:00:13 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id CE69940682 for ; Sun, 18 Apr 2021 00:00:10 +0200 (CEST) IronPort-SDR: /ycndfairURBs5BqYBo8J9aRd5FaG58rRQLAUwVcyn+A6iyiNFpCzZT4Ism3RPTHPnwwgZvQA1 58caSg8Doi8g== X-IronPort-AV: E=McAfee;i="6200,9189,9957"; a="194746212" X-IronPort-AV: E=Sophos;i="5.82,230,1613462400"; d="scan'208";a="194746212" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2021 15:00:06 -0700 IronPort-SDR: U1VEKiewHA6FDn6Q81rZ7wYqv1ArxYP3belNEMfM7fOdiUFIasvVwxBNYIan/Bzxr9aYgAg2KE coS+ze0p+aJg== X-IronPort-AV: E=Sophos;i="5.82,230,1613462400"; d="scan'208";a="426024893" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.206.177]) ([10.213.206.177]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2021 15:00:04 -0700 To: Lijun Ou , thomas@monjalon.net Cc: dev@dpdk.org, linuxarm@openeuler.org References: <1618562810-20304-1-git-send-email-oulijun@huawei.com> <1618628964-18913-1-git-send-email-oulijun@huawei.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Sat, 17 Apr 2021 23:00:00 +0100 MIME-Version: 1.0 In-Reply-To: <1618628964-18913-1-git-send-email-oulijun@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH V5] 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/17/2021 4:09 AM, Lijun Ou wrote: > 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 > --- > V4->V5: > - Add acked-by > - add a note to the "New features" section to annouce the new feature. > > V3->V4: > - update libabigail.abignore for removing the CI warnings > > V2->V3: > - rewrite the commit log and delete the part Note > - rewrite tht comments for queue state > - move the queue_state definition locations > > V1->V2: > - move queue state defines to public file > --- > doc/guides/rel_notes/release_21_05.rst | 6 ++++++ > lib/librte_ethdev/ethdev_driver.h | 7 ------- > lib/librte_ethdev/rte_ethdev.c | 3 +++ > lib/librte_ethdev/rte_ethdev.h | 9 +++++++++ > 4 files changed, 18 insertions(+), 7 deletions(-) missing 'libabigail.abignore' that was in v4?