HomeFreeBSD

bhyve: refactor NVMe PRP memcpy

Description

bhyve: refactor NVMe PRP memcpy

Add a "copy direction" parameter to nvme_prp_memcpy such that data can
be copied to the memory specified by the PRP entries (current behavior)
or copied from the PRP entries (new behavior). The upcoming deallocate
functionality will use the copy from capability.

Reviewed by: jhb, araujo
Approved by: jhb (maintainer)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21837

Details

Provenance
chuckAuthored on
Reviewer
jhb
Differential Revision
D21837: bhyve: refactor NVMe PRP memcpy
Parents
rS359361: MFC r359285:
Branches
Unknown
Tags
Unknown