From: Remy Horton <remy.horton@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org, Olivier MATZ <olivier.matz@6wind.com>
Subject: Re: [dpdk-dev] xstats performance
Date: Fri, 1 Jul 2016 10:15:27 +0100 [thread overview]
Message-ID: <99e03d76-b896-2146-274c-2f3d83eee899@intel.com> (raw)
In-Reply-To: <8870166.MVVViF2IlQ@xps13>
On 29/06/2016 17:40, Thomas Monjalon wrote:
[..]
> I don't think it is possible to standardize stats ids, for two reasons:
> - it is hard to maintain and avoid conflicts between drivers
> - the drivers would have to lookup the names which degrades performance
I designed it that way to keep flexibility down the line rather than
specifically for the above use-case.
> I think the idea of Olivier would improve the performance of stats retrieval,
> which was the idea of this rework :)
> Unfortunately we need someone available to fix it quickly for RC2.
For all the current drivers xstats_names[idx].id==idx so it would just
involve removing the references to the id field and updating the
documentation. Complication is coordinating with QLogic for the bnx2x &
qede xstats patches.
..Remy
next prev parent reply other threads:[~2016-07-01 9:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-29 15:38 Olivier MATZ
2016-06-29 16:03 ` Remy Horton
2016-06-29 16:40 ` Thomas Monjalon
2016-07-01 9:15 ` Remy Horton [this message]
2016-07-05 18:10 ` Rasesh Mody
2016-07-06 7:43 ` Remy Horton
2016-07-07 22:59 ` Rasesh Mody
2016-07-08 11:15 ` Remy Horton
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=99e03d76-b896-2146-274c-2f3d83eee899@intel.com \
--to=remy.horton@intel.com \
--cc=dev@dpdk.org \
--cc=olivier.matz@6wind.com \
--cc=thomas.monjalon@6wind.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).