summaryrefslogtreecommitdiff
path: root/drivers/mailbox/hi3660-mailbox.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-12-18 00:20:46 +0300
committerDoug Ledford <dledford@redhat.com>2018-12-19 23:07:26 +0300
commit5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 (patch)
tree6c8c0acf5a9394c8c81225d9146bb50bec4cef2f /drivers/mailbox/hi3660-mailbox.c
parent82305f8235622a97f29ff6e82cc97cab6ac543ea (diff)
downloadlinux-5dabcd0456d7ee17c2c7a17d7c2305444d2b9639.tar.xz
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 'drivers/mailbox/hi3660-mailbox.c')
0 files changed, 0 insertions, 0 deletions