• Tom Tucker's avatar
    svcrdma: Simplify receive buffer posting · 0e7f011a
    Tom Tucker authored
    The svcrdma transport provider currently allocates receive buffers
    to the RQ through the xpo_release_rqst method. This approach is overly
    complicated since it means that the rqstp rq_xprt_ctxt has to be
    selectively set based on whether the RPC is going to be processed
    immediately or deferred. Instead, just post the receive buffer when
    we are certain that we are replying in the send_reply function.
    Signed-off-by: default avatarTom Tucker <tom@opengridcomputing.com>
    0e7f011a
svc_rdma_transport.c 30.6 KB