From patchwork Wed Aug 17 09:57:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Chevallier X-Patchwork-Id: 12945667 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07F3BC25B08 for ; Wed, 17 Aug 2022 09:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238872AbiHQJ6b (ORCPT ); Wed, 17 Aug 2022 05:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238849AbiHQJ5x (ORCPT ); Wed, 17 Aug 2022 05:57:53 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 175C681690; Wed, 17 Aug 2022 02:57:32 -0700 (PDT) Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id CB0471C0006; Wed, 17 Aug 2022 09:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1660730251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=O8jbKEQBySAhMgHnENNc4dgpfRxZV1zLQF89bHQhhIA=; b=VlBak11SJoxZLo4bubcX7gE6J8VXefDbQqrTG0i5dASfp78ntWeq2dlNH6zLRPsv655g1a IwwS3RfdlAzALW0pa6FalnjsRTwo/5r2gru6NdgIxxDbq72vL+2EWnHowTtJ3qo1SxkdpO dx8t88SFoD2k246sXyisuxnJlVO2CFHt0cCWIXkrI3oRLTECsxGtMehAchp4FfsgMx9g5k mDFxotRfGiINIntRkgM2j7b9foq1jdYTRL/r4zCxa6RaLjfaECeJ+NJYqYfSnjGWteFjsC b66QdduiyrgdBIuYJ8zIVNc5VzhTkHOYQa0EG0tIy49v45wVDyl/O8XZQu3+1w== From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Richard Cochran , Joyce Ooi , Jakub Kicinski , Eric Dumazet , Paolo Abeni Subject: [PATCH net] net: ethernet: altera: Add use of ethtool_op_get_ts_info Date: Wed, 17 Aug 2022 11:57:25 +0200 Message-Id: <20220817095725.97444-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can at least use software timestamping. Signed-off-by: Maxime Chevallier --- drivers/net/ethernet/altera/altera_tse_ethtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/altera/altera_tse_ethtool.c b/drivers/net/ethernet/altera/altera_tse_ethtool.c index 4299f1301149..3081e5874ac5 100644 --- a/drivers/net/ethernet/altera/altera_tse_ethtool.c +++ b/drivers/net/ethernet/altera/altera_tse_ethtool.c @@ -233,6 +233,7 @@ static const struct ethtool_ops tse_ethtool_ops = { .set_msglevel = tse_set_msglevel, .get_link_ksettings = phy_ethtool_get_link_ksettings, .set_link_ksettings = phy_ethtool_set_link_ksettings, + .get_ts_info = ethtool_op_get_ts_info, }; void altera_tse_set_ethtool_ops(struct net_device *netdev)