aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorSlava Shwartsman <slavash@nvidia.com>2026-05-04 11:19:36 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-06-17 18:23:14 +0000
commit0e2175cef5027728c0ca1ff98366cf6ecfbe2db3 (patch)
treec926064d8b659c3aae148f18dab63f79af2296db /sys/dev
parent741f489ed09ab1d9172d1f61aa341004b5c3e968 (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mlx5/mlx5_core/mlx5_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_main.c b/sys/dev/mlx5/mlx5_core/mlx5_main.c
index 058085348a3f..184457b7d0b5 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_main.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_main.c
@@ -2105,6 +2105,10 @@ static void shutdown_one(struct pci_dev *pdev)
mlx5_pci_disable_device(dev);
}
+/*
+ * When adding device IDs, also update hca_table in
+ * contrib/ofed/libmlx5/mlx5.c or libibverbs will reject the device.
+ */
static const struct pci_device_id mlx5_core_pci_table[] = {
{ PCI_VDEVICE(MELLANOX, 4113) }, /* Connect-IB */
{ PCI_VDEVICE(MELLANOX, 4114) }, /* Connect-IB VF */