[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <VI1PR05MB19025EDB56AB6ED1F99C807EAC970@VI1PR05MB1902.eurprd05.prod.outlook.com>
Date: Sun, 25 Dec 2016 11:23:33 +0000
From: Nogah Frankel <nogahf@...lanox.com>
To: Roopa Prabhu <roopa@...ulusnetworks.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"stephen@...workplumber.org" <stephen@...workplumber.org>,
"roszenrami@...il.com" <roszenrami@...il.com>,
Or Gerlitz <ogerlitz@...lanox.com>,
Jiri Pirko <jiri@...lanox.com>, Elad Raz <eladr@...lanox.com>,
Yotam Gigi <yotamg@...lanox.com>,
Ido Schimmel <idosch@...lanox.com>
Subject: RE: [PATCH iproute2 v3 4/4] ifstat: Add "sw only" extended statistics
to ifstat
> -----Original Message-----
> From: Roopa Prabhu [mailto:roopa@...ulusnetworks.com]
> Sent: Thursday, December 22, 2016 11:10 PM
> To: Nogah Frankel <nogahf@...lanox.com>
> Cc: netdev@...r.kernel.org; stephen@...workplumber.org; roszenrami@...il.com; Or
> Gerlitz <ogerlitz@...lanox.com>; Jiri Pirko <jiri@...lanox.com>; Elad Raz
> <eladr@...lanox.com>; Yotam Gigi <yotamg@...lanox.com>; Ido Schimmel
> <idosch@...lanox.com>
> Subject: Re: [PATCH iproute2 v3 4/4] ifstat: Add "sw only" extended statistics to ifstat
>
> On 12/22/16, 8:23 AM, Nogah Frankel wrote:
> > Add support for extended statistics of SW only type, for counting only the
> > packets that went via the cpu. (useful for systems with forward
> > offloading). It reads it from filter type IFLA_STATS_LINK_OFFLOAD_XSTATS
> > and sub type IFLA_OFFLOAD_XSTATS_CPU_HIT.
> >
> > It is under the name 'software'
> > (or any shorten of it as 'soft' or simply 's')
> >
> > For example:
> > ifstat -x s
> >
> >
> Nogah, can we keep the option names closer to the attribute names ?
> That would avoid some confusion and help with the follow-up stats.
>
> ifstat -x offload cpu
> or
> ifstat -x cpu
>
> for others it would be:
>
> ifstat -x link [vlan|igmp]
> ifstat -x vlan
> ifstat -x igmp
> ifstat -x lacp
>
> and so on...
>
> thanks!
Sure, I will change it.
Powered by blists - more mailing lists