android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Michael Albaugh 192594d523 IB/ipath: Maintain active time on all chips
There is a count of "active hours" maintained in EEPROM, to aid
troubleshooting. The definition of "active" is based on traffic
exceeding a threshold in any given 5-second polling interval. As
originally written, the check was inadvertently bypassed for chips whose
counters were 64-bits wide, and only applied to chips with 32-bit wide
counters.

This patch moves the test for amount of traffic "out" to a more common
location, rather than depending on a side-effect of the software
emulation of 64-bit counts on chips whose hardware is only 32-bits wide.

Signed-off-by: Michael Albaugh <Michael.Albaugh@Qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-09 21:00:08 -07:00
..
amso1100 RDMA/amso1100: Initialize the wait_queue_head_t in the c2_qp structure 2007-07-28 08:06:40 -07:00
cxgb3 RDMA/cxgb3: Make the iw_cxgb3 module parameters writable 2007-10-09 19:59:04 -07:00
ehca IB/ehca: Fix clipping of device limits to INT_MAX 2007-10-09 19:59:18 -07:00
ipath IB/ipath: Maintain active time on all chips 2007-10-09 21:00:08 -07:00
mlx4 IB/mlx4: Implement FMRs 2007-10-09 19:59:16 -07:00
mthca IB/mthca: Use mmiowb() to avoid firmware commands getting jumbled up 2007-10-09 19:59:17 -07:00