From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [PATCH net-next V3 4/4] net/mlx5e: Add PTP Hardware Clock (PHC) support Date: Tue, 5 Jan 2016 13:49:39 +0100 Message-ID: <20160105124939.GB5433@localhost.localdomain> References: <1451393912-13736-1-git-send-email-saeedm@mellanox.com> <1451393912-13736-5-git-send-email-saeedm@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , netdev@vger.kernel.org, Or Gerlitz , Eran Ben Elisha , Tal Alon , Majd Dibbiny , Achiad Shochat , saeedm@dev.mellanox.co.il To: Saeed Mahameed Return-path: Received: from mail-wm0-f43.google.com ([74.125.82.43]:34052 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572AbcAEMtq (ORCPT ); Tue, 5 Jan 2016 07:49:46 -0500 Received: by mail-wm0-f43.google.com with SMTP id u188so21877494wmu.1 for ; Tue, 05 Jan 2016 04:49:45 -0800 (PST) Content-Disposition: inline In-Reply-To: <1451393912-13736-5-git-send-email-saeedm@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 29, 2015 at 02:58:32PM +0200, Saeed Mahameed wrote: > From: Eran Ben Elisha > > Add a PHC support to the mlx5_en driver. Use reader/writer spinlocks to > protect the timecounter since every packet received needs to call > timecounter_cycle2time() when timestamping is enabled. This can become > a performance bottleneck with RSS and multiple receive queues if normal > spinlocks are used. > > The driver has been tested with both Documentation/ptp/testptp and the > linuxptp project (http://linuxptp.sourceforge.net/) on a Mellanox > ConnectX-4 card. > > Signed-off-by: Eran Ben Elisha > Cc: Richard Cochran > Signed-off-by: Saeed Mahameed Acked-by: Richard Cochran