ifconfig mlxeno -mediaopt txpause,rxpauseifconfig mlxen1 -mediaopt txpause,rxpause
hw.mlx4_en.0.fchw.mlxen0.fc.hw.mlxen.0.fc
mlx4_core0: <mlx4_core> mem 0xfe900000-0xfe9fffff,0xf8000000-0xf9ffffff irq 24 at device 0.0 on pci1mlx4_core: Mellanox ConnectX core driver v3.7.1 (November 2021)mlx4_core: Initializing mlx4_coremlx4_core0: Unable to determine PCI device chain minimum BWmlx4_en mlx4_core0: Activating port:1mlxen0: Ethernet address: 00:02:c9:5a:05:2cmlx4_en: mlx4_core0: Port 1: Using 4 TX ringsmlxen0: link state changed to DOWNmlx4_en: mlx4_core0: Port 1: Using 8 RX ringsmlx4_en: mlxen0: Using 4 TX ringsmlx4_en: mlxen0: Using 8 RX ringsmlx4_en: mlxen0: Initializing portmlx4_en mlx4_core0: Activating port:2mlxen1: Ethernet address: 00:02:c9:5a:05:2dmlx4_en: mlx4_core0: Port 2: Using 4 TX ringsmlxen1: link state changed to DOWNmlx4_en: mlx4_core0: Port 2: Using 8 RX ringsmlx4_en: mlxen1: Using 4 TX ringsmlx4_en: mlxen1: Using 8 RX ringsmlx4_en: mlxen1: Initializing portmlxen0: link state changed to UPmlxen1: link state changed to UP
#!/bin/shifconfig mlxen0 -mediaopt txpause,rxpauseifconfig mlxen1 -mediaopt txpause,rxpause