[dpdk-dev] [PATCH v7 1/2] net/vhost: add a new defined stats struct

2016-09-29 Thread Yuanhan Liu
On Wed, Sep 28, 2016 at 09:26:47PM +0800, Zhiyong Yang wrote: > The patch moves all stats counters to a new defined struct vhost_stats > as follows, in order to manage all stats counters in a unified way and > simplify the subsequent function implementation(vhost_dev_xstats_reset). > > Signed-off-

[dpdk-dev] [PATCH v7 1/2] net/vhost: add a new defined stats struct

2016-09-28 Thread Zhiyong Yang
The patch moves all stats counters to a new defined struct vhost_stats as follows, in order to manage all stats counters in a unified way and simplify the subsequent function implementation(vhost_dev_xstats_reset). Signed-off-by: Zhiyong Yang --- Changes in v4: A queue can be only used as TX or