Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932442AbdLOPrS (ORCPT ); Fri, 15 Dec 2017 10:47:18 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:34345 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932168AbdLOPrQ (ORCPT ); Fri, 15 Dec 2017 10:47:16 -0500 Date: Fri, 15 Dec 2017 16:47:14 +0100 From: Andrew Lunn To: Hemanth Puranik Cc: netdev , linux-kernel , Timur Tabi Subject: Re: [PATCH] net: qcom/emac: Reduce timeout for mdio read/write Message-ID: <20171215154714.GA17702@lunn.ch> References: <1513348558-10906-1-git-send-email-hpuranik@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513348558-10906-1-git-send-email-hpuranik@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 403 Lines: 11 On Fri, Dec 15, 2017 at 08:05:58PM +0530, Hemanth Puranik wrote: > Currently mdio read/write takes around ~115us as the timeout > between status check is set to 100us. > By reducing the timeout to 1us mdio read/write takes ~15us to > complete. This improves the link up event response. > > Signed-off-by: Hemanth Puranik Reviewed-by: Andrew Lunn Andrew