1f49ee235f
For a SGL using PRPs, there is always an alignment check of the start address in the beginning of the loop. This is stored in start_valid. If the start is indeed valid, we might fetch a new SGE, and then perform a second alignment check on this new SGE. However, this second alignment check is done unconditionally, meaning that for the last SGE in a request, we check if the same start address is aligned twice. Only perform the second alignment check if we actually fetched a new SGE. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I9df8038c650b0879f838d1d9d895e8dd7172840d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6493 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_cuse.c | ||
nvme_cuse.h | ||
nvme_fabric.c | ||
nvme_internal.h | ||
nvme_io_msg.c | ||
nvme_io_msg.h | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_opal_internal.h | ||
nvme_opal.c | ||
nvme_pcie_common.c | ||
nvme_pcie_internal.h | ||
nvme_pcie.c | ||
nvme_poll_group.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme_vfio_user.c | ||
nvme_zns.c | ||
nvme.c | ||
spdk_nvme.map |