commit | 52033cfb5aab2a54e238e93c9e52f61c2c5708aa | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Thu Jun 11 16:35:26 2015 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Fri Jun 12 14:49:10 2015 -0400 |
tree | 2fa1c99afee51a719b168c7b3175cdce25bb4090 | |
parent | 2528e33e680921d95092f83c4a64046744f111b3 [diff] |
IB/mlx4: Add mmap call to map the hardware clock In order to read the HCA's cycle counter efficiently in user space, we need to map the HCA's register. This is done through mmap call. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>