Bug 2034307
| Summary: | Allow to set smfs/dmfs modes for mellanox nic in os-net-config | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jacob Ansari <jansari> |
| Component: | os-net-config | Assignee: | Haresh Khandelwal <hakhande> |
| Status: | CLOSED ERRATA | QA Contact: | Miguel Angel Nieto <mnietoji> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | bfournie, broose, coldford, dsneddon, guilherme.giacon, hakhande, hbrock, jamsmith, jansari, jfargen, jimm, john.choo, jslagle, majd, marjones, mburns, mgeary, mleitner, moshele, mtomaska, nnarang, rvaradar, sbaker, spower, supadhya, tvignaud |
| Target Milestone: | z2 | Keywords: | Bugfix, Triaged |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | os-net-config-11.5.1-2.20211207004923.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-23 22:12:27 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
Jacob Ansari
2021-12-20 16:09:33 UTC
Assigning to networking for dsneddon triage Verified in RHOS-16.2-RHEL-8-20220301.n.3
Without configuring steering mode in templates (default behaviour)
lspci | grep Mella | grep -v Virtual
04:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
04:00.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
devlink dev param show pci/0000:04:00.0 name flow_steering_mode
pci/0000:04:00.0:
name flow_steering_mode type driver-specific
values:
cmode runtime value smfs
devlink dev param show pci/0000:04:00.1 name flow_steering_mode
pci/0000:04:00.1:
name flow_steering_mode type driver-specific
values:
cmode runtime value smfs
devlink dev eswitch show pci/0000:04:00.1
pci/0000:04:00.1: mode switchdev inline-mode none encap-mode basic
devlink dev eswitch show pci/0000:04:00.0
pci/0000:04:00.0: mode switchdev inline-mode none encap-mode basic
Configuring in steering_mode in templates in the following way:
- type: ovs_bridge
name: br-link0
mtu: 9000
use_dhcp: false
members:
- type: linux_bond
name: mx-bond
mtu: 9000
bonding_options: "mode=active-backup"
members:
- type: sriov_pf
name: nic11
numvfs: 10
primary: true
promisc: true
use_dhcp: false
defroute: false
link_mode: switchdev
steering_mode: dmfs
- type: sriov_pf
name: nic12
numvfs: 10
promisc: true
use_dhcp: false
defroute: false
link_mode: switchdev
steering_mode: dmfs
lspci | grep Mella | grep -v Virtual
04:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
04:00.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
devlink dev param show pci/0000:04:00.0 name flow_steering_mode
pci/0000:04:00.0:
name flow_steering_mode type driver-specific
values:
cmode runtime value dmfs
devlink dev param show pci/0000:04:00.1 name flow_steering_mode
pci/0000:04:00.1:
name flow_steering_mode type driver-specific
values:
cmode runtime value dmfs
sudo devlink dev eswitch show pci/0000:04:00.1
pci/0000:04:00.1: mode switchdev inline-mode none encap-mode basic
sudo devlink dev eswitch show pci/0000:04:00.0
pci/0000:04:00.0: mode switchdev inline-mode none encap-mode basic
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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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-2022:1001 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |