Ioana Ciornei c85e96d0d1 cmd: net: add a 'net stats' command to dump network statistics
Add a new option to the 'net' command which can be used to dump network
statistics.

To do this, 3 new callbacks are added to the eth_ops structure:
.get_sset_count(), .get_strings(), .get_stats(). These callbacks
have the same functions as in Linux: to return the number of counters,
the strings which describe those counters and the actual values.

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>
2023-06-14 18:40:16 +08:00
..
2022-10-20 15:22:15 +08:00
2023-02-10 07:41:40 -05:00
2023-04-06 19:10:08 -04:00
2023-04-05 10:54:47 -04:00
2022-09-24 11:34:38 -04:00
2023-02-10 07:41:40 -05:00
2023-05-13 11:09:51 +02:00
2022-09-29 16:07:57 -04:00
2022-10-17 21:17:12 -06:00
2023-02-10 13:45:15 -05:00
2022-09-29 16:07:57 -04:00
2020-05-18 18:36:55 -04:00
2022-10-11 15:40:48 -04:00
2020-05-18 18:36:55 -04:00
2023-02-10 07:41:40 -05:00
2022-08-04 16:18:47 -04:00
2022-08-04 16:18:47 -04:00
2023-04-06 19:10:08 -04:00
2020-05-18 18:36:55 -04:00
2022-09-29 16:07:57 -04:00
2023-02-10 07:41:40 -05:00
2023-03-25 11:07:22 +01:00
2023-02-10 13:45:15 -05:00
2022-09-24 11:34:38 -04:00
2022-03-15 16:19:29 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2023-05-05 17:48:44 -04:00
2020-10-23 13:33:07 -04:00
2022-08-04 16:18:47 -04:00
2022-09-29 16:07:57 -04:00
2022-05-06 14:39:15 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2023-04-27 13:51:06 -04:00
2020-05-18 18:36:55 -04:00
2022-08-04 16:18:47 -04:00
2023-05-13 09:52:32 -04:00
2022-09-25 08:30:05 -06:00
2020-05-18 18:36:55 -04:00
2023-04-06 19:10:08 -04:00
2021-11-28 16:51:51 -07:00
2023-01-27 18:31:58 +01:00
2022-06-22 21:29:47 -04:00
2023-04-10 12:18:45 +09:00
2020-10-28 11:49:31 -04:00
2023-02-27 16:28:30 +01:00
2022-10-06 22:54:57 +02:00
2022-09-16 11:05:16 -04:00
2022-05-05 15:06:02 -04:00
2020-07-08 17:21:46 -04:00
2022-09-02 13:40:42 -04:00
2022-01-19 18:11:34 +01:00
2020-05-18 18:36:55 -04:00
2022-09-16 11:05:16 -04:00
2023-03-17 15:44:01 -04:00
2022-09-16 11:05:16 -04:00
2022-09-16 11:05:16 -04:00
2023-02-06 17:10:15 -05:00
2022-01-19 18:11:34 +01:00
2021-09-24 14:30:46 -04:00
2020-08-07 22:31:32 -04:00
2022-10-11 15:40:48 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2023-06-06 10:37:25 +02:00
2023-06-12 13:24:31 +02:00
2021-10-09 13:09:56 -04:00
2023-05-13 09:52:32 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2023-01-20 12:27:24 -05:00
2022-10-11 15:40:48 -04:00