[dpdk-dev] [PATCH v3 0/2] net/vhost: add pmd xstats support
Zhiyong Yang
zhiyong.yang at intel.com
Tue Sep 20 11:36:43 CEST 2016
This patch set adds the vhost pmd xstats support.
Patch 1 moves all stats counters to a new defined struct vhost_stats,
in order to manage all stats counters in a unified way.
Patch 2 adds the pmd xstats support.
Changes in v3:
1. rework the vhost_update_packet_xstats and separate it into two parts.
One function deals with the generic packets update, another one deals
with increasing the broadcast and multicast with failure packets sent
according to RFC2863 page42 ifHCOutMulticastPkts ifHCOutBroadcastPkts.
2. define enum vhost_stat_pkts to replace the magic numbers and enhance
the code readability.
3. remove some unnecessary type casts and fix one format issue.
Changes in v2:
1. remove the compiling switch.
2. fix two code bugs.
---
Zhiyong Yang (2):
net/vhost: add a new stats struct
net/vhost: add pmd xstats
drivers/net/vhost/rte_eth_vhost.c | 306 +++++++++++++++++++++++++++++++++++---
1 file changed, 286 insertions(+), 20 deletions(-)
--
2.5.5
More information about the dev
mailing list