]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb6d57a1db0fa97178f56900e14e90c50cb30ba2
tree4b68df36ba290b4a98894522afd31efb67d04292
parent3c0285f8a8634f9be5921117922bb024cb1d67a1
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