[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51e2e2bf-1798-941c-79e4-d1339d4095a2@pengutronix.de>
Date: Wed, 6 Nov 2019 11:35:00 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Pankaj Sharma <pankj.sharma@...sung.com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: wg@...ndegger.com, davem@...emloft.net, pankaj.dubey@...sung.com,
rcsekar@...sung.com, jhofstee@...tronenergy.com,
simon.horman@...ronome.com, Sriram Dash <sriram.dash@...sung.com>
Subject: Re: [PATCH v3] can: m_can: add support for handling arbitration error
On 10/30/19 12:38 PM, Pankaj Sharma wrote:
> The Bosch MCAN hardware (3.1.0 and above) supports interrupt flag to
> detect Protocol error in arbitration phase.
>
> Transmit error statistics is currently not updated from the MCAN driver.
> Protocol error in arbitration phase is a TX error and the network
> statistics should be updated accordingly.
>
> The member "tx_error" of "struct net_device_stats" should be incremented
> as arbitration is a transmit protocol error. Also "arbitration_lost" of
> "struct can_device_stats" should be incremented to report arbitration
> lost.
>
> Signed-off-by: Pankaj Sharma <pankj.sharma@...sung.com>
> Signed-off-by: Sriram Dash <sriram.dash@...sung.com>
Added to linux-can-next.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists