]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7c51af8634901ba1a005ca7f72c912fd71ab790
tree3bfab9c8c024619c90e4e2f3e287ac886a358b07
parent23bd30be4c1de11b1e39696c63f72cbb284349d7
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