summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-01-08 11:00:47 -0800
committerDoug Ledford <dledford@redhat.com>2018-01-08 16:05:12 -0500
commitea51d2e12aac9205291b0ec88ffb7d33da7eafb5 (patch)
treeb8a6e672d109baf7c3f3fd13cc7a516eebfd922c /drivers/infiniband/ulp
parentb185d3f895632f1091513405ce80a9455cb5bf30 (diff)
downloadop-kernel-dev-ea51d2e12aac9205291b0ec88ffb7d33da7eafb5.zip
op-kernel-dev-ea51d2e12aac9205291b0ec88ffb7d33da7eafb5.tar.gz
IB/srpt: Convert a warning into a debug message
At least when running the ib_srpt driver on top of the rdma_rxe driver it is easy to trigger a zero-length write completion in the CH_DISCONNECTED state. Hence make the message that reports this less noisy. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r--drivers/infiniband/ulp/srpt/ib_srpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c
index 25c5e18..31b6f10 100644
--- a/drivers/infiniband/ulp/srpt/ib_srpt.c
+++ b/drivers/infiniband/ulp/srpt/ib_srpt.c
@@ -875,7 +875,8 @@ static void srpt_zerolength_write_done(struct ib_cq *cq, struct ib_wc *wc)
if (srpt_set_ch_state(ch, CH_DISCONNECTED))
schedule_work(&ch->release_work);
else
- WARN_ONCE(1, "%s-%d\n", ch->sess_name, ch->qp->qp_num);
+ pr_debug("%s-%d: already disconnected.\n",
+ ch->sess_name, ch->qp->qp_num);
}
}
OpenPOWER on IntegriCloud