US 12,254,211 B2
METHOD of accessing NVMeoF memory region of a remote target device by a host cpu
Venkataratnam Nimmagadda, Karnataka (IN); and Sandeep Kumar Ananthapalli, Karnataka (IN)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Jun. 9, 2022, as Appl. No. 17/806,148.
Claims priority of application No. 202141037370 (IN), filed on Aug. 17, 2021.
Prior Publication US 2023/0056733 A1, Feb. 23, 2023
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A method of accessing a Non-Volatile Memory express over Fabrics (NVMeoF) memory region of a remote target device by a host Central Processing Unit (CPU), the method comprising:
establishing, by the host CPU, a NVMeoF transport connection with the remote target device;
creating, by the host CPU, an admin queue by sending a NVMeoF connect command to the remote target device when the NVMeoF transport connection is established with the remote target device;
accessing, by the host CPU, the NVMeoF memory region of the remote target device by sending PropertyGet/PropertySet commands to an admin submission queue of the remote target device,
wherein the NVMeoF memory region of the remote target device comprises at least one of a Controller Memory Buffer (CMB) region and a Persistent Memory Region (PMR) region,
wherein a PMR bit in the PropertyGet/PropertySet submission queue entries is enabled by the host CPU when the host CPU wants to remotely access the PMR region of the NVMeoF memory region of the remote target device, and is disabled when the host CPU does not want to remotely access the PMR region of the NVMeoF memory region of the remote target device,
wherein a CMB bit in the PropertyGet/Property Set submission queue entries is enabled by the host CPU when the host CPU wants to remotely access the CMB region of the NVMeoF memory region of the remote target device, and is disabled when the host CPU does not want to remotely access the CMB region of the NVMeoF memory region of the remote target device,
wherein the host CPU remotely accesses the CMB region of the NVMeoF memory region of the remote target device when the CMB bit is enabled or remotely accesses the PMR region of the NVMeoF memory region of the remote target device when the PMR bit is enabled via a remote connection without accessing the CMB region or the PMR region of the NVMeoF memory region of the remote target device via a Peripheral Component Interconnect express (PCIe) connection;
performing one of (a) receiving, by the host CPU, PropertyGet/Property Set completion queue entries from the remote target device when accessing the NVMeOF memory region of the remote target device is completed, or (b) receiving, by the host CPU, Remote Direct Memory Access (RDMA) write or RDMA read requests from the remote target device in response to PropertyGet/PropertySet submission queue entries; and
receiving, by the host CPU, completion queue entries from the remote target device when the accessing of the NVMeOF memory region of the remote target device is completed.