{"id":18271,"date":"2025-11-05T07:24:12","date_gmt":"2025-11-05T07:24:12","guid":{"rendered":"https:\/\/www.fibermall.com\/blog\/?p=18271"},"modified":"2026-07-17T09:19:02","modified_gmt":"2026-07-17T09:19:02","slug":"switching-nvidia-connectx-series-nics-from-infiniband-to-ethernet-mode-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm","title":{"rendered":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode"},"content":{"rendered":"\n<p>A data center team installs an NVIDIA ConnectX adapter in an AI server and connects it to an Ethernet switch. Linux detects the PCIe device, the NVIDIA driver loads successfully, and the optical module is present\u2014but the Ethernet link remains down.<\/p>\n\n\n\n<p>In many cases, the problem is not the cable or switch. The ConnectX port is still configured for InfiniBand.<\/p>\n\n\n\n<p>Selected NVIDIA ConnectX Virtual Protocol Interconnect, or VPI, adapters can operate in either InfiniBand or Ethernet mode. This allows the same network card to support an InfiniBand AI fabric today and a RoCE v2 Ethernet network later without replacing the hardware.<\/p>\n\n\n\n<p>This flexibility is especially important for <strong>ConnectX-7<\/strong>\u00a0and <strong>ConnectX-8<\/strong>. ConnectX-7 is widely deployed in <a href=\"https:\/\/www.fibermall.com\/store-21995-400g-ndr-infiniband.htm\" target=\"_blank\" rel=\"noreferrer noopener\">400G NDR InfiniBand<\/a> and 400GbE networks, while ConnectX-8 targets 800G XDR InfiniBand and next-generation 800GbE AI infrastructure.<\/p>\n\n\n\n<p>The basic switching process is similar on both generations. However, ConnectX-8 may require additional attention to port layout, PCIe bandwidth, connector type, and 800G optics.<\/p>\n\n\n\n<p>This guide explains how to switch a supported ConnectX-7 or ConnectX-8 adapter from InfiniBand to Ethernet mode, configure the Linux interface, verify RoCE v2, and troubleshoot common 400G and 800G link problems.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-7_vs_ConnectX-8_Key_Differences\" >ConnectX-7 vs ConnectX-8: Key Differences<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Confirm_That_the_ConnectX_Card_Supports_VPI\" >Confirm That the ConnectX Card Supports VPI<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Ethernet_Mode_Is_Not_the_Same_as_RoCE_v2\" >Ethernet Mode Is Not the Same as RoCE v2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_1_Identify_the_ConnectX_Adapter\" >Step 1: Identify the ConnectX Adapter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_2_Start_NVIDIA_Firmware_Tools\" >Step 2: Start NVIDIA Firmware Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_3_Query_the_Current_Link_Type\" >Step 3: Query the Current Link Type<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_4_Back_Up_the_Current_Configuration\" >Step 4: Back Up the Current Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_5_Switch_ConnectX-7_to_Ethernet_Mode\" >Step 5: Switch ConnectX-7 to Ethernet Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_6_Switch_ConnectX-8_to_Ethernet_Mode\" >Step 6: Switch ConnectX-8 to Ethernet Mode<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-8_C8180\" >ConnectX-8 C8180<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-8_C8240\" >ConnectX-8 C8240<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_7_Reboot_or_Power-Cycle_the_Server\" >Step 7: Reboot or Power-Cycle the Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_8_Verify_the_Active_Ethernet_Link_Layer\" >Step 8: Verify the Active Ethernet Link Layer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_9_Identify_and_Configure_the_Ethernet_Interface\" >Step 9: Identify and Configure the Ethernet Interface<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_10_Check_Driver_Speed_and_FEC\" >Step 10: Check Driver, Speed, and FEC<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-7_Ethernet_Compatibility\" >ConnectX-7 Ethernet Compatibility<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-8_Ethernet_Compatibility\" >ConnectX-8 Ethernet Compatibility<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_11_Verify_RoCE_v2\" >Step 11: Verify RoCE v2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Step_12_Test_Ethernet_and_RDMA_Connectivity\" >Step 12: Test Ethernet and RDMA Connectivity<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Common_Problems_After_Switching_ConnectX_Modes\" >Common Problems After Switching ConnectX Modes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Ethernet_Mode_Is_Active_but_the_Link_Is_Down\" >Ethernet Mode Is Active, but the Link Is Down<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#LINK_TYPE_Is_Missing\" >LINK_TYPE Is Missing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-8_Runs_at_400G_Instead_of_800G\" >ConnectX-8 Runs at 400G Instead of 800G<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#IP_Traffic_Works_but_RoCE_v2_Does_Not\" >IP Traffic Works, but RoCE v2 Does Not<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#ConnectX-7_or_ConnectX-8_Which_Should_You_Use\" >ConnectX-7 or ConnectX-8: Which Should You Use?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#FAQ\" >FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Can_every_ConnectX-7_and_ConnectX-8_card_switch_between_InfiniBand_and_Ethernet\" >Can every ConnectX-7 and ConnectX-8 card switch between InfiniBand and Ethernet?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#What_does_LINK_TYPE_P12_mean\" >What does LINK_TYPE_P1=2&nbsp;mean?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Can_I_use_the_same_command_on_ConnectX-7_and_ConnectX-8\" >Can I use the same command on ConnectX-7 and ConnectX-8?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Does_switching_ConnectX_to_Ethernet_automatically_enable_RoCE_v2\" >Does switching ConnectX to Ethernet automatically enable RoCE v2?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Does_ConnectX-8_require_PCIe_Gen6\" >Does ConnectX-8 require PCIe Gen6?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Can_ConnectX-8_reuse_ConnectX-7_optics\" >Can ConnectX-8 reuse ConnectX-7 optics?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#How_do_I_verify_Ethernet_mode\" >How do I verify Ethernet mode?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\/#Why_is_the_ConnectX_link_still_down_after_switching_modes\" >Why is the ConnectX link still down after switching modes?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-7_vs_ConnectX-8_Key_Differences\"><\/span><strong>ConnectX-7 vs ConnectX-8: Key Differences<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/www.fibermall.com\/blog\/connectx-7-vs-connectx-8.htm\" target=\"_blank\" rel=\"noreferrer noopener\">ConnectX-7 and ConnectX-8 <\/a>share the same general VPI architecture, but they are designed for different network generations.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Feature<\/strong><strong><\/strong><\/td><td><strong>ConnectX-7<\/strong><strong><\/strong><\/td><td><strong>ConnectX-8<\/strong><strong><\/strong><\/td><\/tr><tr><td>Maximum bandwidth<\/td><td>Up to 400Gb\/s<\/td><td>Up to 800Gb\/s<\/td><\/tr><tr><td>InfiniBand generation<\/td><td>NDR<\/td><td>XDR<\/td><\/tr><tr><td>Ethernet capability<\/td><td>Up to 400GbE<\/td><td>Up to 800GbE or dual 400GbE<\/td><\/tr><tr><td>Host interface<\/td><td>PCIe Gen5 x16<\/td><td>PCIe Gen6-class connectivity<\/td><\/tr><tr><td>Common NIC connector<\/td><td>OSFP or dual QSFP112<\/td><td>OSFP-RHS or dual QSFP112<\/td><\/tr><tr><td>Typical GPU platforms<\/td><td>H100, H200, B200<\/td><td>B300, GB300 and newer platforms<\/td><\/tr><tr><td>Configuration complexity<\/td><td>Usually a standard link-type change<\/td><td>May also require port-layout changes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For most ConnectX-7 VPI adapters, switching modes mainly involves changing LINK_TYPE_P1&nbsp;or LINK_TYPE_P2&nbsp;with mlxconfig, followed by a reboot.<\/p>\n\n\n\n<p>ConnectX-8 follows the same general principle, but the exact process depends more heavily on the adapter model. Moving between one 800G port and two 400G ports may require additional port-splitting or physical-function settings.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\" alt=\"ConnectX-7 vs ConnectX-8 Side-by-Side Specifications\" class=\"wp-image-19850\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png 800w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications-300x169.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Confirm_That_the_ConnectX_Card_Supports_VPI\"><\/span><strong>Confirm That the ConnectX Card Supports VPI<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Not every product carrying the ConnectX name supports both InfiniBand and Ethernet.<\/p>\n\n\n\n<p>Before changing any setting, verify:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The full NVIDIA ordering part number<\/li>\n\n\n\n<li>Whether the adapter is a VPI model<\/li>\n\n\n\n<li>The number and type of physical ports<\/li>\n\n\n\n<li>Supported InfiniBand and Ethernet speeds<\/li>\n\n\n\n<li>Current firmware and PSID<\/li>\n\n\n\n<li>Available mlxconfig\u00a0parameters<\/li>\n\n\n\n<li>Required switch, cable, and transceiver configuration<\/li>\n<\/ul>\n\n\n\n<p>A ConnectX family name alone is not enough. Some ConnectX-7 and ConnectX-8 variants may be Ethernet-only or use model-specific configurations.<\/p>\n\n\n\n<p>If LINK_TYPE_P1&nbsp;or LINK_TYPE_P2&nbsp;does not appear in the mlxconfig&nbsp;output, the adapter may not support a conventional VPI mode change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ethernet_Mode_Is_Not_the_Same_as_RoCE_v2\"><\/span><strong>Ethernet Mode Is Not the Same as RoCE v2<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Changing the ConnectX port to Ethernet mode changes the link layer. It allows the adapter to connect to an Ethernet switch and appear as a Linux Ethernet interface.<\/p>\n\n\n\n<p>RoCE v2 is an RDMA transport that operates over UDP\/IP. A complete RoCE v2 deployment also requires:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An IP address<\/li>\n\n\n\n<li>Valid RoCE v2 GID entries<\/li>\n\n\n\n<li>RDMA drivers and userspace tools<\/li>\n\n\n\n<li>Correct MTU<\/li>\n\n\n\n<li>Compatible VLAN and routing configuration<\/li>\n\n\n\n<li>Proper switch QoS<\/li>\n\n\n\n<li>Congestion control such as PFC and ECN<\/li>\n<\/ul>\n\n\n\n<p>The firmware change enables Ethernet. The host and network configuration enable RoCE v2.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span><strong>Prerequisites<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Prepare the following before changing the ConnectX configuration:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A supported ConnectX-7 or ConnectX-8 VPI adapter<\/li>\n\n\n\n<li>Root or sudo\u00a0access<\/li>\n\n\n\n<li>NVIDIA Firmware Tools, including mst\u00a0and mlxconfig\u00a0<\/li>\n\n\n\n<li>A compatible mlx5_core\u00a0driver<\/li>\n\n\n\n<li>RDMA utilities<\/li>\n\n\n\n<li>A maintenance window<\/li>\n\n\n\n<li>A compatible Ethernet switch port<\/li>\n\n\n\n<li>Correct optics, AOC, or DAC<\/li>\n\n\n\n<li>IP, VLAN, gateway, and MTU information<\/li>\n\n\n\n<li>A backup of the current configuration<\/li>\n<\/ul>\n\n\n\n<p>The examples below use:<\/p>\n\n\n\n<p>MST device: \/dev\/mst\/mt4129_pciconf0<\/p>\n\n\n\n<p>RDMA device: mlx5_0<\/p>\n\n\n\n<p>Ethernet interface: ens5f0np0<\/p>\n\n\n\n<p>Port: 1<\/p>\n\n\n\n<p>Replace these values with the names detected on your system.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Ethernet-Mode-Is-Not-the-Same-as-RoCE-v2.png\" alt=\"Ethernet Mode Is Not the Same as RoCE v2\" class=\"wp-image-19851\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Ethernet-Mode-Is-Not-the-Same-as-RoCE-v2.png 800w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Ethernet-Mode-Is-Not-the-Same-as-RoCE-v2-300x169.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Ethernet-Mode-Is-Not-the-Same-as-RoCE-v2-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Identify_the_ConnectX_Adapter\"><\/span><strong>Step 1: Identify the ConnectX Adapter<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Confirm that Linux detects the NIC:<\/p>\n\n\n\n<p>lspci -nn&nbsp;| grep&nbsp;-i&nbsp;-E&nbsp;&#8220;Mellanox|NVIDIA&#8221;<\/p>\n\n\n\n<p>Check the active driver:<\/p>\n\n\n\n<p>lspci -k&nbsp;-s&nbsp;&lt;PCI-address&gt;<\/p>\n\n\n\n<p>Look for:<\/p>\n\n\n\n<p>Kernel driver in use: mlx5_core<\/p>\n\n\n\n<p>You can also check the loaded modules:<\/p>\n\n\n\n<p>lsmod | grep&nbsp;mlx5<\/p>\n\n\n\n<p>Typical modules include:<\/p>\n\n\n\n<p>mlx5_core<\/p>\n\n\n\n<p>mlx5_ib<\/p>\n\n\n\n<p>Record the PCIe address, ConnectX generation, ordering part number, firmware version, and current interface names.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Start_NVIDIA_Firmware_Tools\"><\/span><strong>Step 2: Start NVIDIA Firmware Tools<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Start the MST driver:<\/p>\n\n\n\n<p>sudo&nbsp;mst start<\/p>\n\n\n\n<p>Then display the detected devices:<\/p>\n\n\n\n<p>sudo&nbsp;mst status -v<\/p>\n\n\n\n<p>A ConnectX-7 device may appear similar to:<\/p>\n\n\n\n<p>DEVICE_TYPE &nbsp;&nbsp;&nbsp;&nbsp;MST &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PCI<\/p>\n\n\n\n<p>ConnectX7 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/dev\/mst\/mt4129_pciconf0 &nbsp;&nbsp;&nbsp;&nbsp;5e:00.0<\/p>\n\n\n\n<p>A ConnectX-8 card will use a different device identifier. Copy the exact \/dev\/mst\/&nbsp;path for the next steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Query_the_Current_Link_Type\"><\/span><strong>Step 3: Query the Current Link Type<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Run:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 query<\/p>\n\n\n\n<p>To display the most relevant settings:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 query \\<\/p>\n\n\n\n<p>| grep&nbsp;-E&nbsp;&#8220;LINK_TYPE|SPLIT|PORT|NUM_OF_PF&#8221;<\/p>\n\n\n\n<p>A typical ConnectX-7 VPI result may show:<\/p>\n\n\n\n<p>LINK_TYPE_P1 &nbsp;&nbsp;&nbsp;IB(1)<\/p>\n\n\n\n<p>LINK_TYPE_P2 &nbsp;&nbsp;&nbsp;IB(1)<\/p>\n\n\n\n<p>The common values are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1\u00a0means InfiniBand.<\/li>\n\n\n\n<li>2\u00a0means Ethernet.<\/li>\n<\/ul>\n\n\n\n<p>Another possible configuration is:<\/p>\n\n\n\n<p>LINK_TYPE_P1 &nbsp;&nbsp;&nbsp;ETH(2)<\/p>\n\n\n\n<p>LINK_TYPE_P2 &nbsp;&nbsp;&nbsp;IB(1)<\/p>\n\n\n\n<p>This means Port 1 is Ethernet and Port 2 is InfiniBand.<\/p>\n\n\n\n<p>For ConnectX-8, inspect the complete output. Additional parameters may control port splitting, physical functions, or the number of active links.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Back_Up_the_Current_Configuration\"><\/span><strong>Step 4: Back Up the Current Configuration<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Save the current firmware settings before making changes:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 query \\<\/p>\n\n\n\n<p>&gt; connectx-config-before-change.txt<\/p>\n\n\n\n<p>Save the firmware information:<\/p>\n\n\n\n<p>sudo&nbsp;flint -d&nbsp;\/dev\/mst\/mt4129_pciconf0 query \\<\/p>\n\n\n\n<p>&gt; connectx-firmware-before-change.txt<\/p>\n\n\n\n<p>Record the current network and RDMA interfaces:<\/p>\n\n\n\n<p>ip -br&nbsp;link &gt; network-interfaces-before-change.txt<\/p>\n\n\n\n<p>rdma link show &gt; rdma-links-before-change.txt<\/p>\n\n\n\n<p>This backup is useful if the interface names or port mappings change after rebooting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Switch_ConnectX-7_to_Ethernet_Mode\"><\/span><strong>Step 5: Switch ConnectX-7 to Ethernet Mode<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To switch Port 1 of a supported ConnectX-7 VPI adapter to Ethernet:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 \\set&nbsp;LINK_TYPE_P1=2<\/p>\n\n\n\n<p>Confirm the change when prompted.<\/p>\n\n\n\n<p>To switch both ports to Ethernet:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 \\set&nbsp;LINK_TYPE_P1=2&nbsp;LINK_TYPE_P2=2<\/p>\n\n\n\n<p>To keep Port 1 in Ethernet and Port 2 in InfiniBand:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 \\set&nbsp;LINK_TYPE_P1=2&nbsp;LINK_TYPE_P2=1<\/p>\n\n\n\n<p>To restore Port 1 to InfiniBand:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/mt4129_pciconf0 \\set&nbsp;LINK_TYPE_P1=1<\/p>\n\n\n\n<p>For most ConnectX-7 VPI deployments, changing the LINK_TYPE&nbsp;value is the main firmware modification required.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container \" style=\"height: 100%;\"><iframe title=\"Unboxing the NVIDIA ConnectX-8 SuperNIC: 1.6T\/800G InfiniBand Interconnection Domo | FiberMall\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kktuzospV0c?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Switch_ConnectX-8_to_Ethernet_Mode\"><\/span><strong>Step 6: Switch ConnectX-8 to Ethernet Mode<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Start with the same discovery process:<\/p>\n\n\n\n<p>sudo&nbsp;mst startsudo&nbsp;mst status -vsudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/&lt;connectx8-device&gt; query<\/p>\n\n\n\n<p>If the exact ConnectX-8 model exposes LINK_TYPE_P1, Ethernet mode may use the same syntax:<\/p>\n\n\n\n<p>sudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/&lt;connectx8-device&gt; \\set&nbsp;LINK_TYPE_P1=2<\/p>\n\n\n\n<p>However, this command may not be sufficient for every ConnectX-8 adapter.<\/p>\n\n\n\n<p>ConnectX-8 may support several physical configurations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One 800G XDR InfiniBand port<\/li>\n\n\n\n<li>One 800GbE port<\/li>\n\n\n\n<li>Two 400GbE ports<\/li>\n\n\n\n<li>Dual QSFP112 links<\/li>\n\n\n\n<li>Split-port or multi-function configurations<\/li>\n<\/ul>\n\n\n\n<p>Moving from one 800G port to two 400G Ethernet links may require additional port-splitting or physical-function settings. Review the complete mlxconfig&nbsp;output and the instructions for the exact ConnectX-8 ordering part number.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-8_C8180\"><\/span><strong>ConnectX-8 C8180<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><a href=\"https:\/\/www.fibermall.com\/sale-462780-nvidia-c8180-900-9x81e-00ex-st0.htm\" target=\"_blank\" rel=\"noreferrer noopener\">The ConnectX-8 C8180 <\/a>is generally associated with a single OSFP-RHS interface and maximum single-link bandwidth.<\/p>\n\n\n\n<p>Before configuring it for Ethernet, confirm:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Whether the target speed is 800GbE or a lower rate<\/li>\n\n\n\n<li>Whether the server provides sufficient PCIe bandwidth<\/li>\n\n\n\n<li>Whether the module is a single-port OSFP-RHS design<\/li>\n\n\n\n<li>Whether the switch supports the same lane structure<\/li>\n\n\n\n<li>Whether a port-width change is required<\/li>\n<\/ul>\n\n\n\n<p>Do not install a twin-port OSFP-IHS module designed for a switch in an OSFP-RHS NIC cage.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"800\" height=\"533\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-6-Switch-ConnectX-8-to-Ethernet-Mode.png\" alt=\"Step 6 Switch ConnectX-8 to Ethernet Mode\" class=\"wp-image-19852\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-6-Switch-ConnectX-8-to-Ethernet-Mode.png 800w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-6-Switch-ConnectX-8-to-Ethernet-Mode-300x200.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-6-Switch-ConnectX-8-to-Ethernet-Mode-768x512.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-8_C8240\"><\/span><strong>ConnectX-8 C8240<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The ConnectX-8 C8240 uses a dual-QSFP112 design and is more suitable for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Two independent 400G connections<\/li>\n\n\n\n<li>Dual-homed server connectivity<\/li>\n\n\n\n<li>Redundant Ethernet fabrics<\/li>\n\n\n\n<li>Existing QSFP112 cabling<\/li>\n<\/ul>\n\n\n\n<p>Each port must be configured according to the required Ethernet or InfiniBand topology.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_7_Reboot_or_Power-Cycle_the_Server\"><\/span><strong>Step 7: Reboot or Power-Cycle the Server<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Apply the new configuration:<\/p>\n\n\n\n<p>sudo&nbsp;reboot<\/p>\n\n\n\n<p>A normal reboot is often sufficient for a ConnectX-7 link-type change.<\/p>\n\n\n\n<p>For ConnectX-8, especially after changing port width, port splitting, or physical functions, a full power cycle may be required.<\/p>\n\n\n\n<p>After startup, run:<\/p>\n\n\n\n<p>sudo&nbsp;mst startsudo&nbsp;mlxconfig -d&nbsp;\/dev\/mst\/&lt;device&gt; query \\<\/p>\n\n\n\n<p>| grep&nbsp;-E&nbsp;&#8220;LINK_TYPE|SPLIT|PORT|NUM_OF_PF&#8221;<\/p>\n\n\n\n<p>Confirm that the protocol and physical port layout match the intended Ethernet configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_8_Verify_the_Active_Ethernet_Link_Layer\"><\/span><strong>Step 8: Verify the Active Ethernet Link Layer<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Check the active link layer:<\/p>\n\n\n\n<p>cat&nbsp;\/sys\/class\/infiniband\/mlx5_0\/ports\/1\/link_layer<\/p>\n\n\n\n<p>Expected output:<\/p>\n\n\n\n<p>Ethernet<\/p>\n\n\n\n<p>You can also run:<\/p>\n\n\n\n<p>ibv_devinfo -d&nbsp;mlx5_0<\/p>\n\n\n\n<p>Look for:<\/p>\n\n\n\n<p>link_layer: Ethernet<\/p>\n\n\n\n<p>This confirms that the firmware change is active. The physical link may still remain down if the switch, transceiver, speed, FEC, or breakout settings do not match.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_9_Identify_and_Configure_the_Ethernet_Interface\"><\/span><strong>Step 9: Identify and Configure the Ethernet Interface<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>List the available network interfaces:<\/p>\n\n\n\n<p>ip -br&nbsp;link<\/p>\n\n\n\n<p>Map the RDMA device to the Ethernet interface:<\/p>\n\n\n\n<p>ibdev2netdev<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>mlx5_0 port 1 ==&gt; ens5f0np0 (Down)<\/p>\n\n\n\n<p>For a temporary IP configuration:<\/p>\n\n\n\n<p>sudo&nbsp;ip link set&nbsp;ens5f0np0 upsudo&nbsp;ip address add 192.168.10.10\/24 dev ens5f0np0<\/p>\n\n\n\n<p>For NetworkManager:<\/p>\n\n\n\n<p>sudo&nbsp;nmcli connection add \\<\/p>\n\n\n\n<p>type ethernet \\<\/p>\n\n\n\n<p>ifname ens5f0np0 \\<\/p>\n\n\n\n<p>con-name connectx-ethernet \\<\/p>\n\n\n\n<p>ipv4.method manual \\<\/p>\n\n\n\n<p>ipv4.addresses 192.168.10.10\/24 \\<\/p>\n\n\n\n<p>ipv4.gateway 192.168.10.1<\/p>\n\n\n\n<p>Activate the connection:<\/p>\n\n\n\n<p>sudo&nbsp;nmcli connection up connectx-ethernet<\/p>\n\n\n\n<p>Only enable jumbo frames when the complete path supports the same MTU.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_10_Check_Driver_Speed_and_FEC\"><\/span><strong>Step 10: Check Driver, Speed, and FEC<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Display the ConnectX driver and firmware:<\/p>\n\n\n\n<p>ethtool -i&nbsp;ens5f0np0<\/p>\n\n\n\n<p>Inspect the physical link:<\/p>\n\n\n\n<p>ethtool ens5f0np0<\/p>\n\n\n\n<p>A ConnectX-7 400GbE link may report:<\/p>\n\n\n\n<p>Speed: 400000Mb\/s<\/p>\n\n\n\n<p>Link detected: yes<\/p>\n\n\n\n<p>A ConnectX-8 800GbE link may report:<\/p>\n\n\n\n<p>Speed: 800000Mb\/s<\/p>\n\n\n\n<p>Link detected: yes<\/p>\n\n\n\n<p>Check FEC:<\/p>\n\n\n\n<p>ethtool &#8211;show-fec&nbsp;ens5f0np0<\/p>\n\n\n\n<p>Inspect port counters:<\/p>\n\n\n\n<p>ethtool -S&nbsp;ens5f0np0<\/p>\n\n\n\n<p>ip -s&nbsp;link show ens5f0np0<\/p>\n\n\n\n<p>Avoid forcing the speed with ethtool -s&nbsp;unless the ConnectX NIC, switch, optics, lane structure, and FEC settings are confirmed to match.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-7_Ethernet_Compatibility\"><\/span><strong>ConnectX-7 Ethernet Compatibility<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>ConnectX-7 is commonly used for 400GbE, 200GbE, 100GbE, and supported breakout configurations.<\/p>\n\n\n\n<p>For a stable Ethernet link, confirm:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The switch port is configured for Ethernet.<\/li>\n\n\n\n<li>Both ends use the same speed.<\/li>\n\n\n\n<li>The transceiver supports the same lane structure.<\/li>\n\n\n\n<li>FEC settings match.<\/li>\n\n\n\n<li>The breakout configuration is correct.<\/li>\n\n\n\n<li>The optical interface and fiber type are compatible.<\/li>\n<\/ul>\n\n\n\n<p>A 400G port cannot automatically communicate with four independent 100G endpoints unless the switch, cable, and port configuration support the required breakout mapping.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-8_Ethernet_Compatibility\"><\/span><strong>ConnectX-8 Ethernet Compatibility<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>ConnectX-8 introduces 800G-class networking and stricter physical-layer requirements.<\/p>\n\n\n\n<p>A full 800G link may require:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A PCIe Gen6-class server<\/li>\n\n\n\n<li>A correctly configured ConnectX-8 port<\/li>\n\n\n\n<li>An 800G Ethernet switch port<\/li>\n\n\n\n<li>Compatible OSFP-RHS optics or AOC<\/li>\n\n\n\n<li>Matching electrical lane rates<\/li>\n\n\n\n<li>Correct FEC and fiber type<\/li>\n\n\n\n<li>Suitable power and cooling<\/li>\n<\/ul>\n\n\n\n<p>A ConnectX-8 card may operate in a PCIe Gen5 server, but the host bus can limit full 800G throughput.<\/p>\n\n\n\n<p>Do not assume that every 800G OSFP module works in every OSFP cage. Confirm:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>OSFP-RHS versus OSFP-IHS<\/li>\n\n\n\n<li>Single-port versus twin-port construction<\/li>\n\n\n\n<li>Module power class<\/li>\n\n\n\n<li>Electrical lane rate<\/li>\n\n\n\n<li>Optical specification<\/li>\n\n\n\n<li>NIC and switch compatibility<\/li>\n<\/ul>\n\n\n\n<p>Full ConnectX-8 performance requires an end-to-end 800G-capable chain, from the host PCIe interface to the switch port.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_11_Verify_RoCE_v2\"><\/span><strong>Step 11: Verify RoCE v2<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After assigning an IP address, inspect the GID entries:<\/p>\n\n\n\n<p>show_gids<\/p>\n\n\n\n<p>Alternatively:<\/p>\n\n\n\n<p>grep&nbsp;-H&nbsp;. \\<\/p>\n\n\n\n<p>\/sys\/class\/infiniband\/mlx5_0\/ports\/1\/gid_attrs\/types\/*<\/p>\n\n\n\n<p>Possible entries include:<\/p>\n\n\n\n<p>RoCE v1<\/p>\n\n\n\n<p>RoCE v2<\/p>\n\n\n\n<p>Check the RDMA_CM mode:<\/p>\n\n\n\n<p>cma_roce_mode -d&nbsp;mlx5_0 -p&nbsp;1<\/p>\n\n\n\n<p>To select RoCE v2:<\/p>\n\n\n\n<p>sudo&nbsp;cma_roce_mode -d&nbsp;mlx5_0 -p&nbsp;1&nbsp;-m&nbsp;2<\/p>\n\n\n\n<p>The commonly used values are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1\u00a0for RoCE v1<\/li>\n\n\n\n<li>2\u00a0for RoCE v2<\/li>\n<\/ul>\n\n\n\n<p>The correct utility is cma_roce_mode, not cma_core_mode.<\/p>\n\n\n\n<p>Remember that this command selects the preferred RoCE GID type for RDMA_CM applications. It does not change the physical port from InfiniBand to Ethernet.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-11-Verify-RoCE-v2.png\" alt=\"Step 11 Verify RoCE v2\" class=\"wp-image-19853\" style=\"width:800px\" srcset=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-11-Verify-RoCE-v2.png 800w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-11-Verify-RoCE-v2-300x169.png 300w, https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/Step-11-Verify-RoCE-v2-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_12_Test_Ethernet_and_RDMA_Connectivity\"><\/span><strong>Step 12: Test Ethernet and RDMA Connectivity<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Test standard Ethernet connectivity:<\/p>\n\n\n\n<p>ping&nbsp;-c&nbsp;4&nbsp;192.168.10.20<\/p>\n\n\n\n<p>Test TCP throughput with iperf3.<\/p>\n\n\n\n<p>On the remote server:<\/p>\n\n\n\n<p>iperf3 -s<\/p>\n\n\n\n<p>On the ConnectX host:<\/p>\n\n\n\n<p>iperf3 -c&nbsp;192.168.10.20 -P&nbsp;16<\/p>\n\n\n\n<p>A single TCP stream will usually not saturate a 400G or 800G connection.<\/p>\n\n\n\n<p>For RDMA testing, use tools such as:<\/p>\n\n\n\n<p>rping<\/p>\n\n\n\n<p>ib_write_bw -R<\/p>\n\n\n\n<p>ib_read_bw -R<\/p>\n\n\n\n<p>Performance testing should also consider:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PCIe link width<\/li>\n\n\n\n<li>NUMA placement<\/li>\n\n\n\n<li>CPU affinity<\/li>\n\n\n\n<li>Message size<\/li>\n\n\n\n<li>MTU<\/li>\n\n\n\n<li>Queue count<\/li>\n\n\n\n<li>Switch QoS<\/li>\n\n\n\n<li>Congestion control<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Problems_After_Switching_ConnectX_Modes\"><\/span><strong>Common Problems After Switching ConnectX Modes<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ethernet_Mode_Is_Active_but_the_Link_Is_Down\"><\/span><strong>Ethernet Mode Is Active, but the Link Is Down<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Possible causes include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The switch port is still configured for InfiniBand.<\/li>\n\n\n\n<li>The two ends use different speeds.<\/li>\n\n\n\n<li>The breakout configuration is incorrect.<\/li>\n\n\n\n<li>FEC settings do not match.<\/li>\n\n\n\n<li>The transceiver is unsupported.<\/li>\n\n\n\n<li>The connector or fiber polarity is wrong.<\/li>\n<\/ul>\n\n\n\n<p>Check:<\/p>\n\n\n\n<p>ethtool ens5f0np0<\/p>\n\n\n\n<p>ethtool &#8211;show-fec&nbsp;ens5f0np0<\/p>\n\n\n\n<p>dmesg | grep&nbsp;-i&nbsp;mlx5<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"LINK_TYPE_Is_Missing\"><\/span><strong>LINK_TYPE Is Missing<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Possible reasons include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The ConnectX card is Ethernet-only.<\/li>\n\n\n\n<li>The card is InfiniBand-only.<\/li>\n\n\n\n<li>The wrong MST device was selected.<\/li>\n\n\n\n<li>The firmware does not expose VPI settings.<\/li>\n\n\n\n<li>ConnectX-8 requires a model-specific configuration.<\/li>\n<\/ul>\n\n\n\n<p>Verify the complete ordering part number and firmware documentation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-8_Runs_at_400G_Instead_of_800G\"><\/span><strong>ConnectX-8 Runs at 400G Instead of 800G<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Check for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A PCIe Gen5 host limitation<\/li>\n\n\n\n<li>A dual-400G port configuration<\/li>\n\n\n\n<li>A 400G cable or transceiver<\/li>\n\n\n\n<li>A switch port limited to 400G<\/li>\n\n\n\n<li>An incorrect port-width setting<\/li>\n\n\n\n<li>NDR rather than XDR-rated connectivity<\/li>\n<\/ul>\n\n\n\n<p>The ConnectX-8 adapter alone cannot create an 800G link. Every component in the path must support 800G.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"IP_Traffic_Works_but_RoCE_v2_Does_Not\"><\/span><strong>IP Traffic Works, but RoCE v2 Does Not<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Check:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GID table and GID type<\/li>\n\n\n\n<li>VLAN and routing<\/li>\n\n\n\n<li>MTU<\/li>\n\n\n\n<li>PFC and ECN<\/li>\n\n\n\n<li>Traffic class<\/li>\n\n\n\n<li>Firewall settings<\/li>\n\n\n\n<li>RDMA driver versions<\/li>\n\n\n\n<li>Switch QoS configuration<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ConnectX-7_or_ConnectX-8_Which_Should_You_Use\"><\/span><strong>ConnectX-7 or ConnectX-8: Which Should You Use?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Choose ConnectX-7 when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The server uses PCIe Gen5.<\/li>\n\n\n\n<li>The fabric is based on 400G.<\/li>\n\n\n\n<li>The cluster uses H100, H200, or B200 systems.<\/li>\n\n\n\n<li>Existing 400G optics need to be reused.<\/li>\n\n\n\n<li>Cost and mature availability are priorities.<\/li>\n\n\n\n<li>The workload does not require 800G.<\/li>\n<\/ul>\n\n\n\n<p>Choose ConnectX-8 when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The server supports PCIe Gen6-class bandwidth.<\/li>\n\n\n\n<li>The target fabric is 800G.<\/li>\n\n\n\n<li>The deployment uses B300, GB300, or newer GPU systems.<\/li>\n\n\n\n<li>AI training performance is limited by inter-node bandwidth.<\/li>\n\n\n\n<li>The switch fabric and optics support 800G.<\/li>\n\n\n\n<li>Long-term infrastructure planning justifies the upgrade.<\/li>\n<\/ul>\n\n\n\n<p>ConnectX-7 remains the practical choice for mature 400G AI, HPC, storage, and cloud networks. ConnectX-8 is better suited to new 800G AI factories where the entire server-to-switch path can use the additional bandwidth.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Switching a supported NVIDIA ConnectX adapter from InfiniBand to Ethernet is straightforward in principle: identify the device, change the link type with mlxconfig, reboot the system, verify the Ethernet link layer, and configure the Ethernet and RoCE v2 settings.<\/p>\n\n\n\n<p>For ConnectX-7, the conventional LINK_TYPE_P1&nbsp;and LINK_TYPE_P2&nbsp;workflow is usually sufficient.<\/p>\n\n\n\n<p>For ConnectX-8, the same basic concept applies, but the adapter may also require model-specific port-splitting, physical-function, or port-layout settings. The correct process depends on whether the card uses a single OSFP-RHS port, dual QSFP112 ports, one 800G link, or two 400G links.<\/p>\n\n\n\n<p>The most important rule is to validate the complete connection. The ConnectX NIC, server PCIe bus, switch port, cable, transceiver, lane structure, FEC, and RoCE configuration must all match. A correct firmware setting cannot compensate for an incompatible 400G or 800G physical link.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQ\"><\/span><strong>FAQ<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_every_ConnectX-7_and_ConnectX-8_card_switch_between_InfiniBand_and_Ethernet\"><\/span><strong>Can every ConnectX-7 and ConnectX-8 card switch between InfiniBand and Ethernet?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>No. Only supported VPI or otherwise reconfigurable models can switch protocols. Verify the complete adapter ordering part number and available mlxconfig&nbsp;settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_LINK_TYPE_P12_mean\"><\/span><strong>What does <\/strong>LINK_TYPE_P1=2<strong>&nbsp;mean?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>It configures Port 1 of a supported ConnectX VPI adapter for Ethernet. A value of 1&nbsp;normally represents InfiniBand.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_I_use_the_same_command_on_ConnectX-7_and_ConnectX-8\"><\/span><strong>Can I use the same command on ConnectX-7 and ConnectX-8?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Sometimes, but not always. ConnectX-8 may require additional port-layout or port-splitting settings. Check the exact adapter model before applying changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_switching_ConnectX_to_Ethernet_automatically_enable_RoCE_v2\"><\/span><strong>Does switching ConnectX to Ethernet automatically enable RoCE v2?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>No. Ethernet mode enables the Ethernet link layer. RoCE v2 also requires an IP address, valid GID entries, RDMA software, and suitable network QoS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_ConnectX-8_require_PCIe_Gen6\"><\/span><strong>Does ConnectX-8 require PCIe Gen6?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>ConnectX-8 may operate in a compatible PCIe Gen5 server, but full 800G throughput generally requires sufficient PCIe Gen6-class host bandwidth.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_ConnectX-8_reuse_ConnectX-7_optics\"><\/span><strong>Can ConnectX-8 reuse ConnectX-7 optics?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Some 400G cables or optics may be reusable when ConnectX-8 operates at 400G. Full 800G operation requires compatible 800G optics or cables.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_I_verify_Ethernet_mode\"><\/span><strong>How do I verify Ethernet mode?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Run:<\/p>\n\n\n\n<p>cat&nbsp;\/sys\/class\/infiniband\/mlx5_0\/ports\/1\/link_layer<\/p>\n\n\n\n<p>The expected result is:<\/p>\n\n\n\n<p>Ethernet<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_the_ConnectX_link_still_down_after_switching_modes\"><\/span><strong>Why is the ConnectX link still down after switching modes?<\/strong><strong><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The most common causes are an incorrect switch-port mode, speed mismatch, unsupported optics, incorrect breakout configuration, or FEC mismatch.<\/p>\n\n\n\n<p><\/p>\n<style>\r\n\r\n        .lwrp.link-whisper-related-posts{\r\n            \r\n            margin-top: 40px;\nmargin-bottom: 30px;\r\n        }\r\n        .lwrp .lwrp-title{\r\n            \r\n            \r\n        }\r\n        .lwrp .lwrp-description{\r\n            \r\n            \r\n\r\n        }\r\n        .lwrp .lwrp-list-container{\r\n        }\r\n        .lwrp .lwrp-list-multi-container{\r\n            display: flex;\r\n        }\r\n        .lwrp .lwrp-list-double{\r\n            width: 48%;\r\n        }\r\n        .lwrp .lwrp-list-triple{\r\n            width: 32%;\r\n        }\r\n        .lwrp .lwrp-list-row-container{\r\n            display: flex;\r\n            justify-content: space-between;\r\n        }\r\n        .lwrp .lwrp-list-row-container .lwrp-list-item{\r\n            width: calc(100% - 20px);\r\n        }\r\n        .lwrp .lwrp-list-item:not(.lwrp-no-posts-message-item){\r\n            \r\n            list-style: decimal;\r\n        }\r\n        .lwrp .lwrp-list-item img{\r\n            max-width: 100%;\r\n            height: auto;\r\n        }\r\n        .lwrp .lwrp-list-item.lwrp-empty-list-item{\r\n            background: initial !important;\r\n        }\r\n        .lwrp .lwrp-list-item .lwrp-list-link .lwrp-list-link-title-text,\r\n        .lwrp .lwrp-list-item .lwrp-list-no-posts-message{\r\n            \r\n                \r\n        }\r\n        @media screen and (max-width: 480px) {\r\n            .lwrp.link-whisper-related-posts{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-title{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-description{\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-list-multi-container{\r\n                flex-direction: column;\r\n            }\r\n            .lwrp .lwrp-list-multi-container ul.lwrp-list{\r\n                margin-top: 0px;\r\n                margin-bottom: 0px;\r\n                padding-top: 0px;\r\n                padding-bottom: 0px;\r\n            }\r\n            .lwrp .lwrp-list-double,\r\n            .lwrp .lwrp-list-triple{\r\n                width: 100%;\r\n            }\r\n            .lwrp .lwrp-list-row-container{\r\n                justify-content: initial;\r\n                flex-direction: column;\r\n            }\r\n            .lwrp .lwrp-list-row-container .lwrp-list-item{\r\n                width: 100%;\r\n            }\r\n            .lwrp .lwrp-list-item:not(.lwrp-no-posts-message-item){\r\n                \r\n                \r\n            }\r\n            .lwrp .lwrp-list-item .lwrp-list-link .lwrp-list-link-title-text,\r\n            .lwrp .lwrp-list-item .lwrp-list-no-posts-message{\r\n                \r\n                    \r\n            }\r\n        }<\/style>\r\n<div id=\"link-whisper-related-posts-widget\" class=\"link-whisper-related-posts lwrp\">\r\n            <h3 class=\"lwrp-title\">Related Posts<\/h3>    \r\n        <div class=\"lwrp-list-container\">\r\n                                            <ul class=\"lwrp-list lwrp-list-single\">\r\n                    <li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/sfp-10g-zr.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Understanding the Cisco SFP-10G-ZR: A Reliable 10G Optical Transceiver Module for SMF 1550nm Applications<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/understanding-qsfp-cables.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Understanding QSFP Cables: A Comprehensive Guide to 40G Direct Attach Options<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/blog\/qsfp28-100g-bidi.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Unlocking the Potential of the QSFP28 100G BiDi Transceiver Module<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/news\/400g-qsfp-dd-optical-transceiver.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">Demand for 400G QSFP-DD Optical Transceiver to Rise in 2021<\/span><\/a><\/li><li class=\"lwrp-list-item\"><a href=\"https:\/\/www.fibermall.com\/news\/nvidia-gb300.htm\" class=\"lwrp-list-link\"><span class=\"lwrp-list-link-title-text\">NVIDIA GB300<\/span><\/a><\/li>                <\/ul>\r\n                        <\/div>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A data center team installs an NVIDIA ConnectX adapter in an AI server and connects it to an Ethernet switch. Linux detects the PCIe device, the NVIDIA driver loads successfully, and the optical module is present\u2014but the Ethernet link remains down. In many cases, the problem is not the cable or switch. The ConnectX port [&hellip;]<\/p>\n","protected":false},"author":227,"featured_media":19850,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"default","_twitter_share_type":"default","_linkedin_share_type":"default","_pinterest_share_type":"default","_linkedin_share_type_page":"default","_instagram_share_type":"default","_medium_share_type":"default","_threads_share_type":"default","_google_business_share_type":"default","_selected_social_profile":[{"id":"skM9ewvR8O","platform":"linkedin","platformKey":0,"name":"Jason Xue","type":"person","thumbnail_url":"https:\/\/media.licdn.com\/dms\/image\/C5603AQErPqKD0j6qBg\/profile-displayphoto-shrink_100_100\/0\/1599138392315?e=1723075200&v=beta&t=joEkh1OeKQ0F-QpAPv4xxQyBdGlHyccIQZauRSs6RvU","share_type":"default"}],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[2,29],"tags":[],"class_list":["post-18271","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-networking"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.13 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode - fibermall.com<\/title>\n<meta name=\"description\" content=\"The NVIDIA ConnectX Virtual Protocol Interconnect (VPI) series network interface cards (NICs)\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode\" \/>\n<meta property=\"og:description\" content=\"A data center team installs an NVIDIA ConnectX adapter in an AI server and connects it to an Ethernet switch. Linux detects the PCIe device, the NVIDIA\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\" \/>\n<meta property=\"og:site_name\" content=\"fibermall.com\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-05T07:24:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-17T09:19:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Catherine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Catherine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\"},\"author\":{\"name\":\"Catherine\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/bd2cf8d53f883c88f6ebaa5c3ed1258d\"},\"headline\":\"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode\",\"datePublished\":\"2025-11-05T07:24:12+00:00\",\"dateModified\":\"2026-07-17T09:19:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\"},\"wordCount\":2837,\"publisher\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\",\"articleSection\":[\"Blog\",\"Networking\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\",\"url\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\",\"name\":\"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode - fibermall.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\",\"datePublished\":\"2025-11-05T07:24:12+00:00\",\"dateModified\":\"2026-07-17T09:19:02+00:00\",\"description\":\"The NVIDIA ConnectX Virtual Protocol Interconnect (VPI) series network interface cards (NICs)\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage\",\"url\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\",\"contentUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png\",\"width\":800,\"height\":450,\"caption\":\"ConnectX-7 vs ConnectX-8 Side-by-Side Specifications\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fibermall.com\/blog.htm\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#website\",\"url\":\"https:\/\/www.fibermall.com\/blog.htm\/\",\"name\":\"fibermall.com\",\"description\":\"Optical Communication Expert\",\"publisher\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fibermall.com\/blog.htm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#organization\",\"name\":\"fibermall.com\",\"url\":\"https:\/\/www.fibermall.com\/blog.htm\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg\",\"contentUrl\":\"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg\",\"width\":200,\"height\":67,\"caption\":\"fibermall.com\"},\"image\":{\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/bd2cf8d53f883c88f6ebaa5c3ed1258d\",\"name\":\"Catherine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a11235a453567962b9c9bb843b31bb4396259dd8abad3f3c3758babd287d778?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a11235a453567962b9c9bb843b31bb4396259dd8abad3f3c3758babd287d778?s=96&d=mm&r=g\",\"caption\":\"Catherine\"},\"description\":\"Optical Communications Engineer\",\"sameAs\":[\"https:\/\/www.fibermall.com\/\"],\"url\":\"https:\/\/www.fibermall.com\/blog.htm?author=227\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode - fibermall.com","description":"The NVIDIA ConnectX Virtual Protocol Interconnect (VPI) series network interface cards (NICs)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm","og_locale":"en_US","og_type":"article","og_title":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode","og_description":"A data center team installs an NVIDIA ConnectX adapter in an AI server and connects it to an Ethernet switch. Linux detects the PCIe device, the NVIDIA","og_url":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm","og_site_name":"fibermall.com","article_published_time":"2025-11-05T07:24:12+00:00","article_modified_time":"2026-07-17T09:19:02+00:00","og_image":[{"width":800,"height":450,"url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png","type":"image\/png"}],"author":"Catherine","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Catherine","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#article","isPartOf":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm"},"author":{"name":"Catherine","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/bd2cf8d53f883c88f6ebaa5c3ed1258d"},"headline":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode","datePublished":"2025-11-05T07:24:12+00:00","dateModified":"2026-07-17T09:19:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm"},"wordCount":2837,"publisher":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization"},"image":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png","articleSection":["Blog","Networking"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm","url":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm","name":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode - fibermall.com","isPartOf":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage"},"image":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png","datePublished":"2025-11-05T07:24:12+00:00","dateModified":"2026-07-17T09:19:02+00:00","description":"The NVIDIA ConnectX Virtual Protocol Interconnect (VPI) series network interface cards (NICs)","breadcrumb":{"@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#primaryimage","url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png","contentUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2025\/11\/ConnectX-7-vs-ConnectX-8-Side-by-Side-Specifications.png","width":800,"height":450,"caption":"ConnectX-7 vs ConnectX-8 Side-by-Side Specifications"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fibermall.com\/blog\/nvidia-connectx-nic.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fibermall.com\/blog.htm"},{"@type":"ListItem","position":2,"name":"Switching NVIDIA ConnectX Series NICs from InfiniBand to Ethernet Mode"}]},{"@type":"WebSite","@id":"https:\/\/www.fibermall.com\/blog.htm\/#website","url":"https:\/\/www.fibermall.com\/blog.htm\/","name":"fibermall.com","description":"Optical Communication Expert","publisher":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fibermall.com\/blog.htm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fibermall.com\/blog.htm\/#organization","name":"fibermall.com","url":"https:\/\/www.fibermall.com\/blog.htm\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/","url":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg","contentUrl":"https:\/\/www.fibermall.com\/blog\/wp-content\/uploads\/2024\/12\/cropped-Fiber-Mall-Logo.jpg","width":200,"height":67,"caption":"fibermall.com"},"image":{"@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/bd2cf8d53f883c88f6ebaa5c3ed1258d","name":"Catherine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fibermall.com\/blog.htm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3a11235a453567962b9c9bb843b31bb4396259dd8abad3f3c3758babd287d778?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a11235a453567962b9c9bb843b31bb4396259dd8abad3f3c3758babd287d778?s=96&d=mm&r=g","caption":"Catherine"},"description":"Optical Communications Engineer","sameAs":["https:\/\/www.fibermall.com\/"],"url":"https:\/\/www.fibermall.com\/blog.htm?author=227"}]}},"_links":{"self":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/18271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/users\/227"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18271"}],"version-history":[{"count":7,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/18271\/revisions"}],"predecessor-version":[{"id":19860,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/posts\/18271\/revisions\/19860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=\/wp\/v2\/media\/19850"}],"wp:attachment":[{"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fibermall.com\/blog.htm\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}