Bug 2004083

Summary: Incorrectly negotiated feature causes OpenvSwitch upcalls to fail
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Mark Gray <mark.d.gray>
Component: openvswitch2.16Assignee: Open vSwitch development team <ovs-team>
Status: CLOSED EOL QA Contact: Hekai Wang <hewang>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: FDP 20.GCC: ctrautma, fleitner, hewang, jhsiao, ralongi
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: Environment:
Last Closed: 2023-06-14 18:05:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Gray 2021-09-14 13:36:24 UTC
Description of problem:
OVS user space component does not correctly negotiate kernel space features on RHEL 7 causing user space to incorrectly detect 'per-cpu-dispatch' mode. This causes upcalls to user space to fail as user space believes it is in 'per-cpu-dispatch' mode whereas kernel space is not.

Version-Release number of selected component (if applicable):
Kernel: 3.10.0-1160.el7.x86_64
OVS: latest master (https://github.com/openvswitch/ovs/commit/00d3d4a7d3750ab1d907d58894ad817febce1cf7)

How reproducible:
Always

Steps to Reproduce:
1. /usr/local/share/openvswitch/scripts/ovs-ctl start
2. ovs-vsctl add-br br0
3. ovs-appctl dpif-netlink/dispatch-mode

Actual results:
ovs-system: per-cpu dispatch mode

Expected results:
ovs-system: per-vport dispatch mode

Additional info:

Comment 1 Mark Gray 2021-09-14 13:41:03 UTC
After investigation, the root-cause appears to be that the RHEL7 openvswitch kernel module does not check for unsupported features.