[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wldhiihvxg42yqaccizms4xfupfv2c7w7jec7jy6iht6dbnr7k@os6f2gyrr45m>
Date: Thu, 26 Jun 2025 13:45:09 +0000
From: Sean Nyekjaer <sean@...nix.com>
To: Vincent Mailhol <mailhol.vincent@...adoo.fr>
Cc: linux-can@...r.kernel.org, linux-kernel@...r.kernel.org, Chandrasekar Ramakrishnan <rcsekar@...sung.com>, Marc Kleine-Budde <mkl@...gutronix.de>, Fengguang Wu <fengguang.wu@...el.com>, Varka Bhadram <varkabhadram@...il.com>, Dong Aisheng <b29396@...escale.com>
Subject: Re: [PATCH] can: m_can: apply rate-limiting to lost msg in rx
Hi,
On Sat, Jun 21, 2025 at 11:13:33AM +0100, Vincent Mailhol wrote:
> On 20/06/2025 at 19:00, Sean Nyekjaer wrote:
> > Wrap the "msg lost in rxf0" error in m_can_handle_lost_msg() with
> > a call to net_ratelimit() to prevent flooding the kernel log
> > with repeated error messages.
>
> Note that another solution is to simply remove the error message. The users can
> use the CAN error frames or the netstasts instead to see if lost messages occurred.
>
> That said, I am OK with your proposed patch. See above comment as a simple FYI.
I'm up for both solutions :)
@Marc what would you prefer?
>
> > Fixes: e0d1f4816f2a ("can: m_can: add Bosch M_CAN controller support")
> > Signed-off-by: Sean Nyekjaer <sean@...nix.com>
>
> Reviewed-by: Vincent Mailhol <mailhol.vincent@...adoo.fr>
>
>
> Yours sincerely,
> Vincent Mailhol
>
/Sean
Powered by blists - more mailing lists