[PATCH 0/6] Add the 'net stats' command to dump network statistics
Ramon Fried
rfried.dev at gmail.com
Sat Jun 10 13:03:05 CEST 2023
On Wed, May 31, 2023 at 4:19 AM Peng Fan <peng.fan at oss.nxp.com> wrote:
>
> Hi Joe, Ramon
>
> I see this patchset is delegated to me, would you take care this
> patchset or let me handle?
>
> Thanks,
> Peng.
>
> On 5/23/2023 9:47 PM, Ioana Ciornei wrote:
>
> >
> >
> > This patch set extends the 'net' command so that it can be used to dump
> > network statistics on the available devices. The first user of this new
> > API is the ldpaa_eth driver which, in the last patch, implements the 3
> > new callbacks added.
> >
> > Since the ldpaa_eth driver already had some debug printing of counters,
> > the first 4 patches are there to extend the existing list of counters
> > and to reorganize the code so that it fits better with the new eth_ops
> > callbacks.
> >
> > Ioana Ciornei (6):
> > net: ldpaa_eth: fix the memory layout of the dpmac_get_counters() API
> > net: ldpaa_eth: transform dpni_statistics from a struct to a union
> > net: ldpaa_eth: extend debug capabilities with DPNI statistics
> > net: ldpaa_eth: extend debug capabilities with DPMAC statistics
> > cmd: net: add a 'net stats' command to dump network statistics
> > net: ldpaa_eth: export DPNI and DPMAC counters through 'net stats'
> >
> > cmd/net.c | 54 ++++++-
> > drivers/net/fsl-mc/dpni.c | 2 +-
> > drivers/net/ldpaa_eth/ldpaa_eth.c | 248 +++++++++++++++---------------
> > drivers/net/ldpaa_eth/ldpaa_eth.h | 64 ++++++++
> > include/fsl-mc/fsl_dpmac.h | 7 +-
> > include/fsl-mc/fsl_dpni.h | 143 ++++++++++++-----
> > include/net.h | 6 +
> > 7 files changed, 353 insertions(+), 171 deletions(-)
> >
> > --
> > 2.25.1
> >
Hi Peng, I reviewed everything.
Tom will pick this up.
Thanks,
Ramon
More information about the U-Boot
mailing list