Skip to content

Commit f9b74d6

Browse files
gal-pressmandavem330
authored andcommitted
net: netcp: 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> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c5dbb6a commit f9b74d6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

drivers/net/ethernet/ti/netcp_ethss.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,8 +2012,6 @@ static int keystone_get_ts_info(struct net_device *ndev,
20122012
SOF_TIMESTAMPING_TX_HARDWARE |
20132013
SOF_TIMESTAMPING_TX_SOFTWARE |
20142014
SOF_TIMESTAMPING_RX_HARDWARE |
2015-
SOF_TIMESTAMPING_RX_SOFTWARE |
2016-
SOF_TIMESTAMPING_SOFTWARE |
20172015
SOF_TIMESTAMPING_RAW_HARDWARE;
20182016
info->phc_index = gbe_intf->gbe_dev->cpts->phc_index;
20192017
info->tx_types =
@@ -2030,10 +2028,7 @@ static int keystone_get_ts_info(struct net_device *ndev,
20302028
struct kernel_ethtool_ts_info *info)
20312029
{
20322030
info->so_timestamping =
2033-
SOF_TIMESTAMPING_TX_SOFTWARE |
2034-
SOF_TIMESTAMPING_RX_SOFTWARE |
2035-
SOF_TIMESTAMPING_SOFTWARE;
2036-
info->phc_index = -1;
2031+
SOF_TIMESTAMPING_TX_SOFTWARE;
20372032
info->tx_types = 0;
20382033
info->rx_filters = 0;
20392034
return 0;

0 commit comments

Comments
 (0)