[PATCH] net/iavf: check PTP capabilities during init

Jacob Keller jacob.e.keller at intel.com
Tue Nov 25 23:07:41 CET 2025



On 11/25/2025 2:30 AM, Hore, Soumyadeep wrote:
> Hi Jacob,
> 
> Currently PTP features are not enabled in DPDK. We only have the Rx timestamp API in place. Typically the change that you want needs to be implemented in ethdev_ops.timesync_enable(), which is not implemented.
> 

I'm not sure I follow you here. For iAVF Rx timestamping is considered
part of the PTP capabilities. We shouldn't be reporting Rx timestamp
offload if Rx timestamping is not available. There are some
circumstances where the PF will not report Rx timestampding (and will
not enable it) because of capabilities mismatch. However, DPDK driver is
saying Rx timestamp offload works, and trying (and failing) to enable it
in those cases.

However, the check for where we report Rx timestamp offload was before
we negotiated properly with the PF, which is what this change is trying
to fix.

This has nothing to do with other PTP features.

Thanks,
Jake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://mails.dpdk.org/archives/dev/attachments/20251125/5ac2df41/attachment-0001.sig>


More information about the dev mailing list