https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285492

            Bug ID: 285492
           Summary: NVIDIA Connect X-7 NIC:The mlx5(3.7.1) driver that
                    comes along with 14.2 detects MFA1A00 cable as a
                    100G-KR4 cable incorrectly
           Product: Base System
           Version: 14.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 258755
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258755&action=edit
Cable specification

I am running FreeBSD 14.2 with a NVIDIA Connect X-7 NIC. The mlx5(3.7.1) driver
that comes along with the base kernel image detects MFA1A00 cable as a 100G-KR4
cable incorrectly.

But the earlier generation of its NIC, Connect X-6/Connect X-4 detects it
correctly as a 100G-SR4 cable.

Raised an enterprise support case with NVIDIA and they replied mentioning that
the mlx5 driver on FreeBSD is developed and maintained by the FreeBSD community
and asked me to reach out here.

I brought up Ubuntu 24.X on the same system and with the same firmware version
the base PF driver detects the cable as a 100G-SR4 cable as expected.

Upon a quick scan of the Linux mlx5 driver, the following snippet from the
below  patch helped identify the right connector type:
https://github.com/torvalds/linux/commit/5b4793f817452e478442684e6bba85bddb5a9345
MLX5_GET(ptys_reg, out, connector_type);

Cable spec is attached for reference.

Request the experts in the community to work on the official mlx5 driver patch
for FreeBSD.

Regards,
Nirmal

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to