IB to ETH

# lspci | grep -i mellanox
8e:00.0 Ethernet controller: Mellanox Technologies MT2910 Family [ConnectX-7]


# mstconfig -d 8e:00.0 query

Device #1:
----------

Device type:    ConnectX7
Name:           MCX75310AAS-NEA_Ax
Description:    NVIDIA ConnectX-7 HHHL Adapter card; 400GbE / NDR IB (default mode); Single-port OSFP; PCIe 5.0 x16; Crypto Disabled; Secure Boot Enabled;
Device:         8e:00.0

Configurations:                              Next Boot
         MODULE_SPLIT_M0                     Array[0..15]
         MEMIC_BAR_SIZE                      0
         MEMIC_SIZE_LIMIT                    _256KB(1)
         MEMIC_ATOMIC                        MEMIC_ATOMIC_ENABLE(2)
         HOST_CHAINING_MODE                  DISABLED(0)
         HOST_CHAINING_CACHE_DISABLE         False(0)
         HOST_CHAINING_DESCRIPTORS           Array[0..7]
         HOST_CHAINING_TOTAL_BUFFER_SIZE     Array[0..7]
         FLEX_PARSER_PROFILE_ENABLE          0
         PROG_PARSE_GRAPH                    False(0)
         FLEX_IPV4_OVER_VXLAN_PORT           0
         ROCE_NEXT_PROTOCOL                  254
         ESWITCH_HAIRPIN_DESCRIPTORS         Array[0..7]
         ESWITCH_HAIRPIN_TOT_BUFFER_SIZE     Array[0..7]
         PF_BAR2_SIZE                        0
         PF_NUM_OF_VF_VALID                  False(0)
         NON_PREFETCHABLE_PF_BAR             False(0)
         VF_VPD_ENABLE                       False(0)
         PF_NUM_PF_MSIX_VALID                False(0)
         PER_PF_NUM_SF                       False(0)
         STRICT_VF_MSIX_NUM                  False(0)
         VF_NODNIC_ENABLE                    False(0)
         NUM_PF_MSIX_VALID                   True(1)
         NUM_OF_VFS                          16
         NUM_OF_PF                           1
         PF_BAR2_ENABLE                      False(0)
         SRIOV_EN                            True(1)
         PF_LOG_BAR_SIZE                     5
         VF_LOG_BAR_SIZE                     1
         NUM_PF_MSIX                         63
         NUM_VF_MSIX                         11
         INT_LOG_MAX_PAYLOAD_SIZE            AUTOMATIC(0)
         PCIE_CREDIT_TOKEN_TIMEOUT           0
         RT_PPS_ENABLED_ONPOWERUP            False(0)
         LAG_RESOURCE_ALLOCATION             DEVICE_DEFAULT(0)
         ACCURATE_TX_SCHEDULER               False(0)
         PARTIAL_RESET_EN                    False(0)
         RESET_WITH_HOST_ON_ERRORS           False(0)
         PCI_SWITCH_EMULATION_NUM_PORT       16
         PCI_SWITCH_EMULATION_ENABLE         False(0)
         PCI_DOWNSTREAM_PORT_OWNER           Array[0..15]
         CQE_COMPRESSION                     BALANCED(0)
         IP_OVER_VXLAN_EN                    False(0)
         MKEY_BY_NAME                        False(0)
         PRIO_TAG_REQUIRED_EN                False(0)
         UCTX_EN                             True(1)
         REAL_TIME_CLOCK_ENABLE              False(0)
         RDMA_SELECTIVE_REPEAT_EN            False(0)
         PCI_ATOMIC_MODE                     PCI_ATOMIC_DISABLED_EXT_ATOMIC_ENABLED(0)
         TUNNEL_ECN_COPY_DISABLE             False(0)
         LRO_LOG_TIMEOUT0                    6
         LRO_LOG_TIMEOUT1                    7
         LRO_LOG_TIMEOUT2                    8
         LRO_LOG_TIMEOUT3                    13
         LOG_TX_PSN_WINDOW                   9
         VF_MIGRATION_MODE                   DEVICE_DEFAULT(0)
         LOG_MAX_OUTSTANDING_WQE             7
         ROCE_ADAPTIVE_ROUTING_EN            False(0)
         TUNNEL_IP_PROTO_ENTROPY_DISABLE     False(0)
         HPCC_INT_NP_RTT_DSCP                26
         HPCC_INT_NP_RTT_DSCP_EN             False(0)
         HPCC_INT_NP_RTT_DATA_MODE           4
         HPCC_INT_EN                         False(0)
         HPCC_INT_SYSTEM_RTT                 0
         ICM_CACHE_MODE                      DEVICE_DEFAULT(0)
         HAIRPIN_DATA_BUFFER_LOCK            False(0)
         TX_SCHEDULER_BURST                  0
         ZERO_TOUCH_TUNING_ENABLE            False(0)
         LOG_MAX_QUEUE                       17
         CRYPTO_POLICY                       UNRESTRICTED(1)
         LOG_DCR_HASH_TABLE_SIZE             11
         DCR_LIFO_SIZE                       16384
         LINK_TYPE_P1                        IB(1)
         ROCE_CC_PRIO_MASK_P1                255
         CLAMP_TGT_RATE_AFTER_TIME_INC_P1    True(1)
         CLAMP_TGT_RATE_P1                   False(0)
         RPG_TIME_RESET_P1                   300
         RPG_BYTE_RESET_P1                   32767
         RPG_THRESHOLD_P1                    1
         RPG_MAX_RATE_P1                     0
         RPG_AI_RATE_P1                      5
         RPG_HAI_RATE_P1                     50
         RPG_GD_P1                           11
         RPG_MIN_DEC_FAC_P1                  50
         RPG_MIN_RATE_P1                     1
         RATE_TO_SET_ON_FIRST_CNP_P1         0
         DCE_TCP_G_P1                        1019
         DCE_TCP_RTT_P1                      1
         RATE_REDUCE_MONITOR_PERIOD_P1       4
         INITIAL_ALPHA_VALUE_P1              1023
         MIN_TIME_BETWEEN_CNPS_P1            4
         CNP_802P_PRIO_P1                    6
         CNP_DSCP_P1                         48
         LLDP_NB_DCBX_P1                     False(0)
         LLDP_NB_RX_MODE_P1                  OFF(0)
         LLDP_NB_TX_MODE_P1                  OFF(0)
         DCBX_IEEE_P1                        True(1)
         DCBX_CEE_P1                         True(1)
         DCBX_WILLING_P1                     True(1)
         KEEP_ETH_LINK_UP_P1                 True(1)
         KEEP_IB_LINK_UP_P1                  False(0)
         KEEP_LINK_UP_ON_BOOT_P1             False(0)
         KEEP_LINK_UP_ON_STANDBY_P1          False(0)
         DO_NOT_CLEAR_PORT_STATS_P1          False(0)
         AUTO_POWER_SAVE_LINK_DOWN_P1        False(0)
         NUM_OF_VL_P1                        _4_VLs(3)
         NUM_OF_TC_P1                        _8_TCs(0)
         NUM_OF_PFC_P1                       8
         VL15_BUFFER_SIZE_P1                 0
         DUP_MAC_ACTION_P1                   LAST_CFG(0)
         MPFS_MC_LOOPBACK_DISABLE_P1         False(0)
         MPFS_UC_LOOPBACK_DISABLE_P1         False(0)
         UNKNOWN_UPLINK_MAC_FLOOD_P1         False(0)
         SRIOV_IB_ROUTING_MODE_P1            LID(1)
         IB_ROUTING_MODE_P1                  LID(1)
         PHY_AUTO_NEG_P1                     DEVICE_DEFAULT(0)
         PHY_RATE_MASK_OVERRIDE_P1           False(0)
         PHY_FEC_OVERRIDE_P1                 DEVICE_DEFAULT(0)
         PF_TOTAL_SF                         0
         PF_SF_BAR_SIZE                      0
         PF_NUM_PF_MSIX                      63
         ROCE_CONTROL                        ROCE_ENABLE(2)
         PCI_WR_ORDERING                     per_mkey(0)
         MULTI_PORT_VHCA_EN                  False(0)
         PORT_OWNER                          True(1)
         ALLOW_RD_COUNTERS                   True(1)
         RENEG_ON_CHANGE                     True(1)
         TRACER_ENABLE                       True(1)
         IP_VER                              IPv4(0)
         BOOT_UNDI_NETWORK_WAIT              0
         UEFI_HII_EN                         True(1)
         BOOT_DBG_LOG                        False(0)
         UEFI_LOGS                           DISABLED(0)
         BOOT_VLAN                           1
         LEGACY_BOOT_PROTOCOL                PXE(1)
         BOOT_RETRY_CNT                      NONE(0)
         BOOT_INTERRUPT_DIS                  False(0)
         BOOT_LACP_DIS                       True(1)
         BOOT_VLAN_EN                        False(0)
         BOOT_PKEY                           0
         P2P_ORDERING_MODE                   DEVICE_DEFAULT(0)
         ATS_ENABLED                         False(0)
         DYNAMIC_VF_MSIX_TABLE               False(0)
         EXP_ROM_UEFI_ARM_ENABLE             False(0)
         EXP_ROM_UEFI_x86_ENABLE             False(0)
         EXP_ROM_PXE_ENABLE                  False(0)
         ADVANCED_PCI_SETTINGS               False(0)
         SAFE_MODE_THRESHOLD                 10
         SAFE_MODE_ENABLE                    True(1)


# mstconfig -d 8e:00.0 set LINK_TYPE_P1=2 SRIOV_EN=1 NUM_OF_VFS=16
# reboot


# lshw -short -c net
H/W path         Device           Class          Description
============================================================
/0/100/1c.2/0    eno1             network        I210 Gigabit Network Connection
/0/100/1c.4/0    eno2             network        Aquantia Corp.
/0/102/0         enp142s0np0      network        MT2910 Family [ConnectX-7]


ETH

# ethtool -m enp142s0np0
	Identifier                                : 0x19 (OSFP 8X Pluggable Transceiver)
	Power class                               : 1
	Max power                                 : 1.00W
	Connector                                 : 0x23 (No separable connector)
	Cable assembly length                     : 3.00m
	Transmitter technology                    : 0x0a (Copper cable, unequalized)
	Attenuation at 5GHz                       : 5db
	Attenuation at 7GHz                       : 6db
	Attenuation at 12.9GHz                    : 11db
	Attenuation at 25.8GHz                    : 22db
	Vendor name                               : FiberMall
	Vendor OUI                                : 48:b0:2d
	Vendor PN                                 : QDD-OSFP-FLT-3M
	Vendor rev                                : 01
	Vendor SN                                 : MC252710011
	Date code                                 : 250703
	Revision compliance                       : Rev. 5.0
	Module State                              : 0x03 (ModuleReady)
	LowPwrAllowRequestHW                      : Off
	LowPwrRequestSW                           : Off


# ethtool enp142s0np0
Settings for enp142s0np0:
	Supported ports: [ Backplane ]
	Supported link modes:   1000baseT/Full
	                        10000baseT/Full
	                        1000baseKX/Full
	                        10000baseKR/Full
	                        10000baseR_FEC
	                        40000baseKR4/Full
	                        40000baseCR4/Full
	                        40000baseSR4/Full
	                        40000baseLR4/Full
	                        25000baseCR/Full
	                        25000baseKR/Full
	                        25000baseSR/Full
	                        50000baseCR2/Full
	                        50000baseKR2/Full
	                        100000baseKR4/Full
	                        100000baseSR4/Full
	                        100000baseCR4/Full
	                        100000baseLR4_ER4/Full
	                        50000baseSR2/Full
	                        1000baseX/Full
	                        10000baseCR/Full
	                        10000baseSR/Full
	                        10000baseLR/Full
	                        10000baseER/Full
	                        50000baseKR/Full
	                        50000baseSR/Full
	                        50000baseCR/Full
	                        50000baseLR_ER_FR/Full
	                        50000baseDR/Full
	                        100000baseKR2/Full
	                        100000baseSR2/Full
	                        100000baseCR2/Full
	                        100000baseLR2_ER2_FR2/Full
	                        100000baseDR2/Full
	                        200000baseKR4/Full
	                        200000baseSR4/Full
	                        200000baseLR4_ER4_FR4/Full
	                        200000baseDR4/Full
	                        200000baseCR4/Full
	                        400000baseKR8/Full
	                        400000baseSR8/Full
	                        400000baseLR8_ER8_FR8/Full
	                        400000baseDR8/Full
	                        400000baseCR8/Full
	                        100000baseKR/Full
	                        100000baseSR/Full
	                        100000baseLR_ER_FR/Full
	                        100000baseCR/Full
	                        100000baseDR/Full
	                        200000baseKR2/Full
	                        200000baseSR2/Full
	                        200000baseLR2_ER2_FR2/Full
	                        200000baseDR2/Full
	                        200000baseCR2/Full
	                        400000baseKR4/Full
	                        400000baseSR4/Full
	                        400000baseLR4_ER4_FR4/Full
	                        400000baseDR4/Full
	                        400000baseCR4/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: None	 RS	 BASER
	Advertised link modes:  1000baseT/Full
	                        10000baseT/Full
	                        1000baseKX/Full
	                        10000baseKR/Full
	                        10000baseR_FEC
	                        40000baseKR4/Full
	                        40000baseCR4/Full
	                        40000baseSR4/Full
	                        40000baseLR4/Full
	                        25000baseCR/Full
	                        25000baseKR/Full
	                        25000baseSR/Full
	                        50000baseCR2/Full
	                        50000baseKR2/Full
	                        100000baseKR4/Full
	                        100000baseSR4/Full
	                        100000baseCR4/Full
	                        100000baseLR4_ER4/Full
	                        50000baseSR2/Full
	                        1000baseX/Full
	                        10000baseCR/Full
	                        10000baseSR/Full
	                        10000baseLR/Full
	                        10000baseER/Full
	                        50000baseKR/Full
	                        50000baseSR/Full
	                        50000baseCR/Full
	                        50000baseLR_ER_FR/Full
	                        50000baseDR/Full
	                        100000baseKR2/Full
	                        100000baseSR2/Full
	                        100000baseCR2/Full
	                        100000baseLR2_ER2_FR2/Full
	                        100000baseDR2/Full
	                        200000baseKR4/Full
	                        200000baseSR4/Full
	                        200000baseLR4_ER4_FR4/Full
	                        200000baseDR4/Full
	                        200000baseCR4/Full
	                        400000baseKR8/Full
	                        400000baseSR8/Full
	                        400000baseLR8_ER8_FR8/Full
	                        400000baseDR8/Full
	                        400000baseCR8/Full
	                        100000baseKR/Full
	                        100000baseSR/Full
	                        100000baseLR_ER_FR/Full
	                        100000baseCR/Full
	                        100000baseDR/Full
	                        200000baseKR2/Full
	                        200000baseSR2/Full
	                        200000baseLR2_ER2_FR2/Full
	                        200000baseDR2/Full
	                        200000baseCR2/Full
	                        400000baseKR4/Full
	                        400000baseSR4/Full
	                        400000baseLR4_ER4_FR4/Full
	                        400000baseDR4/Full
	                        400000baseCR4/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: Unknown!
	Duplex: Unknown! (255)
	Auto-negotiation: on
	Port: Direct Attach Copper
	PHYAD: 0
	Transceiver: internal
	Supports Wake-on: d
	Wake-on: d
	Link detected: no (Autoneg, No partner detected)



  • 레이블 없음