ub: ubcore add segment type and api definition
driver inclusion category: feature bugzilla: NA CVE: NA -------------------------------- Ubcore add segment type and api definition. Api will be implemented by drivers. ** Introduce of segment and UBVA: ** When the URMA is used as the shared memory of the home node, a shared address needs to be created for the shared memory so that the user node can use the address to access the URMA. The address is called UBVA. UBVA: The unified bus virtual address (UBVA) is a hierarchical virtual address on the UBUS bus. It supports unified addressing of the shared memory of multiple nodes on the bus, breaking the address boundary of each node and allowing applications to perform cross-node addressing and data access through the VA. It consists of the EID/CID, UASID, and VA address. Segment: A segment is a continuous VA address space, and physical memory is allocated to a segment. Created by the segment home node. The app maps the segment to the process virtual address space and directly accesses the remote memory through the mapped address. The VA address of a segment can be the same as or different from the VA mapped by the user process. Scenarios where the VA IP addresses are the same, that is, the DSVA scenario. Signed-off-by:Guoxin Qian <qianguoxin@huawei.com> Signed-off-by:
Yizhen Fan <fanyizhen@huawei.com>
Loading
Please sign in to comment