I updated the firmware and have check dmesg. The cards stays up for about 30 seconds after boot and then both interfaces go into cleanup and disappears.
[ 26.907682] mlx5_core 0000:01:00.0: E-Switch: Unload vfs: mode(LEGACY), nvfs(0), necvfs(0), active vports(0)
[ 26.949676] mlx5_core...