Spdk/lib
Jun Zeng a773ed9a9a lib/vfio_user: change the calculation of bar_addr
When calculating the bar_addr which is used to access SPARSE MMAP area, we should use the
(offset - region->mmaps[i].offset) as the increment to get the valid access address.

Signed-off-by: Jun Zeng <jun1.zeng@intel.com>
Change-Id: Ie5d0c63cf572847d15dc92f0995fddecf35f1cdc
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13021
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-06-15 08:10:32 +00:00
..
accel Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
bdev Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
blob Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
blobfs Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
conf Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dma Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
env_dpdk env/dpdk: skip build of DPDK based governors when missing rte_power 2022-06-15 08:08:55 +00:00
env_ocf Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
event Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ftl Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
idxd Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
init Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ioat Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
iscsi Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
json Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
jsonrpc Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
log Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
lvol Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nbd Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
notify Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvme nvme_tcp: fix bug about qpair stuck in CONNECTING state 2022-06-14 09:18:04 +00:00
nvmf lib/nvmf: bump SO_VER due to addition of spdk_nvme_cdata_fuses 2022-06-10 11:55:00 +00:00
rdma Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
reduce Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rocksdb Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rpc Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
scsi Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
sock Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
thread Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
trace Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
trace_parser Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ut_mock Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
util Use SPDX license identifiers in remaining files. 2022-06-09 07:35:12 +00:00
vfio_user lib/vfio_user: change the calculation of bar_addr 2022-06-15 08:10:32 +00:00
vhost Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
virtio Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
vmd Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00