netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/15] RX software timestamp for all
@ 2024-09-01 11:27 Gal Pressman
  2024-09-01 11:27 ` [PATCH net-next v2 01/15] ethtool: " Gal Pressman
                   ` (15 more replies)
  0 siblings, 16 replies; 20+ messages in thread
From: Gal Pressman @ 2024-09-01 11:27 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski
  Cc: netdev, Jay Vosburgh, Andy Gospodarek, Marc Kleine-Budde,
	Vincent Mailhol, Shyam Sundar S K, Sudarsana Kalluru,
	Manish Chopra, Michael Chan, Pavan Chebbi, Nicolas Ferre,
	Claudiu Beznea, Sunil Goutham, Potnuri Bharat Teja,
	Christian Benvenuti, Satish Kharat, Claudiu Manoil,
	Vladimir Oltean, Wei Fang, Shenwei Wang, Clark Wang,
	Dimitris Michailidis, Yisen Zhuang, Salil Mehta, Jijie Shao,
	Tony Nguyen, Przemek Kitszel, Marcin Wojtas, Russell King,
	Geetha sowjanya, Subbaraya Sundeep, hariprasad, Ido Schimmel,
	Petr Machata, Bryan Whitehead, UNGLinuxDriver, Horatiu Vultur,
	Lars Povlsen, Steen Hegelund, Daniel Machon, Alexandre Belloni,
	Shannon Nelson, Brett Creeley, Sergey Shtylyov, Yoshihiro Shimoda,
	Niklas Söderlund, Edward Cree, Martin Habets,
	Alexandre Torgue, Jose Abreu, Maxime Coquelin,
	Siddharth Vadapalli, Roger Quadros, MD Danish Anwar,
	Linus Walleij, Imre Kaloz, Richard Cochran, Willem de Bruijn,
	Gal Pressman

All devices support SOF_TIMESTAMPING_RX_SOFTWARE by virtue of
net_timestamp_check() being called in the device independent code.
Following Willem's suggestion [1], make it so drivers do not have to
handle SOF_TIMESTAMPING_RX_SOFTWARE and SOF_TIMESTAMPING_SOFTWARE, nor
setting of the PHC index to -1.

All drivers will now report RX software timestamp as supported.
The series is limited to 15 patches, I will submit other drivers in
subsequent submissions.

[1] https://lore.kernel.org/netdev/661550e348224_23a2b2294f7@willemb.c.googlers.com.notmuch/

Changelog -
v1->v2: https://lore.kernel.org/netdev/20240829144253.122215-1-gal@nvidia.com/
* Split series to patch per driver

Thanks,
Gal

Gal Pressman (15):
  ethtool: RX software timestamp for all
  can: dev: Remove setting of RX software timestamp
  can: peak_canfd: Remove setting of RX software timestamp
  can: peak_usb: Remove setting of RX software timestamp
  tsnep: Remove setting of RX software timestamp
  ionic: Remove setting of RX software timestamp
  ravb: Remove setting of RX software timestamp
  net: renesas: rswitch: Remove setting of RX software timestamp
  net: ethernet: rtsn: Remove setting of RX software timestamp
  net: hns3: Remove setting of RX software timestamp
  net: fec: Remove setting of RX software timestamp
  net: enetc: Remove setting of RX software timestamp
  gianfar: Remove setting of RX software timestamp
  octeontx2-pf: Remove setting of RX software timestamp
  net: mvpp2: Remove setting of RX software timestamp

 drivers/net/can/dev/dev.c                     |  3 ---
 drivers/net/can/peak_canfd/peak_canfd.c       |  3 ---
 drivers/net/can/usb/peak_usb/pcan_usb_core.c  |  3 ---
 drivers/net/ethernet/engleder/tsnep_ethtool.c |  4 ----
 .../ethernet/freescale/enetc/enetc_ethtool.c  | 10 ++--------
 drivers/net/ethernet/freescale/fec_main.c     |  4 ----
 .../net/ethernet/freescale/gianfar_ethtool.c  | 10 ++--------
 .../hisilicon/hns3/hns3pf/hclge_ptp.c         |  4 ----
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  2 --
 .../marvell/octeontx2/nic/otx2_ethtool.c      |  2 --
 .../ethernet/pensando/ionic/ionic_ethtool.c   |  2 --
 drivers/net/ethernet/renesas/ravb_main.c      |  4 ++--
 drivers/net/ethernet/renesas/rswitch.c        |  2 --
 drivers/net/ethernet/renesas/rtsn.c           |  2 --
 net/ethtool/common.c                          | 19 ++++++++++---------
 15 files changed, 16 insertions(+), 58 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2024-09-03 22:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01 11:27 [PATCH net-next v2 00/15] RX software timestamp for all Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 01/15] ethtool: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 02/15] can: dev: Remove setting of RX software timestamp Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 03/15] can: peak_canfd: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 04/15] can: peak_usb: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 05/15] tsnep: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 06/15] ionic: " Gal Pressman
2024-09-03 16:20   ` Brett Creeley
2024-09-01 11:27 ` [PATCH net-next v2 07/15] ravb: " Gal Pressman
2024-09-02 18:38   ` Sergey Shtylyov
2024-09-01 11:27 ` [PATCH net-next v2 08/15] net: renesas: rswitch: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 09/15] net: ethernet: rtsn: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 10/15] net: hns3: " Gal Pressman
2024-09-01 11:27 ` [PATCH net-next v2 11/15] net: fec: " Gal Pressman
2024-09-01 11:28 ` [PATCH net-next v2 12/15] net: enetc: " Gal Pressman
2024-09-01 11:28 ` [PATCH net-next v2 13/15] gianfar: " Gal Pressman
2024-09-01 11:28 ` [PATCH net-next v2 14/15] octeontx2-pf: " Gal Pressman
2024-09-01 11:28 ` [PATCH net-next v2 15/15] net: mvpp2: " Gal Pressman
2024-09-02 18:19   ` Marcin Wojtas
2024-09-03 22:30 ` [PATCH net-next v2 00/15] RX software timestamp for all patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).