]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: ethernet: ti: am65-cpsw-ethtool: Remove setting of RX software timestamp
authorGal Pressman <gal@nvidia.com>
Wed, 4 Sep 2024 07:49:12 +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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpsw-ethtool.c

index b60976947da5007cd5032644c9cb9cd1e3d97cc1..539d5ca82f52b93a695981760bd96fe96c328c0a 100644 (file)
@@ -714,8 +714,6 @@ static int am65_cpsw_get_ethtool_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 = am65_cpts_phc_index(common->cpts);
        info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON);