From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 66AABA04C5; Fri, 4 Sep 2020 03:43:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5EE21C0AF; Fri, 4 Sep 2020 03:43:45 +0200 (CEST) Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) by dpdk.org (Postfix) with ESMTP id 373B4255 for ; Fri, 4 Sep 2020 03:43:44 +0200 (CEST) Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 78EC0539F30D3AF4275E; Fri, 4 Sep 2020 09:43:41 +0800 (CST) Received: from [127.0.0.1] (10.65.81.238) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Sep 2020 09:43:33 +0800 To: Ferruh Yigit , References: <1592483709-7076-1-git-send-email-tangchengchang@huawei.com> <1598685199-1630-1-git-send-email-tangchengchang@huawei.com> <1598685199-1630-2-git-send-email-tangchengchang@huawei.com> <14efe532-ede6-733a-f94c-db5ee7a67f8b@intel.com> CC: , , , , From: Chengchang Tang Message-ID: <16b3cc59-1ca1-1919-ce62-92b882748ae7@huawei.com> Date: Fri, 4 Sep 2020 09:43:33 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <14efe532-ede6-733a-f94c-db5ee7a67f8b@intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.65.81.238] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v3 1/4] ethdev: add a field for rxq info structure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 2020/9/3 23:01, Ferruh Yigit wrote: > On 8/29/2020 8:13 AM, Chengchang Tang wrote: >> Add a field named rx_buf_size in rte_eth_rxq_info to indicate the buffer >> size used in receiving packets for HW. >> >> In this way, upper-layer users can get this information by calling >> rte_eth_rx_queue_info_get. >> >> Signed-off-by: Chengchang Tang >> Reviewed-by: Wei Hu (Xavier) >> Acked-by: Andrew Rybchenko >> --- >> lib/librte_ethdev/rte_ethdev.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h >> index 70295d7..9fed5cb 100644 >> --- a/lib/librte_ethdev/rte_ethdev.h >> +++ b/lib/librte_ethdev/rte_ethdev.h >> @@ -1420,6 +1420,8 @@ struct rte_eth_rxq_info { >> struct rte_eth_rxconf conf; /**< queue config parameters. */ >> uint8_t scattered_rx; /**< scattered packets RX supported. */ >> uint16_t nb_desc; /**< configured number of RXDs. */ >> + /**< buffer size used for hardware when receive packets. */ >> + uint16_t rx_buf_size; >> } __rte_cache_min_aligned; >> >> /** >> -- >> 2.7.4 >> > > Can you please removed the relevant deprecation notice in this patch? OK, I will remove it in v4 > . >