]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85390a746eaab3b7e6a171f7224f294ae6369f08
tree33a3aacc462b4e1d1da294078cfe532b674e3fe8
parent4cc29bead3dd7c6b97bbb96ccc00309051fca358
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