summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2024-09-01 13:27:57 +0200
committerJakub Kicinski <kuba@kernel.org>2024-09-04 00:17:48 +0200
commit0f79953c001947d52e2eca14dd76aaacbbf46241 (patch)
tree2bcb6a93ee9ca57ad74496319dd65efba77d579b /drivers
parentnet: renesas: rswitch: Remove setting of RX software timestamp (diff)
downloadlinux-0f79953c001947d52e2eca14dd76aaacbbf46241.tar.xz
linux-0f79953c001947d52e2eca14dd76aaacbbf46241.zip
net: ethernet: rtsn: Remove setting of RX software timestamp
The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran <cjubran@nvidia.com> Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com> Signed-off-by: Gal Pressman <gal@nvidia.com> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://patch.msgid.link/20240901112803.212753-10-gal@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/renesas/rtsn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/rtsn.c b/drivers/net/ethernet/renesas/rtsn.c
index 0e6cea42f007..f9f63c61d792 100644
--- a/drivers/net/ethernet/renesas/rtsn.c
+++ b/drivers/net/ethernet/renesas/rtsn.c
@@ -1219,8 +1219,6 @@ static int rtsn_get_ts_info(struct net_device *ndev,
info->phc_index = ptp_clock_index(priv->ptp_priv->clock);
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
- SOF_TIMESTAMPING_RX_SOFTWARE |
- SOF_TIMESTAMPING_SOFTWARE |
SOF_TIMESTAMPING_TX_HARDWARE |
SOF_TIMESTAMPING_RX_HARDWARE |
SOF_TIMESTAMPING_RAW_HARDWARE;