From: Thomas Monjalon <thomas@monjalon.net>
To: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>,
Kuba Kozak <kubax.kozak@intel.com>
Cc: dev@dpdk.org, harry.van.haaren@intel.com, deepak.k.jain@intel.com
Subject: Re: [PATCH v1 0/6] Extended xstats API in ethdev library to allow grouping of stats
Date: Mon, 01 May 2017 23:49:28 +0200 [thread overview]
Message-ID: <1896218.CXQQ0hTJZ0@xps> (raw)
In-Reply-To: <29874180.MbnUNaIQCm@xps>
01/05/2017 23:34, Thomas Monjalon:
> I am doing these small changes in your patches:
More explanations below
> --- a/drivers/net/e1000/igb_ethdev.c
> +++ b/drivers/net/e1000/igb_ethdev.c
> @@ -395,7 +395,7 @@ static const struct eth_dev_ops eth_igb_ops = {
> .link_update = eth_igb_link_update,
> .stats_get = eth_igb_stats_get,
> .xstats_get = eth_igb_xstats_get,
> - .xstats_get_by_id = eth_igb_xstats_get_by_id,
> + .xstats_get_by_id = eth_igb_xstats_get_by_id,
> .xstats_get_names_by_id = eth_igb_xstats_get_names_by_id,
> .xstats_get_names = eth_igb_xstats_get_names,
> .stats_reset = eth_igb_stats_reset,
>
> --- a/drivers/net/ixgbe/ixgbe_ethdev.c
> +++ b/drivers/net/ixgbe/ixgbe_ethdev.c
> @@ -532,7 +532,7 @@ static const struct eth_dev_ops ixgbe_eth_dev_ops = {
> .link_update = ixgbe_dev_link_update,
> .stats_get = ixgbe_dev_stats_get,
> .xstats_get = ixgbe_dev_xstats_get,
> - .xstats_get_by_id = ixgbe_dev_xstats_get_by_id,
> + .xstats_get_by_id = ixgbe_dev_xstats_get_by_id,
> .stats_reset = ixgbe_dev_stats_reset,
> .xstats_reset = ixgbe_dev_xstats_reset,
> .xstats_get_names = ixgbe_dev_xstats_get_names,
It is just for correct alignment.
> --- a/lib/librte_ether/rte_ethdev.c
> +++ b/lib/librte_ether/rte_ethdev.c
> @@ -188,7 +188,7 @@ rte_eth_dev_allocated(const char *name)
> static uint8_t
> rte_eth_dev_find_free_port(void)
> {
> - unsigned int i;
> + unsigned i;
>
> for (i = 0; i < RTE_MAX_ETHPORTS; i++) {
> if (rte_eth_devices[i].state == RTE_ETH_DEV_UNUSED)
It reverts a change you made in ixgbe patch.
> --- a/lib/librte_ether/rte_ethdev.h
> +++ b/lib/librte_ether/rte_ethdev.h
> @@ -185,7 +185,6 @@ extern "C" {
> #include "rte_ether.h"
> #include "rte_eth_ctrl.h"
> #include "rte_dev_info.h"
> -#include "rte_compat.h"
>
> struct rte_mbuf;
>
This include is not needed in this new version of xstats.
I will remove also the changes to release notes (API section),
as the API is not modified. They are just additional functions.
next prev parent reply other threads:[~2017-05-01 21:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 14:42 [PATCH v1 0/6] Extended xstats API in ethdev library to allow grouping of stats Michal Jastrzebski
2017-04-27 14:42 ` [PATCH v1 1/6] ethdev: revert patches extending xstats API in ethdev Michal Jastrzebski
2017-04-28 11:09 ` Van Haaren, Harry
2017-04-27 14:42 ` [PATCH v1 2/6] ethdev: retrieve xstats by ID Michal Jastrzebski
2017-04-28 11:09 ` Van Haaren, Harry
2017-04-27 14:42 ` [PATCH v1 3/6] ethdev: get xstats ID by name Michal Jastrzebski
2017-04-28 11:10 ` Van Haaren, Harry
2017-04-27 14:42 ` [PATCH v1 4/6] app/proc-info: support xstats by ID and " Michal Jastrzebski
2017-04-28 11:10 ` Van Haaren, Harry
2017-04-27 14:42 ` [PATCH v1 5/6] net/e1000: support xstats by ID Michal Jastrzebski
2017-04-28 11:10 ` Van Haaren, Harry
2017-04-27 14:42 ` [PATCH v1 6/6] net/ixgbe: " Michal Jastrzebski
2017-04-28 11:10 ` Van Haaren, Harry
2017-05-01 21:34 ` [PATCH v1 0/6] Extended xstats API in ethdev library to allow grouping of stats Thomas Monjalon
2017-05-01 21:49 ` Thomas Monjalon [this message]
2017-05-01 21:50 ` 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=1896218.CXQQ0hTJZ0@xps \
--to=thomas@monjalon.net \
--cc=deepak.k.jain@intel.com \
--cc=dev@dpdk.org \
--cc=harry.van.haaren@intel.com \
--cc=kubax.kozak@intel.com \
--cc=michalx.k.jastrzebski@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.