git: a554ff467079 - main - libmlx5: Add more ConnectX-6/7/8 HCA IDs to hca_table.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Mon, 01 May 2023 11:49:36 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=a554ff467079c12f647d4bea46bbbc970bf68354

commit a554ff467079c12f647d4bea46bbbc970bf68354
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2023-05-01 11:48:20 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2023-05-01 11:48:20 +0000

    libmlx5: Add more ConnectX-6/7/8 HCA IDs to hca_table.
    
    To allow userspace utilities to use these devices.
    
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 contrib/ofed/libmlx5/mlx5.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/contrib/ofed/libmlx5/mlx5.c b/contrib/ofed/libmlx5/mlx5.c
index 6577e07a4c4b..bc35ebe05cd9 100644
--- a/contrib/ofed/libmlx5/mlx5.c
+++ b/contrib/ofed/libmlx5/mlx5.c
@@ -81,8 +81,14 @@ static struct {
 	HCA(MELLANOX, 4124),	/* ConnectX-6 VF */
 	HCA(MELLANOX, 4125),	/* ConnectX-6 DX */
 	HCA(MELLANOX, 4126),	/* ConnectX family mlx5Gen Virtual Function */
+	HCA(MELLANOX, 4127),	/* ConnectX-6 LX */
+	HCA(MELLANOX, 4129),	/* ConnectX-7 */
+	HCA(MELLANOX, 4131),	/* ConnectX-8 */
 	HCA(MELLANOX, 41682),	/* BlueField integrated ConnectX-5 network controller */
 	HCA(MELLANOX, 41683),	/* BlueField integrated ConnectX-5 network controller VF */
+	HCA(MELLANOX, 41686),	/* BlueField-2 integrated ConnectX-6 Dx network controller */
+	HCA(MELLANOX, 41692),	/* BlueField-3 integrated ConnectX-7 network controller */
+	HCA(MELLANOX, 41695),	/* BlueField-4 integrated ConnectX-8 network controller */
 };
 
 uint32_t mlx5_debug_mask = 0;