• Parav Pandit's avatar
    IB/mlx5: Expose extended error counters · 58dcb60a
    Parav Pandit authored
    This patch adds below requester and responder side error counters,
    which will be exposed by hardware counters interface and are supported
    as part of query Q counters command extension.
    
     +---------------------------+-------------------------------------+
     |      Name                 |           Description               |
     |---------------------------+-------------------------------------|
     |resp_local_length_error    | Number of times responder detected  |
     |                           | local length errors                 |
     |---------------------------+-------------------------------------|
     |resp_cqe_error             | Number of CQEs completed with error |
     |                           | at responder                        |
     |---------------------------+-------------------------------------|
     |req_cqe_error              | Number of CQEs completed with error |
     |                           | at requester                        |
     |---------------------------+-------------------------------------|
     |req_remote_invalid_request | Number of times requester detected  |
     |                           | remote invalid request error        |
     |---------------------------+-------------------------------------|
     |req_remote_access_error    | Number of times requester detected  |
     |                           | remote access error                 |
     |---------------------------+-------------------------------------|
     |resp_remote_access_error   | Number of times responder detected  |
     |                           | remote access error                 |
     |---------------------------+-------------------------------------|
     |resp_cqe_flush_error       | Number of CQEs completed with       |
     |                           | flushed with error at responder     |
     |---------------------------+-------------------------------------|
     |req_cqe_flush_error        | Number of CQEs completed with       |
     |                           | flushed with error at requester     |
     +---------------------------+-------------------------------------+
    Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
    Reviewed-by: default avatarDaniel Jurgens <danielj@mellanox.com>
    Reviewed-by: default avatarEli Cohen <eli@mellanox.com>
    Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    58dcb60a
main.c 110 KB