[Linuxptp-users] ptp4l assume 6Byte HW address
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Feras D. <fe...@me...> - 2017-07-19 10:48:48
|
Hi, Today ptp4l does not support IPoIB interfaces. The generate_clock_identity() function always assumes 6 octets MAC address, which is correct for Ethernet interfaces but not for IPoIB interfaces (that have 20 octets MAC). As a result, running ptp4l over IPoIB interface does not function correctly. The problem occurs when the higher 6Bytes of the master mac are similar to the slave's mac. In this case, the slave side ignores the packets and the sync failed. port.c : if (pid_eq(&m->header.sourcePortIdentity, &p->portIdentity)) { return 1; } Is there any way to address this issue using the current implementation ? Thanks |