• B
    RDMA/srpt: Add support for immediate data · 5dabcd04
    Bart Van Assche 提交于
    Modify allocation of the non-SRQ receive queues such that immediate
    data is aligned on a 512 byte boundary. That alignment is necessary
    to pass the immediate data without copying to the block layer. When
    receiving an SRP_CMD with immediate data, postpone the ib_post_recv()
    call until target_execute_cmd() has finished. See also
    srpt_release_cmd().
    
    Cc: Sergey Gorenko <sergeygo@mellanox.com>
    Cc: Max Gurtovoy <maxg@mellanox.com>
    Cc: Laurence Oberman <loberman@redhat.com>
    Signed-off-by: NBart Van Assche <bvanassche@acm.org>
    Signed-off-by: NDoug Ledford <dledford@redhat.com>
    5dabcd04
ib_srpt.h 14.6 KB