PCIe VIRTUAL SWITCHES AND AN OPERATING METHOD THEREOF
A memory system and an operating method thereof include: at least a host; and at least PCIe coupled with the host, wherein the at least PCIe link includes at least a PCIe switch and a plurality of PCIe endpoints, wherein the plurality of PCIe endpoints includes used PCIe endpoints and unused PCIe endpoints, the used PCIe endpoints are mapped into a PCIe enumeration tree, and the unused PCIe endpoints are removed from the PCIe enumeration tree, at virtual switch mode.
1 . A memory system comprising:
at least a host; and
at least a PCIe link coupled with the host, wherein the at least PCIe link includes at least a PCIe switch and a plurality of PCIe endpoints, wherein
the plurality of PCIe endpoints includes used PCIe endpoints and unused PCIe endpoints, the used PCIe endpoints are mapped into a PCIe enumeration tree, and the unused PCIe endpoints are removed from the PCIe enumeration tree, at virtual switch mode.
2 . The memory system recited in claim 1 wherein the PCIe enumeration tree includes virtual switch mapping between upstream PCIe ports and downstream PCIe ports of the plurality of PCIe switch.
3 . The memory system recited in claim 1 wherein the used PCIe endpoints include PCIe endpoints identified in accordance with virtual switch configurations.
4 . The memory system recited in claim 1 wherein the used PCIe endpoints include PCIe endpoints identified needed to be included in the PCIe enumeration tree.
5 . The memory system recited in claim 2 wherein the virtual switch mapping includes virtual switch mapping conducted in accordance with virtual switch configurations.
6 . The memory system recited in claim 2 wherein the virtual switch mapping includes each edge in the PCIe enumeration tree mapped into upstream-downstream mapping of virtual switch configuration on the PCIe switch.
7 . The memory system recited in claim 6 wherein the virtual switch mapping is performed repeatedly for all PCIe switches.
8 . The memory system recited in claim 7 further comprising configuration data in accordance with virtual switch mapping.
9 . A method of operating a memory system comprising:
providing at least a host;
coupling at least a PCIe link with the host, wherein the at least PCIe link includes at least a PCIe switch and a plurality of PCIe endpoints, wherein the plurality of PCIe endpoints includes used PCIe endpoints and unused PCIe endpoints;
at virtual switch mode,
mapping the used PCIe endpoints into a PCIe enumeration tree; and
removing the unused PCIe endpoints from the PCIe enumeration tree.
10 . The method recited in claim 9 wherein the mapping the used PCIe endpoints into the PCIe enumeration tree includes creating virtual switch mapping between upstream PCIe ports and downstream PCIe ports of the plurality of PCIe switch.
11 . The method recited in claim 9 further comprising identifying the used PCIe endpoints in accordance with virtual switch configurations.
12 . The method recited in claim 9 further comprising identifying the used PCIe endpoints needed to be included in the PCIe enumeration tree.
13 . The method recited in claim 10 wherein the creating virtual switch mapping includes creating virtual switch mapping in accordance with virtual switch configurations.
14 . The method recited in claim 10 wherein the creating virtual switch mapping includes mapping each edge in the PCIe enumeration tree into upstream-downstream mapping of virtual switch configuration on the PCIe switch.
15 . The method recited in claim 14 wherein the creating virtual switch mapping is performed repeatedly for all PCIe switches.
16 . The method recited in claim 15 further comprising creating configuration data in accordance with virtual switch mapping.