Skip to content
Snippets Groups Projects
Commit 86719f0c authored by Codrin Ciubotariu's avatar Codrin Ciubotariu Committed by York Sun
Browse files

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: default avatarCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 24a23deb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment