NVLINK lists both graphics card as Link: 0

I have two Nvidia RTX5000 graphics card and connected them with two port nvlink. when I tried the following command

nvidia-smi nvlink -c

it gives the same link 0 output for both the devices. [image attached]

When I tried:
(base) surya:~$ nvidia-smi nvlink --status -i 0
The output was
GPU 0: Quadro RTX 5000 (UUID: GPU-f8474ba7-9652-d01b-5f3c-63a95396a503)
Link 0: 25.781 GB/s
Not anything on GPU 1 came. But when I say device 1. Then also the same output came but with different UUID.

When I tried this command:
nvidia-smi nvlink -gt 0 -i 0
GPU 0: Quadro RTX 5000 (UUID: GPU-f8474ba7-9652-d01b-5f3c-63a95396a503)
Failed to get throughput counters

Is the nvlink functioning or not ??