On 11/2/2023 4:15 AM, Andre Puschmann wrote:
> Hi,
>
> On 2/11/23 4:11, James Clark wrote:
>> I have a dual-port Mellanox ConnectX-3 (specifically MCX312A-XCBT),
>> which has a shared PHC. You can get them for less than $50 on
>> eBay/AliExpress. I had to upgrade the firmware on mine to get PTP
>> support. I haven't yet tried it as a boundary clock.
>
> Excellent. This is very helpful James. I've ordered a MCX312A and B and
> will compare both here. I'll share my results here soon. If you have a
> chance please also share the firmware version you're currently using on
> your NIC.
>
> With my Intel NIC I could get the BC config working but I needed to set
> the twoStepFlag to 1. Otherwise I was getting this for both ports:
>
> ptp4l[1040.180]: ioctl SIOCSHWTSTAMP failed: Numerical result out of range
>
Yep, that would indicate the device doesn't support one-step mode.
> Sync quality wasn't great as expected though. I'll repeat with the
> Mellanox once I have them here.
>
> Thanks
> Andre
>
For Intel NICs, the only products I am aware of which share PHC across
the device are the E800 series devices. Prior devices (E500, and E700,
as well as the gigabit products) do share the same internal oscillator
but due to the register interface each function has to setup its own clock.
Thanks,
Jake
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users