From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 85EDBA00BE;
	Wed, 27 May 2020 23:01:03 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id D00F31DAEE;
	Wed, 27 May 2020 23:01:02 +0200 (CEST)
Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com
 [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id E2DB81DADD
 for <dev@dpdk.org>; Wed, 27 May 2020 23:01:00 +0200 (CEST)
Received: by mail-pg1-f195.google.com with SMTP id s10so12387901pgm.0
 for <dev@dpdk.org>; Wed, 27 May 2020 14:01:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=FAO/2b03ud+3/PtH5Nf6dxOZO42NpKRvatSdboaF1So=;
 b=iOjwfQSaCiMfrvD6PinxYk0obrVXexPBObsgfczQLbTjQ7qNoa4sDCQD8TPrvOG19G
 8tzT9KQmDaXl3/s3b7eXeLQ7hkENvK7OsFTDpys/7++gR4DI8ShZLpuTzMhFpx3jBg2e
 +z63TCUTTnF6N3OYM40OQwNU0dwnRyJsfeALyNVpMHxFQOIZBPXSy+gThqgKjTQlKLtx
 gKu7xybLgsslYm9p+UtMKuRIPaxTItX1M3vM4t7ffM7NQAhnGZQNsWHpPL/ruzPhKlMS
 nWt4ri77l4AD0clbrJLJuYXA15uILBcD2K25pDwWVfYI1rR+W8bgLz6paZtyLR+ocy5m
 kM3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=FAO/2b03ud+3/PtH5Nf6dxOZO42NpKRvatSdboaF1So=;
 b=D2la3Kofl9UOu0cUjUcq9yN/hFdSZBN+2W8uthmc1NoaD5zXWh8Fkhn2PNkTXsTFAD
 8BUzm+nTMplflfIaTbX8ULDsTh2zsN5wtrf/180g00WDxXsv9lTKt81zlcLkN5/gc/pM
 4fprn4NwkR+sn2zG56ZzU3bqY7wWcrAht0sM4UiQOxueViHZo8EviAjlqdyNwMBq8Hn5
 Zk2YVPqbHmloUG+scDe5KuBoCd1XPSZ+Ru9mA4LbZJBy8qI5QTZykHyAciM94voJnCcJ
 2BIaVcd2VIWbDN1akY9r5JmZidbLFPzMmqrB92FqLdr0RyhVzA1QjT8EXSj25jVmo++R
 t73w==
X-Gm-Message-State: AOAM530jVO1RBo5x7zhKOOxoVqO2JYUGl3YeHRU7WtFZ1TbnfYE2LTXv
 hjtrhoh5+Nr1+rGj249Ri1jLvA==
X-Google-Smtp-Source: ABdhPJxNXBwZiZjJ/KgZPz003s/3Ch/Ku5cFzbZ9ggfbRw9/BawaLw0698DnZTrWYSpOANKPco6CGQ==
X-Received: by 2002:a62:e10e:: with SMTP id q14mr5440893pfh.88.1590613259754; 
 Wed, 27 May 2020 14:00:59 -0700 (PDT)
Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id h3sm2508654pgk.67.2020.05.27.14.00.58
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 27 May 2020 14:00:59 -0700 (PDT)
Date: Wed, 27 May 2020 14:00:56 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org
Message-ID: <20200527140056.32811f27@hermes.lan>
In-Reply-To: <534cc465-f361-33de-055e-7d07e58131b2@intel.com>
References: <20200506192730.21613-1-stephen@networkplumber.org>
 <20200519165230.23306-1-stephen@networkplumber.org>
 <20200519165230.23306-3-stephen@networkplumber.org>
 <534cc465-f361-33de-055e-7d07e58131b2@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH v3 2/7] net/netvsc: implement rx/tx
 descriptor status functions
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Wed, 27 May 2020 19:14:49 +0100
Ferruh Yigit <ferruh.yigit@intel.com> wrote:

> On 5/19/2020 5:52 PM, Stephen Hemminger wrote:
> > These functions are useful for applications and debugging.
> > The netvsc PMD also transparently handles the rx/tx descriptor
> > functions for underlying VF device.
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > ---
> >  drivers/net/netvsc/hn_ethdev.c |  3 ++
> >  drivers/net/netvsc/hn_rxtx.c   | 57 ++++++++++++++++++++++++++++++++++
> >  drivers/net/netvsc/hn_var.h    |  5 +++
> >  3 files changed, 65 insertions(+)
> > 
> > diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c
> > index b890fa3befa8..675a49e66a57 100644
> > --- a/drivers/net/netvsc/hn_ethdev.c
> > +++ b/drivers/net/netvsc/hn_ethdev.c
> > @@ -875,8 +875,11 @@ static const struct eth_dev_ops hn_eth_dev_ops = {
> >  	.tx_queue_setup		= hn_dev_tx_queue_setup,
> >  	.tx_queue_release	= hn_dev_tx_queue_release,
> >  	.tx_done_cleanup        = hn_dev_tx_done_cleanup,
> > +	.tx_descriptor_status	= hn_dev_tx_descriptor_status,
> >  	.rx_queue_setup		= hn_dev_rx_queue_setup,
> >  	.rx_queue_release	= hn_dev_rx_queue_release,
> > +	.rx_queue_count		= hn_dev_rx_queue_count,
> > +	.rx_descriptor_status   = hn_dev_rx_queue_status,  
> 
> I guess this should announce 'Rx descriptor status' & 'Tx descriptor status'
> features for NIC, in 'doc/guides/nics/features/netvsc.ini' file.
> 
> If so please send an incremental patch for it, I can squash it in the next-net.

Thanks, will do