[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240829144253.122215-1-gal@nvidia.com>
Date: Thu, 29 Aug 2024 17:42:51 +0300
From: Gal Pressman <gal@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, Jay Vosburgh <jv@...sburgh.net>, Andy Gospodarek
<andy@...yhouse.net>, Marc Kleine-Budde <mkl@...gutronix.de>, Vincent Mailhol
<mailhol.vincent@...adoo.fr>, Shyam Sundar S K <Shyam-sundar.S-k@....com>,
Sudarsana Kalluru <skalluru@...vell.com>, Manish Chopra
<manishc@...vell.com>, Michael Chan <michael.chan@...adcom.com>, Pavan Chebbi
<pavan.chebbi@...adcom.com>, Nicolas Ferre <nicolas.ferre@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...on.dev>, Sunil Goutham
<sgoutham@...vell.com>, Potnuri Bharat Teja <bharat@...lsio.com>, "Christian
Benvenuti" <benve@...co.com>, Satish Kharat <satishkh@...co.com>, "Claudiu
Manoil" <claudiu.manoil@....com>, Vladimir Oltean <vladimir.oltean@....com>,
Wei Fang <wei.fang@....com>, Shenwei Wang <shenwei.wang@....com>, Clark Wang
<xiaoning.wang@....com>, Dimitris Michailidis <dmichail@...gible.com>, "Yisen
Zhuang" <yisen.zhuang@...wei.com>, Salil Mehta <salil.mehta@...wei.com>,
"Jijie Shao" <shaojijie@...wei.com>, Tony Nguyen
<anthony.l.nguyen@...el.com>, Przemek Kitszel <przemyslaw.kitszel@...el.com>,
Marcin Wojtas <marcin.s.wojtas@...il.com>, Russell King
<linux@...linux.org.uk>, "Geetha sowjanya" <gakula@...vell.com>, Subbaraya
Sundeep <sbhatta@...vell.com>, hariprasad <hkelam@...vell.com>, Ido Schimmel
<idosch@...dia.com>, "Petr Machata" <petrm@...dia.com>, Bryan Whitehead
<bryan.whitehead@...rochip.com>, <UNGLinuxDriver@...rochip.com>, Horatiu
Vultur <horatiu.vultur@...rochip.com>, Lars Povlsen
<lars.povlsen@...rochip.com>, Steen Hegelund <Steen.Hegelund@...rochip.com>,
Daniel Machon <daniel.machon@...rochip.com>, Alexandre Belloni
<alexandre.belloni@...tlin.com>, Shannon Nelson <shannon.nelson@....com>,
Brett Creeley <brett.creeley@....com>, Sergey Shtylyov <s.shtylyov@....ru>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Niklas Söderlund <niklas.soderlund@...natech.se>, "Edward
Cree" <ecree.xilinx@...il.com>, Martin Habets <habetsm.xilinx@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>, Jose Abreu
<joabreu@...opsys.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>,
Siddharth Vadapalli <s-vadapalli@...com>, Roger Quadros <rogerq@...nel.org>,
MD Danish Anwar <danishanwar@...com>, Linus Walleij <linusw@...nel.org>,
"Imre Kaloz" <kaloz@...nwrt.org>, Richard Cochran <richardcochran@...il.com>,
"Willem de Bruijn" <willemdebruijn.kernel@...il.com>, Gal Pressman
<gal@...dia.com>
Subject: [PATCH net-next 0/2] RX software timestamp for all
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.
[1] https://lore.kernel.org/netdev/661550e348224_23a2b2294f7@willemb.c.googlers.com.notmuch/
Thanks,
Gal
Gal Pressman (2):
ethtool: RX software timestamp for all
net: Remove setting of RX software timestamp from drivers
drivers/net/bonding/bond_main.c | 3 ---
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/amd/xgbe/xgbe-ethtool.c | 4 ----
.../ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 4 ----
.../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 5 +----
drivers/net/ethernet/broadcom/tg3.c | 6 +-----
drivers/net/ethernet/cadence/macb_main.c | 5 ++---
.../ethernet/cavium/liquidio/lio_ethtool.c | 16 +++++++--------
.../ethernet/cavium/thunder/nicvf_ethtool.c | 2 --
.../ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 11 +++-------
.../net/ethernet/cisco/enic/enic_ethtool.c | 4 +---
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 ++--------
.../ethernet/fungible/funeth/funeth_ethtool.c | 5 +----
.../hisilicon/hns3/hns3pf/hclge_ptp.c | 4 ----
.../net/ethernet/intel/i40e/i40e_ethtool.c | 4 ----
drivers/net/ethernet/intel/ice/ice_ethtool.c | 2 --
drivers/net/ethernet/intel/igb/igb_ethtool.c | 8 +-------
drivers/net/ethernet/intel/igc/igc_ethtool.c | 4 ----
.../net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 4 ----
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 --
.../marvell/octeontx2/nic/otx2_ethtool.c | 2 --
.../net/ethernet/mellanox/mlxsw/spectrum.c | 6 ++++++
.../ethernet/mellanox/mlxsw/spectrum_ptp.h | 20 -------------------
.../net/ethernet/microchip/lan743x_ethtool.c | 4 ----
.../microchip/lan966x/lan966x_ethtool.c | 11 ++++------
.../microchip/sparx5/sparx5_ethtool.c | 11 ++++------
drivers/net/ethernet/mscc/ocelot_ptp.c | 12 ++++-------
.../ethernet/pensando/ionic/ionic_ethtool.c | 2 --
drivers/net/ethernet/qlogic/qede/qede_ptp.c | 9 +--------
drivers/net/ethernet/renesas/ravb_main.c | 4 ++--
drivers/net/ethernet/renesas/rswitch.c | 2 --
drivers/net/ethernet/renesas/rtsn.c | 2 --
drivers/net/ethernet/sfc/ethtool.c | 5 -----
drivers/net/ethernet/sfc/siena/ethtool.c | 5 -----
.../ethernet/stmicro/stmmac/stmmac_ethtool.c | 4 ++--
drivers/net/ethernet/ti/am65-cpsw-ethtool.c | 2 --
drivers/net/ethernet/ti/cpsw_ethtool.c | 7 +------
drivers/net/ethernet/ti/icssg/icssg_ethtool.c | 2 --
drivers/net/ethernet/ti/netcp_ethss.c | 7 +------
drivers/net/ethernet/xscale/ixp4xx_eth.c | 4 +---
drivers/ptp/ptp_ines.c | 4 ----
net/ethtool/common.c | 19 +++++++++---------
47 files changed, 57 insertions(+), 217 deletions(-)
--
2.40.1
Powered by blists - more mailing lists