]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDMA/cxgb3: Don't allocate the SW queue for user mode CQs
authorSteve Wise <swise@opengridcomputing.com>
Wed, 27 Jan 2010 20:22:34 +0000 (20:22 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 18:40:29 +0000 (10:40 -0800)
commit5279d3ac2d9ca578d04c6f0c760485b0621eb393
treed6fcd241a879c4e8b340e96e091a32cf1c44b3ac
parent9918b28d2bf733816c5d1612fe17ca380b601b10
RDMA/cxgb3: Don't allocate the SW queue for user mode CQs

Only kernel mode CQs need the SW queue memory allocated.  The SW queue
for user mode CQs is allocated in userspace by libcxgb3.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/infiniband/hw/cxgb3/cxio_hal.h
drivers/infiniband/hw/cxgb3/iwch_provider.c