Re: [PATCH net-next V3 4/4] net/mlx5e: Add PTP Hardware Clock (PHC) support
From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-01-05 12:49:46
From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-01-05 12:49:46
On Tue, Dec 29, 2015 at 02:58:32PM +0200, Saeed Mahameed wrote:
From: Eran Ben Elisha <redacted> 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 <redacted> Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Saeed Mahameed <redacted>
Acked-by: Richard Cochran <richardcochran@gmail.com>