<div dir="ltr">Hello list,<div><br></div><div>I read that 82599ES family does support hardware timestamping, but when I tried to read from it, it returned -<span style="color:rgb(0,0,0);font-family:Roboto,sans-serif;font-size:14px">EINVAL. Below is my code:</span></div><div><br></div><div>```</div><div>// port initialization excised</div><div>    struct timespec tmp;<br>    ret = rte_eth_timesync_enable(0);<br>    printf("Enable tx timestamp: status %d\n", ret);<br>    ret = rte_eth_timesync_read_tx_timestamp(0, &tmp);<br>    printf("Get tx timestamp: status %d\n", ret);<br></div><div>```</div><div><br></div><div>And the output is:</div><div><br></div><div>```</div><div>Enable tx timestamp: status 0<br>Get tx timestamp: status -22<br></div><div>```</div><div><br></div><div>Why does it happen? I looked into `examples/ptpclient/ptpclient.c` and found that no other requirement is needed to read the hardware timestamp.</div><div><br></div><div><br></div><div>FYI, I'm using Ubuntu 20.04, DPDK 21.05, and below is what devbind returns:</div><div><br></div><div>```</div><div>Network devices using DPDK-compatible driver<br>============================================<br>0000:04:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=uio_pci_generic unused=ixgbe,vfio-pci<br>0000:04:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=uio_pci_generic unused=ixgbe,vfio-pci<br></div><div>```</div><div><br></div><div>Thank you in advance!</div><div><br></div><div>--</div><div>Best Regards,</div><div>Fengkai</div></div>