|
| 1 | +.. license-header |
| 2 | + SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
| 3 | + SPDX-License-Identifier: Apache-2.0 |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +
|
| 17 | +.. headings # #, * *, =, -, ^, " |
| 18 | +
|
| 19 | +.. include:: ../common/vars.rst |
| 20 | + |
| 21 | +************************************************** |
| 22 | +[TECH PREVIEW] NVIDIA Spectrum-X NIC Configuration |
| 23 | +************************************************** |
| 24 | + |
| 25 | +.. contents:: On this page |
| 26 | + :depth: 4 |
| 27 | + :local: |
| 28 | + :backlinks: none |
| 29 | + |
| 30 | + |
| 31 | +`NVIDIA NIC Configuration Operator <https://github.com/Mellanox/nic-configuration-operator>`_ offers NVIDIA Spectrum-X-specific NIC configuration for different versions of the Reference Architecture. |
| 32 | + |
| 33 | +.. note:: Currently, only ConnectX-8 (device ID 1023) and BlueField-3 SuperNIC (device ID a2dc) devices are supported for this configuration. |
| 34 | + |
| 35 | +.. warning:: Tech Preview feature. |
| 36 | + |
| 37 | +==================================================== |
| 38 | +Install and configure the NIC Configuration Operator |
| 39 | +==================================================== |
| 40 | + |
| 41 | +To install the operator and for more information about the CRDs follow the `NIC FW Configuration <nic-fw-configuration.rst>`_ and `Configuration Details <configuration-details.rst>`_ doc articles. |
| 42 | + |
| 43 | +============================================= |
| 44 | +Provision the DOCA SPC-X CC algorithm package |
| 45 | +============================================= |
| 46 | + |
| 47 | +To enable the DOCA SPC-X CC algorithm on NIC devices, the DOCA SPC-X CC .deb package for ubuntu 22.04 is required. This configuration step will be removed in the future, once the DOCA SPC-X CC algorithm will be publicly available. |
| 48 | +To access the package, contact your NVIDIA CPM. |
| 49 | +The package should be made available in the cluster and then its URL should be provided in the packageUrlSource field of the SpectrumXOperator CR. |
| 50 | + |
| 51 | +.. rli:: https://raw.githubusercontent.com/Mellanox/nic-configuration-operator/refs/tags/network-operator-|network-operator-version|/docs/examples/spectrum-x/example-nicfirmwaresource-spectrum-x-cc-only.yaml |
| 52 | + :language: yaml |
| 53 | + :lines: 18- |
| 54 | + |
| 55 | +If firmware on the devices also needs to be updated, extend the NicFirmwareSource CR with fields for ConnectX and BlueField firmware. Please, use the correct firmware for your devices. |
| 56 | + |
| 57 | +.. rli:: https://raw.githubusercontent.com/Mellanox/nic-configuration-operator/refs/tags/network-operator-|network-operator-version|/docs/examples/spectrum-x/example-nicfirmwaresource-spectrum-x-full.yaml |
| 58 | + :language: yaml |
| 59 | + :lines: 18- |
| 60 | + |
| 61 | +Configure and apply the NicFirmwareTemplate CR: |
| 62 | + |
| 63 | +.. rli:: https://raw.githubusercontent.com/Mellanox/nic-configuration-operator/refs/tags/network-operator-|network-operator-version|/docs/examples/spectrum-x/example-nicfirmwaretemplate-spectrum-x.yaml |
| 64 | + :language: yaml |
| 65 | + :lines: 18- |
| 66 | + |
| 67 | +====================================== |
| 68 | +Enable SPC-X optimizations for devices |
| 69 | +====================================== |
| 70 | + |
| 71 | +.. rli:: https://raw.githubusercontent.com/Mellanox/nic-configuration-operator/refs/tags/network-operator-|network-operator-version|/docs/examples/spectrum-x/example-nicconfigurationtemplate-spectrum-x.yaml |
| 72 | + :language: yaml |
| 73 | + :lines: 18- |
| 74 | + |
| 75 | +--------------------- |
| 76 | +Configuration details |
| 77 | +--------------------- |
| 78 | + |
| 79 | +Following configuration parameters are applied with spectrumXOptimized.enabled == true and spectrumXOptimized.version == "RA2.0": |
| 80 | + |
| 81 | +.. rli:: https://raw.githubusercontent.com/Mellanox/nic-configuration-operator/refs/tags/network-operator-|network-operator-version|/bindata/spectrum-x/RA2.0.yaml |
| 82 | + :language: yaml |
| 83 | + :lines: 17- |
0 commit comments