commit | 99e93db6b2a32cf6f90694998c74aee792df7301 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Wed Feb 07 15:09:36 2018 +0200 |
committer | Anas Nashif <nashif@linux.intel.com> | Tue Mar 27 10:06:54 2018 -0400 |
tree | de67aca3b55257622835f10ff0b7a0a87819df4a | |
parent | 2a3de97ce9eeac624bc7db1ee234dbfb0a5a940e [diff] |
net: stats: Add traffic class statistics Add statistics for number of packets and bytes to each traffic class. Print this information in net-shell. Also make sure that we do not calculate total packet length many times. So calculate network packet total length once and then use that value instead of calculating it many times in a row. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>