From: Kuba Kozak <kubax.kozak@intel.com>
To: dev@dpdk.org
Cc: Kuba Kozak <kubax.kozak@intel.com>
Subject: [dpdk-dev] [PATCH 0/4] extend API to retriving xstats by group and xstats by name
Date: Fri, 3 Mar 2017 13:54:28 +0100 [thread overview]
Message-ID: <1488545672-5208-1-git-send-email-kubax.kozak@intel.com> (raw)
Added three new functions to API: rte_eth_xstats_get_by_name(),
rte_eth_xstats_get_by_group(), rte_eth_xstats_get_names_by_group().
Extension of the 'rte_igb_xstats_name_off' structure
with additional field 'group_mask'. For each xstats there is now
specified group (e.g. TX_GROUP), one xstatistic can be in several groups.
To implement new functionality of retriving xstats by group
on e1000 driver level, there are two functions added:
eth_igb_xstats_get_by_group() and eth_igb_xstats_get_names_by_group(),
on ixgbe driver level, there are new functions added:
ixgbe_dev_xstats_get_by_group() and ixgbe_dev_xstats_get_names_by_group()
Extended functionality of proc_info application:
--xstats-name NAME: to display single xstat value by NAME
--xstats-group GROUPNAME: to display group of xstats by GROUPNAME
Jacek Piasecki (4):
ethdev: add retrieving xstats by group and xstats by name
net/e1000: add grouping of xstats for e1000 driver
net/ixgbe: add grouping of xstats for ixgbe driver
app/proc_info: add support for xstats-name and xstats-group
app/proc_info/main.c | 112 ++++++++-
drivers/net/e1000/igb_ethdev.c | 261 +++++++++++++++-----
drivers/net/ixgbe/ixgbe_ethdev.c | 496 +++++++++++++++++++++++++++++++--------
lib/librte_ether/rte_ethdev.c | 310 +++++++++++++++++++++++-
lib/librte_ether/rte_ethdev.h | 105 ++++++++-
5 files changed, 1114 insertions(+), 170 deletions(-)
--
1.9.1
next reply other threads:[~2017-03-03 10:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 12:54 Kuba Kozak [this message]
2017-03-03 12:54 ` [dpdk-dev] [PATCH 1/4] ethdev: add retrieving " Kuba Kozak
2017-03-06 10:17 ` Thomas Monjalon
2017-03-03 12:54 ` [dpdk-dev] [PATCH 2/4] net/e1000: add grouping of xstats for e1000 driver Kuba Kozak
2017-03-06 2:05 ` Lu, Wenzhuo
2017-03-03 12:54 ` [dpdk-dev] [PATCH 3/4] net/ixgbe: add grouping of xstats for ixgbe driver Kuba Kozak
2017-03-03 12:54 ` [dpdk-dev] [PATCH 4/4] app/proc_info: add support for xstats-name and xstats-group Kuba Kozak
-- strict thread matches above, loose matches on Subject: below --
2017-03-02 16:07 [dpdk-dev] [PATCH 0/4] extend API to retriving xstats by group and xstats by name Kuba Kozak
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=1488545672-5208-1-git-send-email-kubax.kozak@intel.com \
--to=kubax.kozak@intel.com \
--cc=dev@dpdk.org \
/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).