Skip to content

Commit

Permalink
Add NVIDIA BlueField 3 to supported NICs
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ne committed May 9, 2023
1 parent bc2291e commit 4f265cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions deploy/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ data:
Nvidia_mlx5_ConnectX-6_Lx: "15b3 101f 101e"
Nvidia_mlx5_ConnectX-7: "15b3 1021 101e"
Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx: "15b3 a2d6 101e"
Nvidia_mlx5_MT43244_BlueField-3_integrated_ConnectX-7_Dx: "15b3 a2dc 101e"
Broadcom_bnxt_BCM57414_2x25G: "14e4 16d7 16dc"
Broadcom_bnxt_BCM75508_2x100G: "14e4 1750 1806"
Qlogic_qede_QL45000_50G: "1077 1654 1664"
Expand Down
1 change: 1 addition & 0 deletions deployment/sriov-network-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ data:
Nvidia_mlx5_ConnectX-6_Lx: "15b3 101f 101e"
Nvidia_mlx5_ConnectX-7: "15b3 1021 101e"
Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx: "15b3 a2d6 101e"
Nvidia_mlx5_MT43244_BlueField-3_integrated_ConnectX-7_Dx: "15b3 a2dc 101e"
Broadcom_bnxt_BCM57414_2x25G: "14e4 16d7 16dc"
Broadcom_bnxt_BCM75508_2x100G: "14e4 1750 1806"
Qlogic_qede_QL45000_50G: "1077 1654 1664"
Expand Down
2 changes: 2 additions & 0 deletions doc/supported-hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The following SR-IOV capable hardware is supported with sriov-network-operator:
| Mellanox MT28908 Family [ConnectX-6 Lx] | 15b3 | 101f |
| Mellanox MT2910 Family [ConnectX-7 | 15b3 | 1021 |
| Mellanox MT42822 BlueField-2 integrated ConnectX-6 Dx | 15b3 | a2d6 |
| Mellanox MT43244 BlueField-3 integrated ConnectX-7 Dx | 15b3 | a2dc |
| Qlogic QL45000 Series 50GbE Controller | 1077 | 1654 |
| Marvell OCTEON TX2 CN96XX | 177d | b200 |
| Marvell OCTEON TX2 CN98XX | 177d | b100 |
Expand Down Expand Up @@ -56,6 +57,7 @@ The following table depicts the supported SR-IOV hardware features of each suppo
| Mellanox MT28908 Family [ConnectX-6 Lx] | V | V | V |
| Mellanox MT28908 Family [ConnectX-7] | V | V | V |
| Mellanox MT42822 BlueField-2 integrated ConnectX-6 Dx | V | V | V |
| Mellanox MT43244 BlueField-3 integrated ConnectX-6 Dx | V | V | V |
| Qlogic QL45000 Series 50GbE Controller | V | X | X |
| Marvell OCTEON TX2 CN96XX | V | V | X |
| Marvell OCTEON TX2 CN98XX | V | V | X |
Expand Down
5 changes: 3 additions & 2 deletions pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const (
ClusterTypeKubernetes = "kubernetes"
VendorMellanox = "15b3"
DeviceBF2 = "a2d6"
DeviceBF3 = "a2dc"
)

var InitialState sriovnetworkv1.SriovNetworkNodeState
Expand Down Expand Up @@ -196,8 +197,8 @@ func skipConfigVf(ifSpec sriovnetworkv1.Interface, ifStatus sriovnetworkv1.Inter
return true, nil
}

// Nvidia_mlx5_MT42822_BlueField-2_integrated_ConnectX-6_Dx in OpenShift
if ClusterType == ClusterTypeOpenshift && ifStatus.Vendor == VendorMellanox && ifStatus.DeviceID == DeviceBF2 {
// NVIDIA BlueField 2 and BlueField3 in OpenShift
if ClusterType == ClusterTypeOpenshift && ifStatus.Vendor == VendorMellanox && (ifStatus.DeviceID == DeviceBF2 || ifStatus.DeviceID == DeviceBF3) {
// TODO: remove this when switch to the systemd configuration support.
mode, err := mellanoxBlueFieldMode(ifStatus.PciAddress)
if err != nil {
Expand Down

0 comments on commit 4f265cc

Please sign in to comment.