]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
octeontx2-pf: Remove setting of RX software timestamp
authorGal Pressman <gal@nvidia.com>
Sun, 1 Sep 2024 11:28:02 +0000 (14:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Sep 2024 22:17:49 +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: Subbaraya Sundeep <sbhatta@marvell.com>
Link: https://patch.msgid.link/20240901112803.212753-15-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c

index 0db62eb0dab3f06866c316521bcaf65ddb5037dc..32468c663605eff545e0be92e8885fba111f2c50 100644 (file)
@@ -962,8 +962,6 @@ static int otx2_get_ts_info(struct net_device *netdev,
                return ethtool_op_get_ts_info(netdev, info);
 
        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;