Commit c70f51de authored by Patrisious Haddad's avatar Patrisious Haddad Committed by Jason Gunthorpe
Browse files

RDMA/mlx5: Support 400Gbps IB rate in mlx5 driver

parent a14e3caa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3069,6 +3069,8 @@ static int ib_to_mlx5_rate_map(u8 rate)
		return 4;
	case IB_RATE_50_GBPS:
		return 5;
	case IB_RATE_400_GBPS:
		return 6;
	default:
		return rate + MLX5_STAT_RATE_OFFSET;
	}