]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: ti: icssg-prueth: Remove setting of RX software timestamp
authorGal Pressman <gal@nvidia.com>
Wed, 4 Sep 2024 07:49:14 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2024 08:34:17 +0000 (09:34 +0100)
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: Roger Quadros <rogerq@kernel.org>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/icssg/icssg_ethtool.c

index 5073ec1958541eecf24a2d55a9802e7405d1f5a4..73b6cef10401be439c059addb93532b85ff42d0c 100644 (file)
@@ -119,8 +119,6 @@ static int emac_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 = icss_iep_get_ptp_clock_idx(emac->iep);