logoalt Hacker News

MiracleRabbittoday at 7:27 AM1 replyview on HN

The NICs need supported hardware timestamping. Then they can be used with ptp4l.

Intel i210 and i226 does this. But the i226 has a few variants.


Replies

simonciontoday at 8:08 AM

> The NICs need supported hardware timestamping.

Yes. I'm aware. Perhaps I'm more stupid about this topic than normal, but it looks to me like the NICs I have do (NIC names have been changed for clarity, but all other output is untouched):

  $ ethtool -T intel-nic
  Time stamping parameters for intel-nic:
  Capabilities:
   hardware-transmit
   software-transmit
   hardware-receive
   software-receive
   software-system-clock
   hardware-raw-clock
  Hardware timestamp provider index: 0
  Hardware timestamp provider qualifier: Precise (IEEE 1588 quality)
  Hardware timestamp source: MAC
  Hardware Transmit Timestamp Modes:
   off
   on
  Hardware Receive Filter Modes:
   none
   all

  $ ethtool -T brcm-nic
  Time stamping parameters for brcm-nic:
  Capabilities:
   hardware-transmit
   software-transmit
   hardware-receive
   software-receive
   software-system-clock
   hardware-raw-clock
  Hardware timestamp provider index: 0
  Hardware timestamp provider qualifier: Precise (IEEE 1588 quality)
  Hardware timestamp source: MAC
  Hardware Transmit Timestamp Modes:
   off
   on
  Hardware Receive Filter Modes:
   none
   ptpv1-l4-event
   ptpv2-l4-event
   ptpv2-l2-event
show 1 reply