Spdk/test/unit/lib
Changpeng Liu fbc53ae3fb vhost/nvme: add shared BAR space to enable old Guest kernel
For some old Linux Guest kernels, the new NVMe 1.3 feature: shadow
doorbell buffer is not enabled, while here, make a dummy BAR region
inside slave target, when Guest submits a new request, the doorbell
value will be write to the shared memory between Guest and vhost
target, so that the existing vhost target can support both new
Linux Guest kernel(newer than 4.12) and old Guest kernel.

Also, the shared BAR space can be used in future which we can move
ADMIN queue processing into SPDK vhost target, with this feature,
the QEMU driver will become very small and easy for upstreaming.

Change-Id: I9463e9f13421368f43bfe4076facddd119f4552e
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/419157
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: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2018-11-27 13:24:42 +00:00
..
bdev bdev/crypto: optimization: use shared sessions 2018-11-26 18:27:42 +00:00
blob blob: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
blobfs test/blobfs: Simplify threading in sync unit test 2018-11-21 00:59:08 +00:00
event rpc: add function to get the current RPC state 2018-11-08 23:04:50 +00:00
ioat ut/ioat: drop legacy mocks 2018-07-03 16:29:42 +00:00
iscsi iscsi: do not caculate the CRC in multiple times 2018-11-05 15:30:07 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: call spdk_jsonrpc_free_request only from server thread 2018-08-13 20:01:07 +00:00
log ut/log: test print level set and get functions 2018-10-09 18:08:49 +00:00
lvol test/unit: fix Scan-build errors in lvol tests. 2018-08-31 19:09:07 +00:00
nvme nvme: add timeout for Admin commands when initialization 2018-11-16 15:29:33 +00:00
nvmf nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
reduce reduce: initialize vol pm pointer members at load 2018-11-20 14:50:27 +00:00
scsi scsi: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
sock sock: Update the spdk_sock_getaddr function. 2018-10-11 04:58:49 +00:00
thread thread: Add unit test for channel destruction behavior 2018-11-20 15:13:54 +00:00
util bit_array: return UINT32_MAX if no cleared bits found 2018-10-08 17:03:33 +00:00
vhost vhost/nvme: add shared BAR space to enable old Guest kernel 2018-11-27 13:24:42 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile reduce: add configure option 2018-11-08 00:01:47 +00:00