Re: can: m_can: tcan4x5x m_can_isr do not handle tx if rx fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please keep the Mailing List on Cc.

On 22.02.2022 14:26:22, Michael Anochin wrote:
> I try it. But I sink in rx-offload.c with __skb_queue_add_sort and
> napi scheduler. That blocks work_queue for tx, but I don't understand
> how. Need help.

Your idea that m_can_rx_peripheral() in m_can_isr() may fail is valid.
You can add a netdev_error() to report the error if
m_can_rx_peripheral() fails. Then investigate further.

> May be I should increase the quota for napi polling?

Try to increase and check if that helps.

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 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux