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)
commit536f092805cecc5c2c0ba7f051a7552619bd4491
tree814afb5d751ce41bfaaf9c53486c24110b5d4c2a
parenta25d112fe9c8e8817cde1df17a82aee472c55993
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