[ovs-discuss] OVS dump-ports getting errors while traffic flowing

Traynor, Kevin kevin.traynor at intel.com
Wed Jun 17 21:03:07 UTC 2015


> -----Original Message-----
> From: gowrishankar [mailto:gowrishankar.m at linux.vnet.ibm.com]
> Sent: Wednesday, June 17, 2015 6:32 PM
> To: Traynor, Kevin; Ben Pfaff
> Cc: jayachandran.subramanian at wipro.com; subramani.paramasivam at wipro.com;
> pritesh.shinde at wipro.com; bugs at openvswitch.org
> Subject: Re: [ovs-discuss] OVS dump-ports getting errors while traffic
> flowing
> 
> On Wednesday 17 June 2015 08:57 PM, Traynor, Kevin wrote:
> >>
> >>> Hi ,
> >>>
> >>> We have brought up topology as below with OpenVSwitch 2.3.9 /DPDK enabled
> .
> >>>
> >>> Sending 128 bytes of frame as bidirectional from Agilent N2X(traffic
> >> generator) and observed that , in OVS we have found many errors(marked in
> red
> >> colour) in dump-ports.
> >>> [cid:image002.png at 01D0A862.7AF5B9D0]
> > Just checking - you are using OVS with DPDK and not OVDK as per the
> diagram?
> I see it is with dpdk as mentioned in the beginning of mail.
> 
> <cut>
> >>
> >>>             tx pkts=1180319172, bytes=?, drop=11522, errs=?, coll=?
> > I'm not quite sure I understand your setup, but the first thing I would
> check
> > is that you are affinitising your cores so that you are not trying to run a
> > pmd and other VM processing on the same core. You can use top -H and
> taskset.
> 
> I too noticed many other fields with value "?" for vhost-user port,
> where as it is normally
> showing packets/bytes count for other port types. I checked with both
> ofctl dump-ports
> and appctl dpctl/show -s .
> 
>    port  1: rx pkts=2581437, bytes=183201033, drop=0, errs=0, frame=0,
> over=0, crc=0
>             tx pkts=45101499, bytes=67075737796, drop=0, errs=0, coll=0
>    port  2: rx pkts=45101499, bytes=?, drop=?, errs=?, frame=?, over=?,
> crc=?
>             tx pkts=2581370, bytes=?, drop=0, errs=?, coll=?
> 
> As per netdev_dpdk_vhost_get_stats(), only rx/tx_packets and tx_drop
> counts are supported
> and I was curious to know logic behind it, though I am checking code to
> assist myself.
> 
> Could anyone clarify on why only packets count are supported for dpdk ?

No real technical reason, just a legacy of the switch over to the DPDK
vhost library and the byte values not being exposed. There should be a
patch to add some of them very shortly.

> 
> Regards,
> Gowri Shankar



More information about the discuss mailing list