2eec131e4d
PAGE_SIZE is the host memory page size, which is irrelevant for the NVMe driver; what we actually care about is the NVMe controller's memory page size, CC.MPS. This patch cleans up the uses of PAGE_SIZE in the NVMe driver; the behavior is still the same in all cases today, since normal NVMe controllers report a minimum page size of 4096. Change-Id: I56fce2770862329a9ce25370722f44269234ed46 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/374371 Tested-by: 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> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr.c | ||
nvme_internal.h | ||
nvme_ns_cmd.c | ||
nvme_ns.c | ||
nvme_pcie.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme.c |