RDMA/cxgb3: Flush the receive queue when closing
authorSteve Wise <swise@opengridcomputing.com>
Mon, 21 Jan 2008 20:42:09 +0000 (14:42 -0600)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:17:45 +0000 (14:17 -0800)
commit856b5925047d73a85557203d124d62c5eea1fbd3
treea2cd5eaff8a758e41d4870c7f62c2c7cf8aca861
parent4e1e93a4189a98cfb0e24865f7f44470ae5f805e
RDMA/cxgb3: Flush the receive queue when closing

- for kernel mode cqs, call event notification handler when flushing.
- flush QP when moving from RTS -> CLOSING.
- fix logic to identify a kernel mode qp.

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