commit | 1c64bf6f291cae7cbe779e407db9477378bb4e7d | [log] [tgz] |
---|---|---|
author | Meny Yossefi <menyy@mellanox.com> | Thu Feb 18 18:15:00 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Mar 01 10:57:15 2016 -0500 |
tree | b8ef1f134babc7928cb754827a4db8ac6dbeaa28 | |
parent | b54ba2772b7af82a07eb48f88c88f7cadfb33401 [diff] |
net/mlx5_core: Add helper function to read IB error counters Added helper function to read IB standard error counters via the PPCNT register. The PPCNT register read command provides the 32-bit error counters of both IB/RoCE link layer and transport layer. Signed-off-by: Meny Yossefi <menyy@mellanox.com> Signed-off-by: Majd Dibbiny <majd@mellanox.com> Reviewed-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>