diff options
| author | Eran Ben Elisha <[email protected]> | 2015-12-29 12:58:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-01-05 19:11:50 +0000 |
| commit | 3d8c38af149309feb2541b995b3a45df170d6da3 (patch) | |
| tree | da57592cc23e5b7ff6a640a0173a30f373a6e5ba /net/unix/af_unix.c | |
| parent | net/mlx5e: Add HW timestamping (TS) support (diff) | |
| download | kernel-3d8c38af149309feb2541b995b3a45df170d6da3.tar.gz kernel-3d8c38af149309feb2541b995b3a45df170d6da3.zip | |
net/mlx5e: Add PTP Hardware Clock (PHC) support
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 <[email protected]>
Cc: Richard Cochran <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
