summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_hw.h
diff options
context:
space:
mode:
authorChien Tung <chien.tin.tung@intel.com>2009-04-08 14:27:18 -0700
committerRoland Dreier <rolandd@cisco.com>2009-04-08 14:27:18 -0700
commita4849fc157cdbe4fb68cfe37e7222697f003deb5 (patch)
tree315f1f55d5167b8006cf40d175b6eaae6914d43c /drivers/infiniband/hw/nes/nes_hw.h
parent1b9493248cf5e9f1ecc045488100cbf3ccd91be1 (diff)
downloadop-kernel-dev-a4849fc157cdbe4fb68cfe37e7222697f003deb5.zip
op-kernel-dev-a4849fc157cdbe4fb68cfe37e7222697f003deb5.tar.gz
RDMA/nes: Add wide_ppm_offset parm for switch compatibility
We have observed unstable link with a new BNT switch. Add wide_ppm_offset parameter to allow the user to control the clock ppm offset on the CX4 interface for better compatibility. Default is 100ppm, setting it to 1 will increase it to 300ppm. Change default SerDes1 reference clock to external source. 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 f41a871..13bc26a 100644
--- a/drivers/infiniband/hw/nes/nes_hw.h
+++ b/drivers/infiniband/hw/nes/nes_hw.h
@@ -35,6 +35,7 @@
#include <linux/inet_lro.h>
+#define NES_PHY_TYPE_CX4 1
#define NES_PHY_TYPE_1G 2
#define NES_PHY_TYPE_IRIS 3
#define NES_PHY_TYPE_ARGUS 4
OpenPOWER on IntegriCloud