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

Regards,
Gowri Shankar

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to