From patchwork Fri Apr 1 11:05:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12798143 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 34AF0C433F5 for ; Fri, 1 Apr 2022 11:02:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345283AbiDALE0 (ORCPT ); Fri, 1 Apr 2022 07:04:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237682AbiDALEX (ORCPT ); Fri, 1 Apr 2022 07:04:23 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F4AEEBADF; Fri, 1 Apr 2022 04:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1648810952; x=1680346952; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=MaYms5j8bO957zuLcr9UFb6QoDNSBnqsZ9q+R5DNwnE=; b=Lqd/PMudeRac0gNFdZEx5ZkB2RyNI8pUSN/57Ib8USs9ObVoXJe2DMA2 i5z5AJm6fAa2zgHeSyeYARYlco8gGsxW5qykSK5F6bSw/40jubHbDCu9T 6+6noSW6x98nYt6iOpr6khMAyXNlf6SeN0K8uoUwNCUs5QxH9lMNWsFjL zMSsN3KVYT5Vx9GG1R9YngtuFoxySIR99/QLkGZfoDMwNaHpy5yrn41qM h3pMhjq/PTOyZZ/PS6FoHeP/yzENXJFFAAGm58iCfGKpFqVz6A8pBCcH2 79wICFGifg98tJg2Dx9BlRiqgCenCqj1oT/RqpfInQYx5DruBe+UFHq4i Q==; X-IronPort-AV: E=Sophos;i="5.90,227,1643698800"; d="scan'208";a="167977206" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Apr 2022 04:02:31 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 1 Apr 2022 04:02:31 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 1 Apr 2022 04:02:28 -0700 From: Horatiu Vultur To: , , CC: , , , , , , , , , Horatiu Vultur Subject: [PATCH net v2 0/3] net: phy: micrel: Remove latencies support lan8814 Date: Fri, 1 Apr 2022 13:05:19 +0200 Message-ID: <20220401110522.3418258-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Remove the latencies support both from the PHY driver and from the DT. The IP already has some default latencies values which can be used to get decent results. It has the following values(defined in ns): rx-1000mbit: 429 tx-1000mbit: 201 rx-100mbit: 2346 tx-100mbit: 705 v0->v1: - fix the split of the patches, there was a compiling error between patch 2 and patch 3. --- But to get better results the following values needs to be set: rx-1000mbit: 459 tx-1000mbit: 171 rx-100mbit: 1706 tx-100mbit: 1345 We are proposing to use ethtool to set these latencies, the RFC can be found here[1] Horatiu Vultur (3): dt-bindings: net: micrel: Revert latency support and timestamping check net: phy: micrel: Remove latency from driver net: phy: micrel: Remove DT option lan8814,ignore-ts .../devicetree/bindings/net/micrel.txt | 17 --- drivers/net/phy/micrel.c | 106 +----------------- 2 files changed, 2 insertions(+), 121 deletions(-)