commit | d69e3bcf79764ed833e0cc6e0645dc87589cec22 | [log] [tgz] |
---|---|---|
author | Matan Barak <matanb@mellanox.com> | Tue Dec 15 20:30:13 2015 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Dec 23 23:25:59 2015 -0500 |
tree | 5f443d6aafe32729363f65f2035bea6d892b0763 | |
parent | b368d7cb8ceb77f481b066bd8be5fada82da7301 [diff] |
IB/mlx5: Mmap the HCA's core clock register to user-space In order to read the HCA's current cycles register, we need to map it to user-space. Add support to map this register via mmap command. Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-by: Moshe Lazer <moshel@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>