Commit a0ea7b99 authored by Yizhen Fan's avatar Yizhen Fan Committed by fanyizhen1995
Browse files

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: default avatarGuoxin Qian <qianguoxin@huawei.com>
Signed-off-by: default avatarYizhen Fan <fanyizhen@huawei.com>
parent efbc8407
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment