diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2023-05-23 16:47:45 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2023-06-14 18:40:16 +0800 |
commit | 308d67e77d285cdedb8037bd64c793d5e9724847 (patch) | |
tree | 7a9dd1e0e367967a7b54c2a8dd4abe6f741a6455 /include | |
parent | 13ca5c2f56a172a3df1d5b84a084ed437ea26cde (diff) | |
download | u-boot-308d67e77d285cdedb8037bd64c793d5e9724847.zip u-boot-308d67e77d285cdedb8037bd64c793d5e9724847.tar.gz u-boot-308d67e77d285cdedb8037bd64c793d5e9724847.tar.bz2 |
net: ldpaa_eth: extend debug capabilities with DPNI statistics
The ldpaa_eth driver already had a DPNI 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 DPNI is reset to its
original state, including its counters.
As a preparation for the next patches, we add a software kept set of
DPNI counters which will get updated before each reset 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')
0 files changed, 0 insertions, 0 deletions