RDMA/nes: Mitigate compatibility issue regarding PCIe write credits
authorChien Tung <chien.tin.tung@intel.com>
Mon, 3 Nov 2008 05:40:55 +0000 (21:40 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 3 Nov 2008 05:40:55 +0000 (21:40 -0800)
commit633693660045b3e46a63ed618eb38a54339fbcc0
tree3ed901d47709c4011850d55c2a38f16cddaad52c
parent2e369544ac14de7bd0d76b369c1f6110eefbea8a
RDMA/nes: Mitigate compatibility issue regarding PCIe write credits

Under heavy load, there is an compatibility issue regarding PCIe write
credits with certain chipsets.  It can be mitigated by limiting read
requests to 256 Bytes.

This workaround is always enabled for Tbird2 on Gladius.  We also add
a module parameter to enable workaround for non-Gladius cards.

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes.c
drivers/infiniband/hw/nes/nes_hw.h