rdma_cm: add rdma_is_consumer_reject() helper function
authorSteve Wise <swise@opengridcomputing.com>
Wed, 26 Oct 2016 19:36:47 +0000 (12:36 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 16:38:28 +0000 (11:38 -0500)
commit5042a73d3e9de7bcc2a31adea08ee95bbce998dc
tree756a334da6be36b8154ac165344735b0aba57ed5
parent77a5db13153906a7e00740b10b2730e53385c5a8
rdma_cm: add rdma_is_consumer_reject() helper function

Return true if the peer consumer application rejected the
connection attempt.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
include/rdma/rdma_cm.h