summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/nes/nes_hw.h
diff options
context:
space:
mode:
authorChien Tung <chien.tin.tung@intel.com>2008-11-03 08:40:55 +0300
committerRoland Dreier <rolandd@cisco.com>2008-11-03 08:40:55 +0300
commit633693660045b3e46a63ed618eb38a54339fbcc0 (patch)
tree3ed901d47709c4011850d55c2a38f16cddaad52c /drivers/infiniband/hw/nes/nes_hw.h
parent2e369544ac14de7bd0d76b369c1f6110eefbea8a (diff)
downloadlinux-633693660045b3e46a63ed618eb38a54339fbcc0.tar.xz
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>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_hw.h')
-rw-r--r--drivers/infiniband/hw/nes/nes_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_hw.h b/drivers/infiniband/hw/nes/nes_hw.h
index 610b9d859597..bc0b4de04450 100644
--- a/drivers/infiniband/hw/nes/nes_hw.h
+++ b/drivers/infiniband/hw/nes/nes_hw.h
@@ -40,6 +40,7 @@
#define NES_PHY_TYPE_ARGUS 4
#define NES_PHY_TYPE_PUMA_1G 5
#define NES_PHY_TYPE_PUMA_10G 6
+#define NES_PHY_TYPE_GLADIUS 7
#define NES_MULTICAST_PF_MAX 8