Spdk/test/unit/lib/nvmf
Changpeng Liu 870a606960 nvme: map PRP and SGL lists RO
There is no need to map the PRP/SGL list RW since this memory is never written
to. In fact, SeaBIOS might submit a request where the PRP list resides on
read-only memory, so attempting to map it RW can break things.

Change-Id: I7e4e90b1fa7e33e81b8d5cd8dcb9568c038938ec
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7288
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
2021-07-13 16:53:42 +00:00
..
ctrlr_bdev.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
ctrlr_discovery.c nvmf: remove a bdev_module.h #include 2021-05-11 11:57:01 +00:00
ctrlr.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
fc_ls.c nvmf/fc: Cleanup pollgroup and hwqp mapping logic. 2021-01-14 16:18:25 +00:00
fc.c mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
rdma.c unittest/nvmf: test for nvmf_rdma_update_ibv_state 2021-07-13 09:01:14 +00:00
subsystem.c test/nvmf/subsystem: cases for subsystem ctrlr adding and removing 2021-07-05 14:36:45 +00:00
tcp.c mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
vfio_user.c nvme: map PRP and SGL lists RO 2021-07-13 16:53:42 +00:00
Makefile UT/nvmf/vfio-user: restore nvme_cmd_map UT in nvmf/vfio-user 2021-07-13 16:53:42 +00:00