Bug 2026814

Summary: [4.9] add Mellanox CX-6 Lx DeviceID 101f NIC support in SR-IOV Operator
Product: OpenShift Container Platform Reporter: zenghui.shi <zshi>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: ealcaniz, pprahlad, zzhao
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2026813 Environment:
Last Closed: 2021-12-06 11:22:49 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: 2026813    
Bug Blocks:    

Description zenghui.shi 2021-11-26 02:23:23 UTC
+++ This bug was initially created as a clone of Bug #2026813 +++

Description of problem:

add Mellanox CX-6 Lx DeviceID 101f NIC support in SR-IOV Operator

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from zenghui.shi on 2021-11-26 02:22:32 UTC ---

Move to ON_QA manually since the PR has been merged.

Comment 2 zhaozhanqi 2021-11-29 01:47:43 UTC
Verified this bug on 4.9.0-202111260327

# oc get cm supported-nic-ids -o yaml | grep 101f
  Nvidia_mlx5_ConnectX-6_Lx: 15b3 101f 101e


Create the following policy:

apiVersion: sriovnetwork.openshift.io/v1
kind: SriovNetworkNodePolicy
metadata:
  name: cx6lx
  namespace: openshift-sriov-network-operator
spec:
  mtu: 1500
  nicSelector:
    pfNames:
      - ens3f1
    vendor: '15b3'
  nodeSelector:
    feature.node.kubernetes.io/sriov-capable: 'true'
  numVfs: 2
  resourceName: cx6lx


### We can see the VF num resource is 2 in node#####

#oc describe node dell-per740-04.rhts.eng.pek2.redhat.com | grep "openshift.io"
  openshift.io/cx6lx:           2

Comment 6 errata-xmlrpc 2021-12-06 11:22:49 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 (OpenShift Container Platform 4.9.10 bug fix 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/RHBA-2021:4889

Comment 7 Red Hat Bugzilla 2023-09-15 01:17:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days