]> 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)
commit576a1ffa836bc2f0c2ae1afc2f6c6ed671c859e1
tree4b68df36ba290b4a98894522afd31efb67d04292
parente684d3e2d61a95dc1e2f2786f9fb18de257ba260
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