diff options
| author | Shawn Bohrer <[email protected]> | 2013-12-31 11:39:39 -0600 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-01-02 03:30:36 -0500 |
| commit | ad7d4eaed995d76fb24a18e202fdf5072197ff0a (patch) | |
| tree | 2625d165dd5b6972f582f19e20cc6c955fd9259a /tools/perf/scripts | |
| parent | dd9b45598a7198f8b12965f2ec453bcb5cb90aec (diff) | |
mlx4_en: Add PTP hardware clock
This adds a PHC to the mlx4_en driver. We 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.
This driver has been tested with both Documentation/ptp/testptp and the
linuxptp project (http://linuxptp.sourceforge.net/) on a Mellanox
ConnectX-3 card.
Signed-off-by: Shawn Bohrer <[email protected]>
Acked-By: Hadar Hen Zion <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions