[PATCH v3] net/iavf: support reading PHC time
Mandal, Anurag
anurag.mandal at intel.com
Tue Sep 15 15:05:11 CEST 2026
> -----Original Message-----
> From: Kumar, Rajesh3 <rajesh3.kumar at intel.com>
> Sent: 15 September 2026 18:32
> To: Mandal, Anurag <anurag.mandal at intel.com>
> Cc: dev at dpdk.org
> Subject: Re: [PATCH v3] net/iavf: support reading PHC time
>
> The new iavf_timesync_read_time() callback converts every error returned by
> iavf_phc_get_time() to -EIO. The underlying AdminQ path can return more
> specific errors, including -ENOTSUP and -EINVAL, so this prevents callers from
> distinguishing an unsupported operation from an actual I/O failure.
>
> Could the original error be propagated instead?
>
> ret = iavf_phc_get_time(adapter, &time);
> if (ret != 0)
> return ret;
Sure. Let me try the same.
Thank you.
Regards,
Anurag M
More information about the dev
mailing list