projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd378c2
)
IB/qib: Turn off IB latency mode
author
Ralph Campbell
<ralph.campbell@qlogic.com>
Wed, 23 Jun 2010 15:58:31 +0000
(15:58 +0000)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 21 Jul 2010 18:39:31 +0000
(11:39 -0700)
Turn off IB latency mode. This improves link quality for slower
process chips.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_iba7322.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/qib/qib_iba7322.c
b/drivers/infiniband/hw/qib/qib_iba7322.c
index
5eedf83
..
fc14ef8
100644
(file)
--- a/
drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/
drivers/infiniband/hw/qib/qib_iba7322.c
@@
-7271,6
+7271,8
@@
static int serdes_7322_init(struct qib_pportdata *ppd)
ibsd_wr_allchans(ppd, 20, (4 << 13), BMASK(15, 13)); /* SDR */
data = qib_read_kreg_port(ppd, krp_serdesctrl);
+ /* Turn off IB latency mode */
+ data &= ~SYM_MASK(IBSerdesCtrl_0, IB_LAT_MODE);
qib_write_kreg_port(ppd, krp_serdesctrl, data |
SYM_MASK(IBSerdesCtrl_0, RXLOSEN));