diff options
author | Ioana Ciornei | 2023-05-23 16:47:46 +0300 |
---|---|---|
committer | Peng Fan | 2023-06-14 18:40:16 +0800 |
commit | 22df08d82eeb0ffd5aa3b7f15ca978dfb5cc8377 (patch) | |
tree | 142b8d3d07313adc12a161b216cb0f2c84334c23 /include/miiphy.h | |
parent | 308d67e77d285cdedb8037bd64c793d5e9724847 (diff) |
net: ldpaa_eth: extend debug capabilities with DPMAC statistics
The ldpaa_eth driver already had a DPMAC statistics dump, this patch
extends the list of stats and adds a bit more structure to the code.
For a bit more context, the DPAA2 u-boot software architecture uses a
default network interface object - a DPNI - which, at runtime, will get
connected to the currently used DPMAC object.
Each time the .stop() eth callback is called, the DPMAC is destroyed
thus any previous counters will get lost.
As a preparation for the next patches, we add a software kept set of
DPMAC counters which will get updated before each destroy operation
takes place.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/miiphy.h')
0 files changed, 0 insertions, 0 deletions