Skip to content
Commit 748ff840 authored by Parav Pandit's avatar Parav Pandit Committed by Sagi Grimberg
Browse files

nvmet-rdma: Fix missing dma sync to nvme data structures



This patch performs dma sync operations on nvme_command
and nvme_completion.

nvme_command is synced
(a) on receiving of the recv queue completion for cpu access.
(b) before posting recv wqe back to rdma adapter for device access.

nvme_completion is synced
(a) on receiving of the recv queue completion of associated
nvme_command for cpu access.
(b) before posting send wqe to rdma adapter for device access.

This patch is generated for git://git.infradead.org/nvme-fabrics.git
Branch: nvmf-4.10

Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
Reviewed-by: default avatarMax Gurtovoy <maxg@mellanox.com>
parent 23a8ed4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment