IB/hfi1: Fix integrity errors counter value calculation
authorJakub Pawlak <jakub.pawlak@intel.com>
Mon, 25 Jul 2016 20:37:54 +0000 (13:37 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 20:00:58 +0000 (16:00 -0400)
commit3210314ad305d554e7bfce5281b31ce80afa5f15
tree33a3aacc462b4e1d1da294078cfe532b674e3fe8
parent2821c509fcc963e2661ec1ef3aa8b3d2a64399fa
IB/hfi1: Fix integrity errors counter value calculation

PMA should not sum TX and RX replay counts when reporting
local link integrity errors. Fixed by removing C_DC_TX_REPLAY
counter from calculation of the link integrity errors counter
value.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c