diff options
author | Parav Pandit <parav@mellanox.com> | 2017-01-19 15:55:08 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-17 04:41:55 (GMT) |
commit | 6149abe7f4042e5720544d4e5675d7a45a827ce7 (patch) | |
tree | 5483d1cf0ce86827df761f481a3501c3417db4b5 /drivers/dio | |
parent | 5a0d41409b4dbfb50243ddee7a8b62ba838c5295 (diff) | |
download | linux-6149abe7f4042e5720544d4e5675d7a45a827ce7.tar.xz |
nvmet-rdma: Fix missing dma sync to nvme data structures
[ Upstream commit 748ff8408f8e208f279ba221e5c12612fbb4dddb ]
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: Parav Pandit <parav@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions