Should the MLNX_OFED DKMS/package scripts update this alternative for the target kernel, or otherwise avoid registering every kernel tree with the same priority?
The stale link can cause dependent external modules to compile against the wrong OFED headers and Module.symvers.
Thank you for posting your query on NVIDIA Community.
Based on the DOCA 3.3 documentation, Debian-based host installations use DKMS for driver builds. At the same time, the supported host OS matrix for DOCA 3.3 lists Debian 13.x only up to 13.3 (x<=3).
Since your setup is Debian 13.6, it is outside the published tested support matrix. When using an untested OS version, we cannot guarantee the package behavior or how the build flow will work, including alternative handling for OFED headers.
We recommend reproducing the issue on a supported matrix first, including supported OS, kernel, driver / DOCA-OFED or MLNX_OFED version, firmware, and the relevant dependent modules.
If the same behavior is reproduced on a supported matrix and you need deeper investigation, please open an enterprise support case with a valid support entitlement.