发明名称 Method and Apparatus for Extending PCIe Domain
摘要 A method for extending a Peripheral Component Interconnect Express (PCIe) domain. A configuration space address can be allocated to a PCIe device in an extended domain from a memory address of a root complex endpoint device, a correspondence between the configuration space address and a bus number/device number/function number (BDF) can be established, and a bus number can be allocated from a second bus set of the extended domain to a PCIe device discovered in the extended domain, where the bus number is used for determining the BDF of the PCIe device discovered in the extended domain, so as to access, according to the correspondence between the configuration space address and the BDF and by using the BDF of the PCIe device discovered in the extended domain, a configuration space register of the PCIe device discovered in the extended domain.
申请公布号 US2015293873(A1) 申请公布日期 2015.10.15
申请号 US201514752099 申请日期 2015.06.26
申请人 Huawei Technologies Co., Ltd. 发明人 Shao Wesley;Lin Muhui;Li Lijiang
分类号 G06F13/40;G06F13/42 主分类号 G06F13/40
代理机构 代理人
主权项 1. A method for extending a Peripheral Component Interconnect Express (PCIe) domain, wherein the method is implemented in a system comprising a primary domain and an extended domain, wherein the primary domain comprises a first root complex and a first PCIe device, wherein the first PCIe device in the primary domain has a first bus set, wherein the extended domain comprises a root complex endpoint device and a second PCIe device, wherein the second PCIe device in the extended domain has a second bus set, wherein the first bus set is different from the second bus set, wherein the root complex endpoint device comprises the first PCIe device in the primary domain and a second root complex in the extended domain, and wherein the method comprises: allocating a configuration space address to the second PCIe device in the extended domain from a memory address of the root complex endpoint device; establishing a correspondence between the configuration space address and a bus number/device number/function number (BDF); and allocating, from the second bus set, a bus number to the second PCIe device discovered in the extended domain, wherein the bus number is used for determining the BDF of the second PCIe device discovered in the extended domain so as to implement, according to the correspondence between the configuration space address and the BDF and by using the BDF of the second PCIe device discovered in the extended domain, configuration space access of the second PCIe device discovered in the extended domain.
地址 Shenzhen CN