Re: [RFC PATCH] can: flexcan: add ethtool support to get rx/tx ring parameters

From: Marc Kleine-Budde
Date: Sun Jan 09 2022 - 06:41:59 EST


On 09.01.2022 12:22:54, Dario Binacchi wrote:
> > > static const struct ethtool_ops flexcan_ethtool_ops = {
> > > + .get_ringparam = flexcan_get_ringparam,
> > > .get_sset_count = flexcan_get_sset_count,
> > > .get_strings = flexcan_get_strings,
> > > .get_priv_flags = flexcan_get_priv_flags,
> >
> > BTW: If you're looking for more TX performance, this can be done by
> > using more than one TX buffer.
>
> I didn't expect only one message buffer to be used for transmission

It was easier to implement, but now we've sorted it out how to implement
multiple TX buffers race free and lock-less. Have a look at the
mcp251xfd driver.

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