[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220109113716.r4l432ixsjbbcwtu@pengutronix.de>
Date: Sun, 9 Jan 2022 12:37:16 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Dario Binacchi <dario.binacchi@...rulasolutions.com>
Cc: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Wolfgang Grandegger <wg@...ndegger.com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [RFC PATCH] can: flexcan: add ethtool support to get rx/tx ring
parameters
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists