Bug 2159419

Summary: [ovs2.11][RHEL7.7] PF/VF Port statistics get over-run in OVS offload datapath
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OvS team <ovs-bugzilla>
Component: openvswitch2.17Assignee: Kevin Traynor <ktraynor>
Status: CLOSED ERRATA QA Contact: qding
Severity: medium Docs Contact:
Priority: medium    
Version: FDB 18.11CC: ctrautma, jhsiao, ralongi, tredaelli
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.17-2.17.0-61.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-09 00:24:59 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:

Description OvS team 2023-01-09 14:38:17 UTC
+++ This bug was initially created as a clone of Bug #1776816 +++

Description of problem:
By default, the OVS datapath packet counter is set 10 digits.

During offload performance test with 53Mpps, we noticed OVS offload datapath flow statistics get over-run within 100sec and maximum reach out ~53000000 packet counters.
We would expect the packet counter reach to at least 9999999999 before reset. Also, need to think on ideal size of counter digits when it is running over 100 gig bandwidth nic.


Version-Release number of selected component (if applicable):
	Red Hat OpenStack Platform release 13.0.9 (Queens)
	Red Hat Enterprise Linux Server release 7.7 (Maipo)
	openstack-neutron-openvswitch-12.1.0-2.el7ost.noarch
	openvswitch2.11-2.11.0-26.el7fdp.x86_64
	openvswitch2.11-test-2.11.0-26.el7fdp.noarch
	python-openvswitch2.11-2.11.0-26.el7fdp.x86_64

How reproducible:
100% reproducible in the lab.


Steps to Reproduce:
  # ovs-dpctl dump-flows -m type=offloaded

BR,
Pradipta

Comment 1 OvS team 2023-01-09 14:38:20 UTC
* Mon Jan 09 2023 Open vSwitch CI <ovs-ci> - 2.17.0-61
- Merging upstream branch-2.17 [RH git: 66e0311ad1]
    Commit list:
    e9336a91f6 tc: Add support for TCA_STATS_PKT64. (#1776816)

Comment 10 errata-xmlrpc 2023-02-09 00:24:59 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 (Moderate: openvswitch2.17 security, bug fix and enhancement update), 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/RHSA-2023:0691