summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2018-12-17 13:20:46 -0800
committerDoug Ledford <dledford@redhat.com>2018-12-19 15:07:26 -0500
commit5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 (patch)
tree6c8c0acf5a9394c8c81225d9146bb50bec4cef2f /drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c
parent82305f8235622a97f29ff6e82cc97cab6ac543ea (diff)
downloadblackbird-op-linux-5dabcd0456d7ee17c2c7a17d7c2305444d2b9639.tar.gz
blackbird-op-linux-5dabcd0456d7ee17c2c7a17d7c2305444d2b9639.zip
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/infiniband/hw/vmw_pvrdma/pvrdma_misc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud