From: Ferruh Yigit Subject: Re: [PATCH v5 14/23] net/atlantic: support for Rx/Tx descriptors information Date: Thu, 11 Oct 2018 13:57:52 +0100 Message-ID: <824c6d0d-e277-862b-17bb-88ae2494bc91@intel.com> References: <094113568752818a088e48c3ad9b7370185089e4.1539249721.git.igor.russkikh@aquantia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Pavel Belous , Olivier MATZ To: Igor Russkikh , "dev@dpdk.org" Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 8B9941B195 for ; Thu, 11 Oct 2018 14:58:23 +0200 (CEST) In-Reply-To: <094113568752818a088e48c3ad9b7370185089e4.1539249721.git.igor.russkikh@aquantia.com> Content-Language: en-US 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 10/11/2018 11:35 AM, Igor Russkikh wrote: > From: Pavel Belous > > Add support for Rx/Tx descriptors status information. > > Signed-off-by: Igor Russkikh > Signed-off-by: Pavel Belous <...> > @@ -191,6 +191,14 @@ static const struct eth_dev_ops atl_eth_dev_ops = { > > .rx_queue_intr_enable = atl_dev_rx_queue_intr_enable, > .rx_queue_intr_disable = atl_dev_rx_queue_intr_disable, > + > + .rx_queue_count = atl_rx_queue_count, > + .rx_descriptor_done = atl_dev_rx_descriptor_done, > + .rx_descriptor_status = atl_dev_rx_descriptor_status, > + .tx_descriptor_status = atl_dev_tx_descriptor_status, `rx_descriptor_done` replace by `.rx_descriptor_status & .tx_descriptor_status`, since you already have them no need to implement `rx_descriptor_done` `rx_descriptor_done` is not removed because not all PMDs switch to new dev_ops. Please remove `rx_descriptor_done`. And we should document it better to prevent similar confusions.