Hello. I have a Connectx-4 Lx and I;m trying to setup PTP master from Linux Ubuntu 19.04 with this card to another device using ptp4l, no GPS. It works, but I noticed that time error gets linearly worse overtime. How I can make it stable?

I’m using newest drivers, mlnx-en-4.7-3.2.9.0-ubuntu19.04-x86_64, same result with OFED. Firmware was updated. I’m using HW timestamping, E2E over L2. Is there anything I could do on driver level to make time error to not increase? Any special options for compilation? Or how I can sync oscillator on card with Linux system clock?

Hi Michal,

  1. Please provide following: #ibv_devinfo |egrep “board|fw”
  2. What is the kernel version?
  3. Can you please elaborate on your statement “time error gets linearly worse overtime”?
  4. How do you validate this time error?
  5. You mentioned “I’m trying to setup PTP master from Linux Ubuntu 19.04 with this card to another device” , What is the other device?

Thanks,

Namrata.

Hello.

  1. With # it gives no output. Without it: Failed to get IB devices list: Unknown error -38
  2. 5.0.0-13-generic
  3. I mean that offset as observed from the other side gets larger by about 20ns every couple of seconds.
  4. and 5. I’m sorry, but it’s confidential.

I’m experimenting with phc2sys to sync card clock with Linux.