From: Gal Pressman Date: Fri, 6 Sep 2024 14:46:31 +0000 (+0300) Subject: ixp4xx_eth: Remove setting of RX software timestamp X-Git-Tag: v6.12-rc1~232^2~61^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d25e9e178c2ad94be03900e5559e82aabde198a0;p=thirdparty%2Fkernel%2Flinux.git ixp4xx_eth: 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 Reviewed-by: Rahul Rameshbabu Signed-off-by: Gal Pressman Acked-by: Richard Cochran Acked-by: Linus Walleij Link: https://patch.msgid.link/20240906144632.404651-16-gal@nvidia.com Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c index 56df37f8d50a4..aef316278eb45 100644 --- a/drivers/net/ethernet/xscale/ixp4xx_eth.c +++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c @@ -1026,9 +1026,7 @@ static int ixp4xx_get_ts_info(struct net_device *dev, if (info->phc_index < 0) { info->so_timestamping = - SOF_TIMESTAMPING_TX_SOFTWARE | - SOF_TIMESTAMPING_RX_SOFTWARE | - SOF_TIMESTAMPING_SOFTWARE; + SOF_TIMESTAMPING_TX_SOFTWARE; return 0; } info->so_timestamping =