Bug 1728610

Summary: [openvswitch2.11] observed the difference between dpctl and nic statistics
Product: Red Hat Enterprise Linux Fast Datapath Reporter: David Marchand <dmarchan>
Component: openvswitch2.11Assignee: David Marchand <dmarchan>
Status: CLOSED ERRATA QA Contact: ovs-qe
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 19.ACC: apevec, atragler, chrisw, ctrautma, dmarchan, fhallal, hakhande, jhsiao, kfida, ktraynor, qding, ralongi, rhos-maint, tredaelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1714592 Environment:
Last Closed: 2019-08-19 16:20:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1714592    
Bug Blocks:    

Comment 2 qding 2019-07-23 03:08:59 UTC
Reproduced:

[root@dell-per730-04 ~]# rpm -q openvswitch2.11
openvswitch2.11-2.11.0-14.el7fdp.x86_64
[root@dell-per730-04 ~]# 
[root@dell-per730-04 ~]# ovs-vsctl get Interface dpdk0 statistics
{mac_local_errors=0, mac_remote_errors=0, "rx_1024_to_1522_packets"=0, "rx_128_to_255_packets"=0, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=0, "rx_256_to_511_packets"=0, "rx_512_to_1023_packets"=0, "rx_65_to_127_packets"=29995250, rx_broadcast_packets=0, rx_bytes=1919696000, rx_crc_errors=0, rx_dropped=0, rx_errors=0, rx_fragmented_errors=0, rx_illegal_byte_errors=0, rx_jabber_errors=0, rx_length_errors=0, rx_mac_short_dropped=0, rx_mbuf_allocation_errors=0, rx_missed_errors=9406009, rx_oversize_errors=0, rx_packets=20589241, rx_undersized_errors=0, "tx_1024_to_1522_packets"=0, "tx_128_to_255_packets"=0, "tx_1523_to_max_packets"=0, "tx_1_to_64_packets"=1, "tx_256_to_511_packets"=0, "tx_512_to_1023_packets"=0, "tx_65_to_127_packets"=0, tx_broadcast_packets=0, tx_bytes=22, tx_dropped=0, tx_errors=0, tx_link_down_dropped=0, tx_multicast_packets=0, tx_packets=0}
[root@dell-per730-04 ~]# ovs-appctl dpctl/show -s
netdev@ovs-netdev:
  lookups: hit:20589240 missed:1 lost:0
  flows: 0
  port 0: ovs-netdev (tap)
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
    collisions:0
    RX bytes:0  TX bytes:0
  port 1: dpdk1 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=9, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=9, requested_txq_descriptors=2048, rx_csum_offload=true)
    RX packets:0 errors:0 dropped:0 overruns:? frame:?
    TX packets:20589241 errors:0 dropped:0 aborted:? carrier:?
    collisions:?
    RX bytes:0  TX bytes:1317711446 (1.2 GiB)
  port 2: dpdk0 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=9, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=9, requested_txq_descriptors=2048, rx_csum_offload=true)
    RX packets:20589241 errors:0 dropped:9406009 overruns:? frame:?
    TX packets:0 errors:0 dropped:0 aborted:? carrier:?
    collisions:?
    RX bytes:1919696000 (1.8 GiB)  TX bytes:22
  port 3: ovsbr0 (tap)
    RX packets:825100 errors:0 dropped:15057203 overruns:0 frame:0
    TX packets:59723106 errors:0 dropped:0 aborted:0 carrier:0
    collisions:0
    RX bytes:1183348042 (1.1 GiB)  TX bytes:3824210668 (3.6 GiB)
[root@dell-per730-04 ~]# 



Verified:

[root@dell-per730-04 ~]# rpm -q openvswitch2.11
openvswitch2.11-2.11.0-18.el7fdp.x86_64
[root@dell-per730-04 ~]# 
[root@dell-per730-04 ~]# ovs-vsctl get Interface dpdk0 statistics
{mac_local_errors=0, mac_remote_errors=0, "rx_1024_to_1522_packets"=0, "rx_128_to_255_packets"=0, "rx_1523_to_max_packets"=0, "rx_1_to_64_packets"=0, "rx_256_to_511_packets"=0, "rx_512_to_1023_packets"=0, "rx_65_to_127_packets"=29997835, rx_broadcast_packets=0, rx_bytes=1919861440, rx_crc_errors=0, rx_dropped=8895699, rx_errors=0, rx_fragmented_errors=0, rx_illegal_byte_errors=0, rx_jabber_errors=0, rx_length_errors=0, rx_mac_short_dropped=0, rx_mbuf_allocation_errors=0, rx_missed_errors=8895699, rx_oversize_errors=0, rx_packets=21102136, rx_undersized_errors=0, "tx_1024_to_1522_packets"=0, "tx_128_to_255_packets"=0, "tx_1523_to_max_packets"=0, "tx_1_to_64_packets"=0, "tx_256_to_511_packets"=0, "tx_512_to_1023_packets"=0, "tx_65_to_127_packets"=0, tx_broadcast_packets=0, tx_bytes=0, tx_dropped=0, tx_errors=0, tx_link_down_dropped=0, tx_multicast_packets=0, tx_packets=0}
[root@dell-per730-04 ~]# ovs-appctl dpctl/show -s
netdev@ovs-netdev:
  lookups: hit:21102135 missed:1 lost:0
  flows: 0
  port 0: ovs-netdev (tap)
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 aborted:0 carrier:0
    collisions:0
    RX bytes:0  TX bytes:0
  port 1: dpdk1 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=9, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=9, requested_txq_descriptors=2048, rx_csum_offload=true)
    RX packets:0 errors:0 dropped:0 overruns:? frame:?
    TX packets:21102136 errors:0 dropped:0 aborted:? carrier:?
    collisions:?
    RX bytes:0  TX bytes:1350536704 (1.3 GiB)
  port 2: dpdk0 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=9, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=9, requested_txq_descriptors=2048, rx_csum_offload=true)
    RX packets:21102136 errors:0 dropped:8895699 overruns:? frame:?
    TX packets:0 errors:0 dropped:0 aborted:? carrier:?
    collisions:?
    RX bytes:1919861440 (1.8 GiB)  TX bytes:0
  port 3: ovsbr0 (tap)
    RX packets:825100 errors:0 dropped:15057203 overruns:0 frame:0
    TX packets:80825242 errors:0 dropped:0 aborted:0 carrier:0
    collisions:0
    RX bytes:1183348042 (1.1 GiB)  TX bytes:5174747372 (4.8 GiB)
[root@dell-per730-04 ~]#

Comment 4 errata-xmlrpc 2019-08-19 16:20:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2522