DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Guo, Junfeng" <junfeng.guo@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
	Ferruh Yigit <ferruh.yigit@amd.com>
Cc: Rushil Gupta <rushilg@google.com>,
	"Zhang, Qi Z" <qi.z.zhang@intel.com>,
	"Wu, Jingjing" <jingjing.wu@intel.com>,
	"Xing, Beilei" <beilei.xing@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"jeroendb@google.com" <jeroendb@google.com>,
	"jrkim@google.com" <jrkim@google.com>,
	"Li, Xiaoyun" <xiaoyun.li@intel.com>
Subject: RE: [PATCH] net/gve: add support for basic stats
Date: Tue, 29 Nov 2022 01:42:29 +0000	[thread overview]
Message-ID: <DM6PR11MB3723BC95FD11F7D37971471EE7129@DM6PR11MB3723.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221128092420.311409ad@hermes.local>



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Tuesday, November 29, 2022 01:24
> To: Ferruh Yigit <ferruh.yigit@amd.com>
> Cc: Rushil Gupta <rushilg@google.com>; Guo, Junfeng
> <junfeng.guo@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>; Wu,
> Jingjing <jingjing.wu@intel.com>; Xing, Beilei <beilei.xing@intel.com>;
> dev@dpdk.org; jeroendb@google.com; jrkim@google.com; Li, Xiaoyun
> <xiaoyun.li@intel.com>
> Subject: Re: [PATCH] net/gve: add support for basic stats
> 
> On Mon, 28 Nov 2022 11:12:38 +0000
> Ferruh Yigit <ferruh.yigit@amd.com> wrote:
> 
> > On 11/26/2022 5:34 PM, Stephen Hemminger wrote:
> > > On Fri, 25 Nov 2022 19:16:00 -0800
> > > Rushil Gupta <rushilg@google.com> wrote:
> > >
> > >>>>
> > >>>> The driver should be filling in the per-queue stats as well.
> > >>>> q_ipackets, q_opackets, q_ibytes, q_obytes, q_errors
> > >>>
> > >>>
> > >>> Hi Stephen,
> > >>>
> > >>> Queue stats moved to xstats, and there is a long term goal to move
> all
> > >>> queue stats from basic stats to xstats for all PMDs, and remove
> interim
> > >>> 'RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS' flag.
> > >>>
> > >>> That is why request to new PMDs is to not introduce queue stats in
> basic
> > >>> stats, but in xstats.
> > >
> > > Agree that xstats are better but:
> > >
> > > * the current checked in version of GVE does not have driver op for
> xstats
> > >
> > > * if driver fills in the q_XXX[] stats then eth_dev_get_xstats_basic will
> be
> > >   able to use it.
> > >
> >
> > That is an option, but it will require driver to add
> > 'RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS' flag what we want to get
> rid of in
> > long term.
> > That is why we are requesting new driver to add the xstats
> > implementation instead of adding queue support in basic stats. It is up
> > to PMD to provide xstats implementation if they want queue stats.
> 
> Agreed, having xstats in driver is the best way.
> Doing what virtio does now would be a good example.

Sure, the xstats implementation is planed to be added in the coming releases.
Currently the gve PMD only have some basic features supported, and will
have the rest features enabled gradually (might co-dev with Google team).
Thanks Stephen and Ferruh for talking about this feature and giving the
detailed explanations and concerns.

> 


  reply	other threads:[~2022-11-29  1:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24  7:33 Junfeng Guo
2022-11-24 16:59 ` Stephen Hemminger
2022-11-24 17:26   ` Ferruh Yigit
2022-11-26  3:16     ` Rushil Gupta
2022-11-26 17:34       ` Stephen Hemminger
2022-11-28 11:12         ` Ferruh Yigit
2022-11-28 17:24           ` Stephen Hemminger
2022-11-29  1:42             ` Guo, Junfeng [this message]
2022-12-07 15:09 ` Ferruh Yigit
2022-12-07 16:39   ` Stephen Hemminger
2022-12-19 19:17     ` Rushil Gupta
2022-12-19 19:38       ` Joshua Washington
2023-01-18 16:22         ` Ferruh Yigit
2023-01-31  1:51           ` Joshua Washington
2023-01-31 10:05             ` Ferruh Yigit
2023-02-02 23:00               ` Joshua Washington
2023-02-03 17:39 ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR11MB3723BC95FD11F7D37971471EE7129@DM6PR11MB3723.namprd11.prod.outlook.com \
    --to=junfeng.guo@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --cc=jeroendb@google.com \
    --cc=jingjing.wu@intel.com \
    --cc=jrkim@google.com \
    --cc=qi.z.zhang@intel.com \
    --cc=rushilg@google.com \
    --cc=stephen@networkplumber.org \
    --cc=xiaoyun.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).