Re: [PATCH] can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning

From
Marc Kleine-Budde <mkl@pengutronix.de>
Date
2021-03-04 13:24:18
Reply to
Torin Cooper-Bennun, 2021-03-04
On 3/3/21 11:31 AM, Torin Cooper-Bennun wrote:
Message loss from RX FIFO 0 is already handled in m_can_handle_lost_msg,
with netdev output included.

Removing this warning also improves driver performance under heavy load,
where m_can_do_rx_poll may be called many times before this interrupt is
cleared, causing this message to be output many times (thanks Mariusz
Madej for this report).

Cc: Mariusz Madej <redacted>
Signed-off-by: Torin Cooper-Bennun <redacted>
Applied to linux-can/testing.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachments

Thread (2 messages) 2 messages, 2 authors, last reply 2021-03-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help