]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ionic: Remove setting of RX software timestamp
authorGal Pressman <gal@nvidia.com>
Sun, 1 Sep 2024 11:27:54 +0000 (14:27 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Sep 2024 22:17:48 +0000 (15:17 -0700)
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: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Link: https://patch.msgid.link/20240901112803.212753-7-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c

index 4619fd74f3e3d2a9dbab80b0caca2a707a901684..dda22fa4448cff7f0af88640aa85f36dd770b28f 100644 (file)
@@ -989,8 +989,6 @@ static int ionic_get_ts_info(struct net_device *netdev,
        info->phc_index = ptp_clock_index(lif->phc->ptp);
 
        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;