rdma_cm: add rdma_consumer_reject_data 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)
commit5f24410408fd093734ce758f2fe3a66fe543de22
tree11bc8d9684f5166d5e449c8189257c30e329cc12
parent5042a73d3e9de7bcc2a31adea08ee95bbce998dc
rdma_cm: add rdma_consumer_reject_data helper function

rdma_consumer_reject_data() will return the private data pointer
and length if any is available.

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