diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-12-17 13:20:46 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-19 15:07:26 -0500 |
commit | 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 (patch) | |
tree | 6c8c0acf5a9394c8c81225d9146bb50bec4cef2f /lib/once.c | |
parent | 82305f8235622a97f29ff6e82cc97cab6ac543ea (diff) |
RDMA/srpt: Add support for immediate data
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: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions