mbox series

[net-next,v2,00/15] RX software timestamp for all

Message ID 20240901112803.212753-1-gal@nvidia.com (mailing list archive)
Headers show
Series RX software timestamp for all | expand

Message

Gal Pressman Sept. 1, 2024, 11:27 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 3, 2024, 10:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun, 1 Sep 2024 14:27:48 +0300 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/15] ethtool: RX software timestamp for all
    https://git.kernel.org/netdev/net-next/c/12d337339d9f
  - [net-next,v2,02/15] can: dev: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/b5ed017a5658
  - [net-next,v2,03/15] can: peak_canfd: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/583fee8210cb
  - [net-next,v2,04/15] can: peak_usb: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/ab6ebf02f222
  - [net-next,v2,05/15] tsnep: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/24186dc66b10
  - [net-next,v2,06/15] ionic: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/e052114e14c2
  - [net-next,v2,07/15] ravb: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/277901ee3a26
  - [net-next,v2,08/15] net: renesas: rswitch: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/41ee62317087
  - [net-next,v2,09/15] net: ethernet: rtsn: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/0f79953c0019
  - [net-next,v2,10/15] net: hns3: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/c6a15576e60e
  - [net-next,v2,11/15] net: fec: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/7d20c38d088e
  - [net-next,v2,12/15] net: enetc: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/3dd261ca7f84
  - [net-next,v2,13/15] gianfar: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/673ec22b1de8
  - [net-next,v2,14/15] octeontx2-pf: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/eb87a1daf6fb
  - [net-next,v2,15/15] net: mvpp2: Remove setting of RX software timestamp
    https://git.kernel.org/netdev/net-next/c/406e862b4583

You are awesome, thank you!