From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/2] net: dsa: mv88e6xxx: Improve PTP access latency Date: Fri, 16 Feb 2018 15:37:34 -0500 (EST) Message-ID: <20180216.153734.818833240004820510.davem@davemloft.net> References: <1518701915-14346-1-git-send-email-andrew@lunn.ch> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, vivien.didelot@savoirfairelinux.com To: andrew@lunn.ch Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:58656 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbeBPUhg (ORCPT ); Fri, 16 Feb 2018 15:37:36 -0500 In-Reply-To: <1518701915-14346-1-git-send-email-andrew@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: From: Andrew Lunn Date: Thu, 15 Feb 2018 14:38:33 +0100 > PTP needs to retrieve the hardware timestamps from the switch device > in a low latency manor. However ethtool -S and bridge fdb show can > hold the switch register access mutex for a long time. These patches > changes the reading the statistics and the ATU so that the mutex is > released and taken again between each statistic or ATU entry. The PTP > code can then interleave its access to the hardware, keeping its > latency low. Series applied, thanks Andrew.