diff options
author | Shawn Bohrer <sbohrer@rgmadvisors.com> | 2013-12-31 21:39:39 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-02 12:30:36 +0400 |
commit | ad7d4eaed995d76fb24a18e202fdf5072197ff0a (patch) | |
tree | 2625d165dd5b6972f582f19e20cc6c955fd9259a /drivers/extcon | |
parent | dd9b45598a7198f8b12965f2ec453bcb5cb90aec (diff) | |
download | linux-ad7d4eaed995d76fb24a18e202fdf5072197ff0a.tar.xz |
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 <sbohrer@rgmadvisors.com>
Acked-By: Hadar Hen Zion <hadarh@mellanox.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions