Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2077451

Summary: [DPDK][Mellanox][NIC Partitioning] Port creation fails on CX4 VF with higher order of PCI address.
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Timothy Redaelli <tredaelli>
Component: openvswitch2.17Assignee: Timothy Redaelli <tredaelli>
Status: CLOSED DUPLICATE QA Contact: ovs-qe
Severity: medium Docs Contact:
Priority: medium    
Version: RHEL 9.0CC: apevec, cfields, cfontain, chrisw, ctrautma, dmarchan, ekuris, hakhande, jhsiao, ksundara, ktraynor, ovs-team, ralongi, tli
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch2.17-2.17.0-11.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2059758 Environment:
Last Closed: 2022-04-29 14:06:45 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: 2048601, 2059758    
Bug Blocks:    

Description Timothy Redaelli 2022-04-21 12:24:37 UTC
+++ This bug was initially created as a clone of Bug #2059758 +++

+++ This bug was initially created as a clone of Bug #2048601 +++

+++ This bug was initially created as a clone of Bug #2040292 +++

Description of problem:

The OSP deployment involves creation of 64 VFs on 4 CX4 ports (256 VFs), spread across 2 NUMA. A dpdk bond is created between VF0 of port 0 (NUMA0) and VF0 of port 3 (NUMA1). The port creation fails with below error.

    Bridge br-link0
        fail_mode: standalone
        datapath_type: netdev
        Port dpdkbond0
            Interface dpdk1
                type: dpdk
                options: {dpdk-devargs="0000:d8:00.2", n_rxq="1"}
                error: "Error attaching device '0000:d8:00.2' to DPDK"
            Interface dpdk0
                type: dpdk
                options: {dpdk-devargs="0000:12:00.2", n_rxq="1"}
        Port br-link0
            Interface br-link0
                type: internal
    ovs_version: "2.13.4"

How reproducible:

As a quick reproducer with limited VFs, we could build Openvswitch with CONFIG_RTE_MAX_ETHPORTS set to 32 and create a user bridge with dpdk bonds involving a VF with higher order PCI address.


Actual results:
Port creation fails

Expected results:
Port creation shall be successful.

SOS reports are attached in the case.
PS: The port creations were successful when the customer went ahead with 32 VFs per port.

Comment 1 Timothy Redaelli 2022-04-29 14:06:45 UTC

*** This bug has been marked as a duplicate of bug 2079528 ***