RDMA/cxgb3: Connection termination fixes
authorSteve Wise <swise@opengridcomputing.com>
Wed, 11 Feb 2009 00:38:57 +0000 (16:38 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 11 Feb 2009 00:38:57 +0000 (16:38 -0800)
commit42fb61f02f9bdc476c7a76d3cce0400d989f44c5
tree1b65628292881e77e81f6e1bdc6aed64b38f0646
parent900f4c16c338f742b80f3aa500e12ceb017e86af
RDMA/cxgb3: Connection termination fixes

The poll and flush code needs to handle all send opcodes: SEND,
SEND_WITH_SE, SEND_WITH_INV, and SEND_WITH_SE_INV.

Ignore TERM indications if the connection already gone.

Ignore HW receive completions if the RQ is empty.

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_wr.h
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/infiniband/hw/cxgb3/iwch_ev.c