QSFP+ transceiver works in RouterOS, does not work in SwOS

Hardware

Software

  • RouterOS for MikroTik CRS326-24S+2Q+RM: v6.47.2
  • SwOS: v2.12
  • Network card firmware (latest available): 2.42.5000

Symptoms

  • If I boot into RouterOS, the transceiver gets recognized without me doing anything, shows up as 40 Gbps connection, and works
  • If I boot into SwOS, the transceiver gets recognized, but there is no link and does not work

What I tried in SwOS to fix the problem

  • Turned off auto negotiation
  • Set the port to 40 Gbe manually

None of that helped.

Any ideas?