DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hemant Agrawal <hemant.agrawal@oss.nxp.com>
To: Bruce Richardson <bruce.richardson@intel.com>, dev@dpdk.org
Cc: stephen@networkplumber.org, thomas@monjalon.net
Subject: Re: [PATCH v3 4/7] drivers/net: update to remove queue stats from eth stats
Date: Fri, 10 Oct 2025 11:01:59 +0530	[thread overview]
Message-ID: <68be12c7-e1da-4cd0-ad18-3efb7326065c@oss.nxp.com> (raw)
In-Reply-To: <20251003110201.1541183-5-bruce.richardson@intel.com>

On 03-10-2025 16:31, Bruce Richardson wrote:
> Now that we have removed the queue stats from the ethdev stats, we need
> to update the various PMDs to take account of the changes.
>
> Update each stats_get function to take the extra parameters for qstats,
> just marking it as unused if the driver does not fill in queue stats.
> For those that do complete queue stats, update the structure reference
> as appropriate.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>   drivers/net/af_packet/rte_eth_af_packet.c     |  13 +-
>   drivers/net/af_xdp/rte_eth_af_xdp.c           |  35 +++--
>   drivers/net/ark/ark_ethdev.c                  |  36 +++--
>   drivers/net/ark/ark_ethdev_rx.c               |  14 +-
>   drivers/net/ark/ark_ethdev_rx.h               |   3 +-
>   drivers/net/ark/ark_ethdev_tx.c               |  12 +-
>   drivers/net/ark/ark_ethdev_tx.h               |   3 +-
>   drivers/net/atlantic/atl_ethdev.c             |  19 +--
>   drivers/net/atlantic/atl_types.h              |   1 +
>   drivers/net/avp/avp_ethdev.c                  |  20 ++-
>   drivers/net/axgbe/axgbe_ethdev.c              |  22 +--
>   drivers/net/axgbe/axgbe_ethdev.h              |   1 +
>   drivers/net/bnx2x/bnx2x_ethdev.c              |   3 +-
>   drivers/net/bnxt/bnxt_reps.c                  |  14 +-
>   drivers/net/bnxt/bnxt_reps.h                  |   2 +-
>   drivers/net/bnxt/bnxt_stats.c                 | 133 ++++++++++--------
>   drivers/net/bnxt/bnxt_stats.h                 |   2 +-
>   drivers/net/bonding/rte_eth_bond_pmd.c        |  14 +-
>   drivers/net/cnxk/cnxk_ethdev.h                |   3 +-
>   drivers/net/cnxk/cnxk_rep.h                   |   3 +-
>   drivers/net/cnxk/cnxk_rep_ops.c               |  15 +-
>   drivers/net/cnxk/cnxk_stats.c                 |  49 ++++---
>   drivers/net/cxgbe/cxgbe_ethdev.c              |   3 +-
>   drivers/net/cxgbe/cxgbevf_ethdev.c            |   3 +-
>   drivers/net/dpaa/dpaa_ethdev.c                |   3 +-
>   drivers/net/dpaa2/dpaa2_ethdev.c              |  28 ++--

For dpaa, dpaa2, enetc, enetfec

Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>




  reply	other threads:[~2025-10-10  5:32 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-23 14:12 [RFC PATCH 0/6] remove deprecated queue stats Bruce Richardson
2025-09-23 14:12 ` [RFC PATCH 1/6] net/ice: don't report empty queue xstats Bruce Richardson
2025-09-23 14:12 ` [RFC PATCH 2/6] net/ipn3ke: drop unsupported per-queue xstats Bruce Richardson
2025-09-24  1:38   ` Xu, Rosen
2025-09-23 14:12 ` [RFC PATCH 3/6] ethdev: remove queue stats from ethdev stats structure Bruce Richardson
2025-09-24  7:37   ` Morten Brørup
2025-09-24  7:42     ` Bruce Richardson
2025-09-23 14:12 ` [RFC PATCH 4/6] drivers/net: update to remove queue stats from eth stats Bruce Richardson
2025-09-24  1:39   ` Xu, Rosen
2025-09-23 14:12 ` [RFC PATCH 5/6] app: " Bruce Richardson
2025-09-23 14:12 ` [RFC PATCH 6/6] doc: update docs for ethdev changes Bruce Richardson
2025-09-23 15:04 ` [RFC PATCH 0/6] remove deprecated queue stats Stephen Hemminger
2025-09-23 15:33   ` Bruce Richardson
2025-09-29 15:00 ` [PATCH v2 " Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 1/6] net/ice: don't report empty queue xstats Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 2/6] net/ipn3ke: drop unsupported per-queue xstats Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 3/6] ethdev: remove queue stats from ethdev stats structure Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 4/6] drivers/net: update to remove queue stats from eth stats Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 5/6] app: " Bruce Richardson
2025-09-29 15:00   ` [PATCH v2 6/6] doc: update docs for ethdev changes Bruce Richardson
2025-09-29 16:41   ` [PATCH v2 0/6] remove deprecated queue stats Stephen Hemminger
2025-09-29 16:50     ` Bruce Richardson
2025-10-03 11:04     ` Bruce Richardson
2025-09-29 22:57   ` Stephen Hemminger
2025-10-03 11:01 ` [PATCH v3 0/7] " Bruce Richardson
2025-10-03 11:01   ` [PATCH v3 1/7] net/ice: don't report empty queue xstats Bruce Richardson
2025-10-03 11:01   ` [PATCH v3 2/7] net/ipn3ke: drop unsupported per-queue xstats Bruce Richardson
2025-10-03 11:01   ` [PATCH v3 3/7] ethdev: remove queue stats from ethdev stats structure Bruce Richardson
2025-10-03 11:01   ` [PATCH v3 4/7] drivers/net: update to remove queue stats from eth stats Bruce Richardson
2025-10-10  5:31     ` Hemant Agrawal [this message]
2025-10-03 11:01   ` [PATCH v3 5/7] app: " Bruce Richardson
2025-10-03 11:02   ` [PATCH v3 6/7] doc: update docs for ethdev changes Bruce Richardson
2025-10-03 11:02   ` [PATCH v3 7/7] ethdev: deprecate queue stats mapping functions Bruce Richardson

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=68be12c7-e1da-4cd0-ad18-3efb7326065c@oss.nxp.com \
    --to=hemant.agrawal@oss.nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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).