[ovs-dev] [PATCH v5] Detailed packet drop statistics per dpdk and vhostuser ports

Sriram Vatala sriram.v at altencalsoftlabs.com
Mon Aug 5 05:55:21 UTC 2019


Please consider this as a gentle remainder.

Thanks,
Sriram.

-----Original Message-----
From: ovs-dev-bounces at openvswitch.org <ovs-dev-bounces at openvswitch.org> On
Behalf Of Sriram Vatala via dev
Sent: 24 July 2019 14:26
To: 'Ben Pfaff' <blp at ovn.org>; 'Ilya Maximets' <i.maximets at samsung.com>;
'Stokes, Ian' <ian.stokes at intel.com>
Cc: ovs-dev at openvswitch.org
Subject: Re: [ovs-dev] [PATCH v5] Detailed packet drop statistics per dpdk
and vhostuser ports

Hi,

@Ben : Thanks for the response.

@Ilya, @Ian : Can you please review the patch and provide comments if any.

Thanks,
Sriram.

-----Original Message-----
From: Ben Pfaff <blp at ovn.org>
Sent: 22 July 2019 21:37
To: Sriram Vatala <sriram.v at altencalsoftlabs.com>
Cc: ovs-dev at openvswitch.org
Subject: Re: [PATCH v5] Detailed packet drop statistics per dpdk and
vhostuser ports

On Mon, Jul 22, 2019 at 03:31:53PM +0530, Sriram Vatala wrote:
> OVS may be unable to transmit packets for multiple reasons and today 
> there is a single counter to track packets dropped due to any of those 
> reasons. The most common reason is that a VM is unable to read packets 
> fast enough causing the vhostuser port transmit queue on the OVS side 
> to become full. This manifests as a problem with VNFs not receiving 
> all packets. Having a separate drop counter to track packets dropped 
> because the transmit queue is full will clearly indicate that the 
> problem is on the VM side and not in OVS. Similarly maintaining 
> separate counters for all possible drops helps in indicating sensible 
> cause for packet drops.
> 
> This patch adds counters for custom stats to track packets dropped at 
> port level and these stats are displayed along with other stats in 
> "ovs-vsctl get interface <iface> statistics"
> command. The detailed stats will be available for both dpdk and 
> vhostuser ports.
> 
> Signed-off-by: Sriram Vatala <sriram.v at altencalsoftlabs.com>

Thanks for the revision!  I'm happy with the bits that are important to me.
I'll leave the final review to Ian or Ilya.


More information about the dev mailing list