From: Alejandro Lucero <alejandro.lucero@netronome.com>
To: dev@dpdk.org
Subject: [dpdk-dev] About RTE_MAX_ETHPORT_QUEUE_STATS_MAPS
Date: Thu, 21 Aug 2014 10:04:28 +0100 [thread overview]
Message-ID: <CAD+H993QTeRjiQJT9UWFXhwa=b6Lk+s+9L0k7OsLB+zhT_mxYw@mail.gmail.com> (raw)
Hi,
Documentation and header files describe stat_idx parameter for
rte_eth_dev_set_tx_queue_stats_mapping
and
rte_eth_dev_set_rx_queue_stats_mapping
as
The value must be in the range
[0, RTE_MAX_ETHPORT_QUEUE_STATS_MAPS - 1]
I have not found a definition for RTE_MAX_ETHPORT_QUEUE_STATS_MAPS but the
per queue counters inside struct rte_eth_stats are arrays with length
RTE_ETHDEV_QUEUE_STAT_CNTRS which is defined at
config/defconfig_x86_64-default-linuxapp-gcc
CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
I assume RTE_MAX_ETHPORT_QUEUE_STATS_MAPS is equal to
CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS.
Can anyone confirm this?
Thanks
next reply other threads:[~2014-08-21 9:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-21 9:04 Alejandro Lucero [this message]
2014-09-16 13:22 ` Thomas Monjalon
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='CAD+H993QTeRjiQJT9UWFXhwa=b6Lk+s+9L0k7OsLB+zhT_mxYw@mail.gmail.com' \
--to=alejandro.lucero@netronome.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).