alistair23-linux/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
cxio_hal.c RDMA/cxgb3: Fix the T3A workaround checks 2008-01-25 14:17:47 -08:00
cxio_hal.h
cxio_resource.c
cxio_resource.h
cxio_wr.h RDMA/cxgb3: Mark QP as privileged based on user capabilities 2008-01-25 14:17:45 -08:00
iwch.c
iwch.h
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
iwch_ev.c
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
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