android_kernel_motorola_sm6225/drivers/infiniband/hw/cxgb3
Roland Dreier 1f71f50342 RDMA/cxgb3: Program hardware IRD with correct value
Because of a typo in iwch_accept_cr(), the cxgb3 connection handling
code programs the hardware IRD (incoming RDMA read queue depth) with
the value that is passed in for the ORD (outgoing RDMA read queue
depth).  In particular this means that if an application passes in IRD
> 0 and ORD = 0 (which is a completely sane and valid thing to do for
an app that expects only incoming RDMA read requests), then the
hardware will end up programmed with IRD = 0 and the app will fail in
a mysterious way.

Fix this by using "ep->ird" instead of "ep->ord" in the intended place.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-28 10:45:32 -07:00
..
cxio_dbg.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_hal.c RDMA/cxgb3: Fix the T3A workaround checks 2008-01-25 14:17:47 -08:00
cxio_hal.h RDMA/cxgb3: cleanups 2007-02-23 13:10:43 -08:00
cxio_resource.c RDMA/cxgb3: cleanups 2007-02-23 13:10:43 -08:00
cxio_resource.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h RDMA/cxgb3: Mark QP as privileged based on user capabilities 2008-01-25 14:17:45 -08:00
iwch.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch_cm.c RDMA/cxgb3: Program hardware IRD with correct value 2008-03-28 10:45:32 -07:00
iwch_cm.h RDMA/cxgb3: Streaming -> RDMA mode transition fixes 2007-07-09 20:12:26 -07:00
iwch_cq.c RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
iwch_ev.c RDMA/cxgb3: Squelch logging AE errors 2007-03-06 12:50:53 -08:00
iwch_mem.c RDMA/cxgb3: Fix shift calc in build_phys_page_list() for 1-entry page lists 2008-02-25 16:00:29 -08:00
iwch_provider.c RDMA/cxgb3: Fix iwch_create_cq() off-by-one error 2008-03-09 13:54:12 -07:00
iwch_provider.h IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
iwch_qp.c RDMA/cxgb3: Mark QP as privileged based on user capabilities 2008-01-25 14:17:45 -08:00
iwch_user.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile INFINIBAND: Remove 'TOPDIR' from Makefiles 2008-01-28 23:14:37 +01:00
tcb.h