Dear all,

I am working with experimental devices which allow me to create a point to point link a pair of such devices and establish. The developed driver for this device allow me to list the device as a network interface in a Ubunty machine through the "ifconfig" command. However, when performing a ping operation I have realized that the RX packets and TX packets statistics of such interface are not updated and keep to 0. I realized about that when adding this interface as a port of an OVS switch 2.5.0. When executing the instruction "sudo ovs-ofctl -O OpenFlow13 dump-ports br0 [port]" for this port, everything was set to 0, although through wireshark I check that a generated traffic was going through this interface.

OFPST_PORT reply (OF1.3) (xid=0x2): 1 ports
  port  3: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0
           duration=1589.855s

However, for other interface (a normal ethernet interface), the result for the same instruction was different:

OFPST_PORT reply (OF1.3) (xid=0x2): 1 ports
  port  4: rx pkts=464, bytes=45898, drop=2, errs=0, frame=0, over=0, crc=0
           tx pkts=493, bytes=61575, drop=0, errs=0, coll=0
           duration=1667.484s

I made a double check making an "ifconfig" request of these interfaces and the values between "ifconfig" and "sudo ovs-ofctl -O OpenFlow13 dump-ports br0 [port]" coincides. Then, my question is: Is reading ovs-ofctl dump-ports instructions the same values as ifconfig? At a first glimpse, it looks so. Could you confirm this?

Thank you very much for your time and attention,

With kind regards,

Jorge Baranda




--
Jorge Baranda
Research Engineer, MSc
jorge.bara...@cttc.es

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 645 29 00  Ext: 2171
Fax. +34 93 645 29 01
www.cttc.es

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

Reply via email to