2023-06-11 Intel 40G NIC を 4x10G にブレークアウトする

提供: hkatou_Lab
ナビゲーションに移動 検索に移動

Intel XL710-QDA2 40G x2 ポート NIC を、4x10G x1 のブレークアウト接続に変更します。

OS は EVE-NG Beremetal の Ubuntu です。

手順

  1. Intel のサイトから Ethernet Port Configuration ToolREADME をダウンロードする
  2. 使いたい OS にツールをインストール or コピーする
  3. コマンドを実行して、ブレークアウトしたい NIC の番号を調べる
  4. 現在の NIC のモードを確認する
  5. NIC に対して、4x10G にモードを変更する
  6. OS を再起動する

詳細

3. ./epct64e -devices コマンドを実行して、ブレークアウトしたい NIC の番号を調べる

# ./epct64e -devices
Ethernet Port Configuration Tool
EPCT version: v1.39.32.05
Copyright 2019 - 2023 Intel Corporation.

NIC Seg:Bus:Fun   Ven-Dev   Connector Ports Speed    Quads  Lanes per PF
=== ============= ========= ========= ===== ======== ====== ============
 1) 000:003:00-03 8086-1583 QSFP      4     10  Gbps -      -

Warning: Any changes to the port option configuration will require a reboot before the device will function correctly.

All actions succeeded.

このログはすでに 4x10G に変更した後のものです。

実行権限がない場合は、chmod 755 epct64e で権限をつけましょう。

4. 現在の NIC のモードを確認する

# ./epct64e -nic=1 -get
Ethernet Port Configuration Tool
EPCT version: v1.39.32.05
Copyright 2019 - 2023 Intel Corporation.

Available Port Options:
======================================
 Active  Port
 Option  Option (Gbps)
======== =============================
         1x40
         2x40
    X    4x10
         2x2x10A
         2x2x10B

Warning: Any changes to the port option configuration will require a reboot before the device will function correctly.

All actions succeeded.

XL710-QDA2 の場合、1 ポート目のみ 4x10G にモード変更でき、2 ポート目は使用できない模様です。

2 ポート目が認識されませんでした。おそらく 2x4x10 モードが存在しないと考えられます。

5. NIC に対して、4x10G にモードを変更する

# ./epct64e -nic=1 -set 4x10
Ethernet Port Configuration Tool
EPCT version: v1.39.32.05
Copyright 2019 - 2023 Intel Corporation.

The same port option has been selected - no change is needed.
The same port option has been selected - no change is needed.

All actions succeeded.

6. OS を再起動する

付録

Mellanox ConnectX-4 40G NIC は、ブレークアウト接続に対応しません。