projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RDMA/cxgb3: Fix the T3A workaround checks
[powerpc.git]
/
drivers
/
infiniband
/
hw
/
cxgb3
/
cxio_hal.c
diff --git
a/drivers/infiniband/hw/cxgb3/cxio_hal.c
b/drivers/infiniband/hw/cxgb3/cxio_hal.c
index
26b8c0e
..
03c5ff6
100644
(file)
--- a/
drivers/infiniband/hw/cxgb3/cxio_hal.c
+++ b/
drivers/infiniband/hw/cxgb3/cxio_hal.c
@@
-179,7
+179,7
@@
int cxio_create_cq(struct cxio_rdev *rdev_p, struct t3_cq *cq)
setup.size = 1UL << cq->size_log2;
setup.credits = 65535;
setup.credit_thres = 1;
- if (rdev_p->t3cdev_p->type
== T3B
)
+ if (rdev_p->t3cdev_p->type
!= T3A
)
setup.ovfl_mode = 0;
else
setup.ovfl_mode = 1;