RDMA/bnxt_re: Implement the alloc/get_hw_stats callback
authorSomnath Kotur <somnath.kotur@broadcom.com>
Wed, 2 Aug 2017 08:46:19 +0000 (01:46 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 19:08:30 +0000 (15:08 -0400)
commit225937d6ccff3ba49b7065672ce35f21465aaeb9
tree4b68df36ba290b4a98894522afd31efb67d04292
parent6a5df91baf2528e584bf4493c30bbafe2db74c9e
RDMA/bnxt_re: Implement the alloc/get_hw_stats callback

Expose HW counters using the get_hw_stats callback

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/Makefile
drivers/infiniband/hw/bnxt_re/hw_counters.c [new file with mode: 0644]
drivers/infiniband/hw/bnxt_re/hw_counters.h [new file with mode: 0644]
drivers/infiniband/hw/bnxt_re/main.c