RDMA/nes: Add wide_ppm_offset parm for switch compatibility
authorChien Tung <chien.tin.tung@intel.com>
Wed, 8 Apr 2009 21:27:18 +0000 (14:27 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 8 Apr 2009 21:27:18 +0000 (14:27 -0700)
commita4849fc157cdbe4fb68cfe37e7222697f003deb5
tree315f1f55d5167b8006cf40d175b6eaae6914d43c
parent1b9493248cf5e9f1ecc045488100cbf3ccd91be1
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>
drivers/infiniband/hw/nes/nes_hw.c
drivers/infiniband/hw/nes/nes_hw.h