Spdk/lib
Dariusz Stojaczyk 2fe7aa5e4d env_dpdk/vtophys: register a fake rte_bus supporting RTE_IOVA_VA
To use virtual address IOVAs, DPDK has to ensure there
are absolutely no predispositions to require physical
addresses neither now, nor in future. All available buses,
including PCI, report whether they require physical
addresses. For PCI, the registered drivers may report
RTE_PCI_DRV_IOVA_AS_VA to mark a driver as RTE_IOVA_VA
compliant. However, this model assumes that all (PCI)
drivers are registered on DPDK init, which is not the case
in SPDK. With no devices attached, most buses will report
RTE_IOVA_DC (don't care) and EAL will default to
RTE_IOVA_PA.

SPDK needs a hook to report whether it supports RTE_IOVA_VA,
and the fake rte_bus provides it.

Change-Id: Iba2d904200d1b70140d81943a57b98fd290783f9
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/423491
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-08-29 16:25:18 +00:00
..
bdev util: Move definition of SPDK_SEC_TO_USEC to util.h 2018-08-27 18:44:51 +00:00
blob lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
blobfs blobfs: return the error code in file callbacks 2018-08-24 21:35:07 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy copy/ioat: Add scan_ioat_copy_engine RPC 2018-06-14 03:54:42 +00:00
env_dpdk env_dpdk/vtophys: register a fake rte_bus supporting RTE_IOVA_VA 2018-08-29 16:25:18 +00:00
event event: simplify sleep code in _spdk_reactor_run 2018-08-28 16:04:16 +00:00
ioat ioat: clear the internal channel error register on reset 2018-08-13 16:59:18 +00:00
iscsi iscsi&scripts/rpc: Add add/delete_secret_to/from_iscsi_auth_group RPCs 2018-08-27 21:13:49 +00:00
json json: Add spdk_json_decode_uint16 2018-06-05 21:30:02 +00:00
jsonrpc jsonrpc: call spdk_jsonrpc_free_request only from server thread 2018-08-13 20:01:07 +00:00
log app: allow full-name command line options 2018-08-13 17:30:10 +00:00
lvol lvol: remove destruct_req from lvol store 2018-07-26 21:55:36 +00:00
nbd thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
net lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
nvme nvme: add quirk for Intel SSDs without vendor-specific log pages 2018-08-27 14:58:48 +00:00
nvmf nvmf/rdma: Handle successful requests on an errored queue pair 2018-08-28 16:13:38 +00:00
rocksdb env_spdk: add unused attribute to avoid compilation issue 2018-08-29 05:32:11 +00:00
rpc rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
scsi iscsi: Support hot removal of LUN based on LUN open/close 2018-07-17 17:43:28 +00:00
sock sock: fix socket memory free 2018-08-10 15:38:38 +00:00
thread util: Remove usage of abort from library code 2018-07-17 17:40:11 +00:00
trace trace: update TpointGroupMask comment and related code 2018-08-22 20:28:19 +00:00
ut_mock test: Simplify the mock library 2018-08-09 17:18:23 +00:00
util Clean up some incorrect Copyright statements 2018-07-30 16:29:38 +00:00
vhost rte_vhost:rte_vhost_driver_register(): check if strdup succeeds 2018-08-24 03:58:31 +00:00
virtio virtio: clarify feature negotiation failure 2018-08-01 19:16:54 +00:00
Makefile test: remove spdk_cunit library 2018-07-06 18:35:03 +00:00