diff options
author | Parav Pandit <parav@mellanox.com> | 2017-01-19 18:55:08 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-01-26 18:45:03 +0300 |
commit | 748ff8408f8e208f279ba221e5c12612fbb4dddb (patch) | |
tree | aa3271248e82fda49fbd805b39c19585e63d3bf6 /drivers/mtd/mtd_blkdevs.c | |
parent | 23a8ed4a624324dc696c328f09bd502c4a3816f0 (diff) | |
download | linux-748ff8408f8e208f279ba221e5c12612fbb4dddb.tar.xz |
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: Parav Pandit <parav@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions