]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: expose detailed stats retrieved from HW
authorSelvin Xavier <selvin.xavier@broadcom.com>
Thu, 11 Jan 2018 16:52:10 +0000 (11:52 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:18 +0000 (14:49 -0500)
commit3737270e60627d0875c90ef6e872c5c0b5545a86
treec69daf3db8a870bcdf3f41807683f08094aa22e3
parent3388e69938cddc3f3ce7d13616026d2ac5e9c6eb
RDMA/bnxt_re: expose detailed stats retrieved from HW

Broadcom's adapter supports more granular statistics
to allow better understanding about the state of the
chip when data traffic is flowing.

Exposing the detailed stats to the consumer through
the standard hook available in the kverbs interface.
In order to retrieve all the information, driver
implements a firmware command.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/hw_counters.c
drivers/infiniband/hw/bnxt_re/hw_counters.h
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_sp.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h
drivers/infiniband/hw/bnxt_re/roce_hsi.h