[PATCH rdma-core 6/6] mlx5: Add translation of new IB rates to mlx5 rates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Guralnik <michaelgur@xxxxxxxxxxxx>

Add translation of new IB rates added due to 2x and HDR support.

Signed-off-by: Michael Guralnik <michaelgur@xxxxxxxxxxxx>
Signed-off-by: Yishai Hadas <yishaih@xxxxxxxxxxxx>
---
 providers/mlx5/verbs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/providers/mlx5/verbs.c b/providers/mlx5/verbs.c
index 7d4ad33..bab675f 100644
--- a/providers/mlx5/verbs.c
+++ b/providers/mlx5/verbs.c
@@ -2361,6 +2361,10 @@ static const uint8_t ib_to_mlx5_rate_table[] = {
 	15,	/* 100 Gbps to 120 Gbps */
 	0,	/* 200 Gbps to unlimited */
 	0,	/* 300 Gbps to unlimited */
+	9,	/* 28 Gbps to 30 Gbps */
+	13,	/* 50 Gbps to 60 Gbps */
+	0,	/* 400 Gbps to unlimited */
+	0,	/* 600 Gbps to unlimited */
 };
 
 static uint8_t ah_attr_to_mlx5_rate(enum ibv_rate ah_static_rate)
-- 
1.8.3.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux