背景 Mellanox网卡的模式有些时候需要查询,有些时候需要设置。本文记录查询和设置方法。 命令 cma_roce_mode -d mlx5_0 #读取 cma_roce_mode -d mlx5_0 -s 2 #设为值roce模式 1表示ib 实操