Skip to content

Commit 7162820

Browse files
authored
Merge pull request #56693 from jboxman-rh/OSDOCS-4208
OSDOCS-4208: Promote BF2 DPU to NIC mode as GA
2 parents f50f2ac + 5fe74a1 commit 7162820

File tree

2 files changed

+25
-28
lines changed

2 files changed

+25
-28
lines changed

modules/proc-switching-bf2-nic.adoc

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
[id="proc-switching-bf2-nic_{context}"]
77
= Switching Bluefield-2 from DPU mode to NIC mode
88

9-
Use the following procedure to switch Bluefield-2 from data processing units (DPU) mode to network interface controller (NIC) mode.
9+
Use the following procedure to switch Bluefield-2 from data processing units (DPU) mode to network interface controller (NIC) mode.
1010

1111
[IMPORTANT]
1212
====
13-
Currently, only switching Bluefield-2 from DPU to NIC mode is supported. Switching from NIC mode to DPU mode is unsupported.
13+
Currently, only switching Bluefield-2 from DPU to NIC mode is supported. Switching from NIC mode to DPU mode is unsupported.
1414
====
1515

1616
.Prerequisites
1717

18-
* You have installed the SR-IOV Network Operator. For more information, see "Installing SR-IOV Network Operator".
19-
* You have updated Bluefield-2 to the latest firmware. For more information, see link:https://network.nvidia.com/support/firmware/bluefield2/[Firmware for NVIDIA BlueField-2].
18+
* You have installed the SR-IOV Network Operator. For more information, see "Installing SR-IOV Network Operator".
19+
* You have updated Bluefield-2 to the latest firmware. For more information, see link:https://network.nvidia.com/support/firmware/bluefield2/[Firmware for NVIDIA BlueField-2].
2020
2121
.Procedure
2222

@@ -33,7 +33,7 @@ $ oc label node <example_node_name_two> node-role.kubernetes.io/sriov=
3333
3434
----
3535

36-
. Create a machine config pool for the SR-IOV Operator, for example:
36+
. Create a machine config pool for the SR-IOV Network Operator, for example:
3737
+
3838
[source,yaml]
3939
----
@@ -45,10 +45,10 @@ metadata:
4545
spec:
4646
machineConfigSelector:
4747
matchExpressions:
48-
- {key: machineconfiguration.openshift.io/role, operator: In, values: [worker,sriov]}
48+
- {key: machineconfiguration.openshift.io/role, operator: In, values: [worker,sriov]}
4949
nodeSelector:
5050
matchLabels:
51-
node-role.kubernetes.io/sriov: ""
51+
node-role.kubernetes.io/sriov: ""
5252
----
5353

5454
. Apply the following `machineconfig.yaml` file to the worker nodes:
@@ -74,22 +74,22 @@ spec:
7474
path: /etc/default/switch_in_sriov_config_daemon.sh
7575
systemd:
7676
units:
77-
- name: dpu-switch.service
78-
enabled: true
79-
contents: |
80-
[Unit]
81-
Description=Switch BlueField2 card to NIC/DPU mode
82-
RequiresMountsFor=%t/containers
83-
Wants=network.target
84-
After=network-online.target kubelet.service
85-
[Service]
86-
SuccessExitStatus=0 120
87-
RemainAfterExit=True
88-
ExecStart=/bin/bash -c '/etc/default/switch_in_sriov_config_daemon.sh nic || shutdown -r now' <1>
89-
Type=oneshot
90-
[Install]
91-
WantedBy=multi-user.target
77+
- name: dpu-switch.service
78+
enabled: true
79+
contents: |
80+
[Unit]
81+
Description=Switch BlueField2 card to NIC/DPU mode
82+
RequiresMountsFor=%t/containers
83+
Wants=network.target
84+
After=network-online.target kubelet.service
85+
[Service]
86+
SuccessExitStatus=0 120
87+
RemainAfterExit=True
88+
ExecStart=/bin/bash -c '/etc/default/switch_in_sriov_config_daemon.sh nic || shutdown -r now' <1>
89+
Type=oneshot
90+
[Install]
91+
WantedBy=multi-user.target
9292
----
93-
<1> Optional: The PCI address of a specific card can optionally be specified, for example `ExecStart=/bin/bash -c '/etc/default/switch_in_sriov_config_daemon.sh nic 0000:5e:00.0 || echo done'`. By default, the first device is selected. If there is more than one device, you must specify which PCI address to be used. The PCI address must be the same on all nodes that are switching Bluefield-2 from DPU mode to NIC mode.
93+
<1> Optional: The PCI address of a specific card can optionally be specified, for example `ExecStart=/bin/bash -c '/etc/default/switch_in_sriov_config_daemon.sh nic 0000:5e:00.0 || echo done'`. By default, the first device is selected. If there is more than one device, you must specify which PCI address to be used. The PCI address must be the same on all nodes that are switching Bluefield-2 from DPU mode to NIC mode.
9494

95-
. Wait for the worker nodes to restart. After restarting, the Bluefield-2 network device on the worker nodes is switched into NIC mode.
95+
. Wait for the worker nodes to restart. After restarting, the Bluefield-2 network device on the worker nodes is switched into NIC mode.

networking/hardware_networks/switching-bf2-nic-dpu.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ toc::[]
88

99
You can switch the Bluefield-2 network device from data processing unit (DPU) mode to network interface controller (NIC) mode.
1010

11-
:FeatureName: Switching Bluefield-2 from data processing unit (DPU) mode to network interface controller (NIC) mode
12-
include::snippets/technology-preview.adoc[]
13-
1411
include::modules/proc-switching-bf2-nic.adoc[leveloffset=+1]
1512

1613
[role="_additional-resources"]
1714
.Additional resources
1815

19-
xref:../../networking/hardware_networks/installing-sriov-operator.adoc#installing-sr-iov-operator_installing-sriov-operator[Installing SR-IOV Network Operator]
16+
xref:../../networking/hardware_networks/installing-sriov-operator.adoc#installing-sr-iov-operator_installing-sriov-operator[Installing SR-IOV Network Operator]

0 commit comments

Comments
 (0)