Currently, we store the statistics in the independent fields of virtnet_stats,
this is not scalable when we want to add more counters. As suggested by Michael,
this patch convert it to an array and use the enum as the index to access them.
Signed-off-by: Jason Wang jasow...@redhat.com
---
On Wed, 2012-06-06 at 15:52 +0800, Jason Wang wrote:
Currently, we store the statistics in the independent fields of virtnet_stats,
this is not scalable when we want to add more counters. As suggested by
Michael,
this patch convert it to an array and use the enum as the index to access