|
Post by sheshas on Nov 4, 2023 1:41:05 GMT
Hi, If I want to establish link between MemoryChunks and MemoryRegion, do I need to provide Actions inside MemoryChunks to link/delink them? Because I believe we cannot create links as it is a RO structure.
Can we create standard actions (new) to link them or does it come under OemActions ?
Thanks, Shesha.
|
|
|
Post by jautor on Nov 6, 2023 20:43:45 GMT
These are probably really good things to cover in a white paper!
Short answer is that the links are provided when you POST to create those resources. The "back pointers" must be populated by the service (meaning automatically, the client does not). They are read-only as they cannot be changed after the resource is created.
Jeff
|
|
|
Post by sheshas on Nov 6, 2023 22:03:54 GMT
Thanks Jeff for your response.
In case of memory chunks, I cannot specify the region where the chunks are to be created. The only mention of "MemoryRegions" in chunks are in links.
Under Chassis I can create MemoryDomain Under MemoryDomain I can create MemoryChunk
Region is represented as : Chassis -> PCIeDevice -> CXLLogicalDevice -> MemoryRegion
When I initiate a DynamicCapacityAdd Command, I am saying allocate memory of size (S) from region (R) to LD (L). This triggers creation of MemoryChunk which gives me an option to specify the size, i.e. 'S', but does not give me any knobs to specify (R) or (L).
How to link the MemoryChunk to a MemoryRegion? Note that the Chassis we are referring here is separate from host, so the LD is not implicit.
Absolutely we need more detailed description. I volunteer to write it (if its okay, once I understand how to accomplish it).
|
|