]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: Specify RDMA component when allocating stats context
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 29 Jun 2017 19:28:14 +0000 (12:28 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:50 +0000 (11:20 -0400)
commit450d4cad0898563f5cc90e9a9042b1dba06bdfd8
tree814afb5d751ce41bfaaf9c53486c24110b5d4c2a
parent6e339d012da23c3613ed97107b0d47eb98b4f6f3
RDMA/bnxt_re: Specify RDMA component when allocating stats context

Starting FW version 20.6.47, firmware is keeping separate statistics
for L2 and RDMA. However, driver needs to specify RDMA or not when
allocating stat_ctx.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/main.c