• Chuck Lever's avatar
    svcrdma: Refactor chunk list encoders · 6fd5034d
    Chuck Lever authored
    Same idea as the receive-side changes I did a while back: use
    xdr_stream helpers rather than open-coding the XDR chunk list
    encoders. This builds the Reply transport header from beginning to
    end without backtracking.
    
    As additional clean-ups, fill in documenting comments for the XDR
    encoders and sprinkle some trace points in the new encoding
    functions.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    6fd5034d
svc_rdma_sendto.c 27.7 KB