Below mlx4_vnic_info command on Linux node will list all details of Ethernet Interface (MTU, Link Status, VLAN, PKEY, MAC, Switch It is Associated etc.)
Products to which Article Applies
All Linux Hosts using Mellanox mlx4 stack
mlx4_vnic_info -i
Below is exanple output of above command.
NETDEV_REGIST yes
NETDEV_NAME eth1286_1.324
NETDEV_LINK up
NETDEV_OPEN yes
NETDEV_QSTOP no
NETDEV_MTU 1500
IOA_PORT mlx4_0:1
IOA_NAME MT25408 ConnectX Mellanox Technologies-P1
IOA_LID 0x007d
IOA_GUID 91:9b:f9:97:XXXXXXXX
IOA_LOG_LINK up
IOA_PHY_LINK active
IOA_MTU 2048
EPORT_STATE up
EPORT_NAME 0A-ETH-1
EPORT_QPN 0x800000
EPORT_LID 0x0011
EPORT_ID 1286
BX_NAME switch01
BX_GUID 00:10:e0:62:XXXXXXXX
GW_TYPE LEGACY
SW_RSS no
SW_RSS_SIZE 1
RX_RINGS_NUM 1
RX_RINGS_LIN no
TX_RINGS_NUM 1
TX_RINGS_ACT 1
NDO_TSS no
NDO_TSS_SIZE 1
MCAST_PROMISC no
MCAST_MASK 48
PKEY 0x8007
PKEY_INDEX 0x000b
PKEY_MEMBER full
SL_DATA 1
SL_CONTROL 2
LRO yes
LRO_NUM 32
NAPI yes
NAPI_WEIGHT 32
QPN 0x5c0748
MAC 00:21:f6:XXXXXX
ADMIN_MODE network
VLAN 0x144
SHARED_MAC N/A
SHARED_IP N/A
Products to which Article Applies
All Linux Hosts using Mellanox mlx4 stack
Article Author: Tarun Boyella
No comments:
Post a Comment