On 1/11/21 10:42 AM, Vincent MAILHOL wrote:
On Mon. 11 Jan 2021 at 17:26, Marc Kleine-Budde [off-list ref] wrote:
quoted
On 1/10/21 9:55 AM, Vincent MAILHOL wrote:
[...]
quoted
Did you test it after the occurence of a can_bus_off() event?
Not yet...
quoted
When the device restarts, you normally have to call
netdev_reset_queue(netdev) in order to reset all the BQL
statistics.
I only included the relevant parts to illustrate the use of the changed API.
There is a netdev_reset_queue() in mcp251xfd_ring_init(), which is called via:
mcp251xfd_chip_start(), mcp251xfd_set_mode()
Great then! I was just worried not to see it mentioned in the
patch.
As a global comment for the series: I am done with my comments,
looking forward to the v2!
Can I have re-add your S-o-B for "[net-next 10/13] can: length:
can_skb_get_frame_len(): introduce function to get data length of frame in data
link layer". If you have any contact to Arunachalam Santhanam, would be good to
have his ack aswell. IMHO it's not critical, as this is based on your original
patch.
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 |