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

Sriram Vatala sriram.v at altencalsoftlabs.com
Wed Jul 24 08:55:43 UTC 2019


@Ben : Thanks for the response.

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


-----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