All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Change flexcan features at runtime
@ 2022-01-04 13:20 Dario Binacchi
  2022-01-04 13:20 ` [RFC PATCH 1/2] can: flexcan: allow to change quirks " Dario Binacchi
  2022-01-04 13:20 ` [RFC PATCH 2/2] can: flexcan: add ethtool support Dario Binacchi
  0 siblings, 2 replies; 3+ messages in thread
From: Dario Binacchi @ 2022-01-04 13:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michael Trimarchi, Dario Binacchi, David S. Miller,
	Jakub Kicinski, Marc Kleine-Budde, Wolfgang Grandegger,
	linux-can, netdev

This series was born from the review https://lkml.org/lkml/2022/1/2/127
by Marc Kleine-Budde. The ethtool module is minimal and lacks the
callback to change the setting at runtime (this has yet to be defined).
I'm certainly not an expert but might it make sense to use the
set_features() callback? Although I understand that it belongs to
`struct net_device_ops' and not to 'struct ethtool_ops'.


Dario Binacchi (2):
  can: flexcan: allow to change quirks at runtime
  can: flexcan: add ethtool support

 drivers/net/can/Makefile                      |   3 +
 drivers/net/can/flexcan.h                     | 107 +++++++++++++
 drivers/net/can/flexcan_ethtool.c             |  29 ++++
 drivers/net/can/{flexcan.c => flexcan_main.c} | 144 ++++--------------
 4 files changed, 166 insertions(+), 117 deletions(-)
 create mode 100644 drivers/net/can/flexcan.h
 create mode 100644 drivers/net/can/flexcan_ethtool.c
 rename drivers/net/can/{flexcan.c => flexcan_main.c} (92%)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-04 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04 13:20 [RFC PATCH 0/2] Change flexcan features at runtime Dario Binacchi
2022-01-04 13:20 ` [RFC PATCH 1/2] can: flexcan: allow to change quirks " Dario Binacchi
2022-01-04 13:20 ` [RFC PATCH 2/2] can: flexcan: add ethtool support Dario Binacchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.