System, method, and storage medium for shared key index space for memory regions
First Claim
Patent Images
1. A method of providing shared key index spaces for memory regions, comprising:
- associating a group of memory regions to a logical partition (LPAR) using a first portion of a key index, each memory region being associated with an RDMA-capable adapter, the LPAR being one of at least one LPARs; and
providing a single pointer for locating an entry in a protection table to an operating system running in the LPAR, the entry defining characteristics of the memory region.
1 Assignment
0 Petitions
Accused Products
Abstract
In a logical partitioning (LPAR) environment with InfiniBand™ host channel adapters (HCAs), multiple operating systems share the resources of a physical HCA. A mechanism for efficiently allocating memory regions (or memory windows) to different LPARs is provided, while ensuring that a memory region assigned to one LPAR is not accessible from another LPAR.
-
Citations
14 Claims
-
1. A method of providing shared key index spaces for memory regions, comprising:
-
associating a group of memory regions to a logical partition (LPAR) using a first portion of a key index, each memory region being associated with an RDMA-capable adapter, the LPAR being one of at least one LPARs; and
providing a single pointer for locating an entry in a protection table to an operating system running in the LPAR, the entry defining characteristics of the memory region. - View Dependent Claims (2, 3, 4)
-
-
5. A system for providing shared key index spaces for memory regions, comprising:
-
a system memory having a protection table for each logical partition (LPAR);
an adapter having a protection table page table, the protection table page table being indexable by a key index to locate an entry in the protection table, the entry defining characteristics of a memory region or a memory window associated with the adapter;
wherein the adapter is shared by a plurality of operating systems running in different LPARs. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A data structure for providing shared key index spaces for memory regions, comprising:
-
a key index having a protection table index, a page index, and a key instance; and
a protection table page table having a plurality of rows, each of the rows having a page pointer, a valid indication, a logical partition (LPAR) identifier (ID), and a memory region control;
wherein an entry associated with a memory region is located in a protection table in a system memory by using the key index and the protection table page table, the entry including characteristics of the memory region, the system memory having at least one LPARs, each LPARs running an operating system, the operating systems sharing a host channel adapter, the host channel adapter storing the protection table page table.
-
-
14. A computer-readable medium having instructions stored thereon to perform a method of locating a memory region, the method comprising:
-
receiving a packet on a link, the packet including a key index; and
locating an entry in a protection table for a particular logical partition (LPAR) by using the key index and a protection table page table, the entry including characteristics of a memory region.
-
Specification