[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM5a72rZ=a09q0NOQhbzgRonxbFTcvYKfQAeftGEX5kPx4cfsA@mail.gmail.com>
Date: Mon, 16 Sep 2024 17:25:13 -0700
From: Aakash Menon <aakash.r.menon@...il.com>
To: Horatiu Vultur <horatiu.vultur@...rochip.com>
Cc: daniel.machon@...rochip.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, lars.povlsen@...rochip.com,
Steen.Hegelund@...rochip.com, UNGLinuxDriver@...rochip.com,
aakash.menon@...tempis.com, horms@...nel.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: sparx5: Fix invalid timestamps
> > 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.
> >
> > Fixes: 70dfe25cd866 ("net: sparx5: Update extraction/injection for
> > timestamping")
> > Signed-off-by: Aakash Menon <aakash.menon@...tempis.com>
>
> There are some small issues/comments with this patch:
> 1. The Fixes tag should still be on one line even if it is longer than
> 75 columns, so the robots can find it.
> 2. Please use GENMASK(5, 0) instead of 0x3f.
Hi Horatiu,
Thanks for your feedback. I will make the suggested changes and send a
v2 patch in a new email thread.
- Aakash
Powered by blists - more mailing lists