Closed peng6662001 closed 1 year ago
As per my comment on SPDK issue, I don't think this is vfio-user related at all.
NVMF_VFIO_USER_DOORBELLS_SIZE
should be 4K in your case, that's why it breaks, and as John said this is not a libvfio-user issue.
How to resolve this issue?
You need to align NVMF_VFIO_USER_DOORBELLS_SIZE
to the system page size (currently we assume 4K) and possibly adapt relevant code. I bet this isn't the only place where we assume a 4K page size in nvmf/vfio-user.
Does libvfio-user support 64K pages?
I believe it does.
As this isn't a libvfio-user issue, I'm closing this.
@peng6662001 please feel free to open further issues as and when you discover issues with the library (or the protocol!). Thanks.
I run the commands in the dir of spdk on Ampere Altra.
The last command returns error:
The relative code is:
It works well when CONFIG_ARM64_4K_PAGES=y. How to resolve this issue?
./build/bin/nvmf_tgt -v SPDK v23.05-pre git sha1 487069501
uname -a Linux adam-ubuntu 6.3.0-rc4 #9 SMP Fri Apr 21 07:14:57 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy
Please find more details in https://github.com/spdk/spdk/issues/2994 Does libvfio-user support 64K pages?