RDMA/cxgb4: Display streaming mode error only if detected in RTS
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:52 +0000 (13:11 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:55 +0000 (15:51 -0800)
commit1557967bf921e787f0c9236c2899603d85f44d31
tree75df934f20c995ddc766112bd353383a0113638e
parent91e9c07195032bbde47489b8b423053cff5f413d
RDMA/cxgb4: Display streaming mode error only if detected in RTS

With later firmware, the chances of getting streaming mode data after
we exit RTS is likely, so we don't need to warn for it.  The only real
case where we don't expect it is when the QP is in RTS.

Move QP to ERROR when streaming mode data received.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c