Re: [PATCH] net: sparx5: Fix invalid timestamps
From: Simon Horman
Date: Sat Sep 14 2024 - 04:38:42 EST
On Fri, Sep 13, 2024 at 12:33:57PM -0700, Aakash Menon wrote:
> Bit 270-271 are occasionally unexpectedly set by the hardware.
>
> This issue was observed with 10G SFPs causing huge time errors (> 30ms) in PTP.
>
> Only 30 bits are needed for the nanosecond part of the timestamp, clear 2 most significant bits before extracting timestamp from the internal frame header.
Hi Aakash,
Thanks for your patch.
I'll leave the review of the code change itself to others,
but here is some feedback on process.
Please line-wrap patch descriptions at 75 columns wide.
Link: https://docs.kernel.org/process/submitting-patches.html#the-canonical-patch-format
Assuming this is a bug fix, a Fixes tag should be present.
It should go just before the signed-off-by line (or other tags),
with no blank lines in between.
I'm wondering if this Fixes tag is appropriate:
Fixes: 70dfe25cd866 ("net: sparx5: Update extraction/injection for timestamping")
> Signed-off-by: Aakash Menon <aakash.menon@xxxxxxxxxxxxx>
Also, for reference, fixes for Networking should, in general,
be targeted at the net tree.
Subject: [PATCH net] ...
And lastly, if you do post a new patch, be sure to wait 24h since
the original patch posting before doing so.
Link: https://docs.kernel.org/process/maintainer-netdev.html
...