IB/srpt: Reduce frequency of receive failure messages
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 8 Jan 2018 19:00:48 +0000 (11:00 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 8 Jan 2018 21:05:12 +0000 (16:05 -0500)
commit3fa7f0e99446f1179cbb2742e5bc4db097ad78b5
tree3bfab9c8c024619c90e4e2f3e287ac886a358b07
parentea51d2e12aac9205291b0ec88ffb7d33da7eafb5
IB/srpt: Reduce frequency of receive failure messages

Disabling an SRP target port causes the state of all QPs associated
with a port to be changed into IB_QPS_ERR. Avoid that this causes
one error message per I/O context to be reported.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c