net: netcp: Remove setting of RX software timestamp
JIRA: https://issues.redhat.com/browse/RHEL-57751 commit f9b74d602ee3a43a2c85a8cd444ae7f939fa338b Author: Gal Pressman <gal@nvidia.com> Date: Wed Sep 4 10:49:15 2024 +0300 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> Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
This commit is contained in:
parent
65b88c4b38
commit
6d8eedf923
|
@ -2012,8 +2012,6 @@ static int keystone_get_ts_info(struct net_device *ndev,
|
|||
SOF_TIMESTAMPING_TX_HARDWARE |
|
||||
SOF_TIMESTAMPING_TX_SOFTWARE |
|
||||
SOF_TIMESTAMPING_RX_HARDWARE |
|
||||
SOF_TIMESTAMPING_RX_SOFTWARE |
|
||||
SOF_TIMESTAMPING_SOFTWARE |
|
||||
SOF_TIMESTAMPING_RAW_HARDWARE;
|
||||
info->phc_index = gbe_intf->gbe_dev->cpts->phc_index;
|
||||
info->tx_types =
|
||||
|
@ -2030,10 +2028,7 @@ static int keystone_get_ts_info(struct net_device *ndev,
|
|||
struct kernel_ethtool_ts_info *info)
|
||||
{
|
||||
info->so_timestamping =
|
||||
SOF_TIMESTAMPING_TX_SOFTWARE |
|
||||
SOF_TIMESTAMPING_RX_SOFTWARE |
|
||||
SOF_TIMESTAMPING_SOFTWARE;
|
||||
info->phc_index = -1;
|
||||
SOF_TIMESTAMPING_TX_SOFTWARE;
|
||||
info->tx_types = 0;
|
||||
info->rx_filters = 0;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue