diff options
author | Codrin Ciubotariu <codrin.ciubotariu@freescale.com> | 2015-07-24 16:55:29 +0300 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-09-21 08:29:47 -0700 |
commit | 86719f0cd55bc13186798217b08fa6a048eda27c (patch) | |
tree | 4f04dbc99adabc346d046d30c409dd6866c96e85 /include/mc9sdz60.h | |
parent | 24a23deb90eea0acf049e226a70d8507394833c5 (diff) | |
download | u-boot-imx-86719f0cd55bc13186798217b08fa6a048eda27c.zip u-boot-imx-86719f0cd55bc13186798217b08fa6a048eda27c.tar.gz u-boot-imx-86719f0cd55bc13186798217b08fa6a048eda27c.tar.bz2 |
drivers/net/vsc9953: Add command to show/clear port counters
The new added command:
ethsw [port <port_no>] statistics { [help] | [clear] }
will print counters like the number of Rx/Tx frames,
number of Rx/Tx bytes, number of Rx/Tx unicast frames, etc.
This patch also adds this commnd in the genereric ethsw
parser from cmd_ethsw.c
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/mc9sdz60.h')
0 files changed, 0 insertions, 0 deletions