# US 2013/0254453 A1 · Computer system, and switch and packet transfer control method used therein

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254453 A1
- Document ID: US20130254453A1
- Status: Published application
- Kind: A1
- Application number: 13/989,999
- Filed: 2010-11-29
- Published: 2013-09-26
- Earliest claimed: 2010-11-29
- Assignees: Hitachi, Ltd.
- Inventors: Kazuki Sato; Takashi Todaka; Ryo Takase
- Web page: https://patentgrep.com/patent/US20130254453A1

## CPC

- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4027: {using bus bridges (G06F13/4022 takes precedence)}
- G06F 13/404: {with address mapping}
- G06F 2213/0024: Peripheral component interconnect [PCI]
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method are disclosed to prevent a reduction in the number of I/O devices which can be connected when building a PCIe topology by connecting I/O devices to a computer via a PCIe switch. A switch with which a computer and I/O devices are connected includes: a first PCI-PCI bridge which is positioned on the computer side; a second PCI-PCI bridge which is positioned on the I/O device side; trapper units which trap packet data which is inputted into the switch; a packet routing unit which transfers packet data to the I/O devices; and a management processor which is connected to the trapper units and provides the computer a virtual PCI-PCI bridge and a virtual link by execution of a program. The trapper units adjudicate the destination of the packet data which is transferred from the computer.

## Claims

### Claim 1

A computer system that transfers packet data via switches connected to a computer and an I/O device,
wherein the switch is provided with a first PCI-PCI bridge arranged on the side of the computer, a second PCI-PCI bridge arranged on the side of the I/O device, a trapper unit that traps packet data input to the switch and a packet routing unit that transfers the packet data to the I/O device;
the switch is further provided with a management processor which is connected to the trapper unit and which provides a virtual PCI-PCI bridge and a virtual link to the computer by the execution of a program;
the PCI-PCI bridge included in the physical configuration of the computer system is distinguished as a physical PCI-PCI bridge;
address space of such a PCI-PCI bridge that its virtual PCI-PCI bridge and its physical PCI-PCI bridge can be correlated by one to one is realized in that of the physical PCI-PCI bridge;
address space of a virtual PCI-PCI bridge that cannot be correlated with the corresponding physical PCI-PCI bridge by one to one is secured in a memory;
the trapper unit determines a destination of the packet data transferred from the computer;
when the destination is the I/O device as a result of the determination, the trapper unit passes the packet data without trapping it and the packet data is transferred to the I/O device via the packet routing unit and the second PCI-PCI bridge;
when the destination is the virtual PCI-PCI bridge as the result of the determination, the trapper unit traps the packet data and transmits it to the management processor;
the management processor determines whether the destination is the virtual PCI-PCI bridge correlated with the physical PCI-PCI bridge;
when the destination is the correlated virtual PCI-PCI bridge as a result of the determination, the management processor transfers the received packet data to the correlated physical PCI-PCI bridge; and
when the destination is a virtual PCI-PCI bridge not corrected as the result of the determination, the management processor accesses address space of the virtual PCI-PCI bridge in the memory based upon the received packet data, acquires a response from the memory if necessary, and transmits the response to the trapper unit.

### Claim 2 (depends on 1)

The computer system according to claim 1, wherein the switch is a semiconductor switch provided with the management processor and a memory, and the memory holds address space of the virtual PCI-PCI bridge.

### Claim 3 (depends on 1)

The computer system according to claim 1, wherein the operation of the management processor is executed by a processor with which the computer is provided.

### Claim 4 (depends on 1)

The computer system according to claim 1,
wherein the trapper unit includes:
a PCIe packet receiver that receives packet data transmitted from the computer;
a comparing unit that stores a range of addresses which the PCI-PCI bridge uses, a bus number and a device number, compares them with a destination of the input packet data and judges whether the packet data is to be trapped or not;
a buffer that temporarily stores the packet data transferred to the management processor;
an input-output unit that transfers the packet data to the management processor; and
a PCIe packet transmitter that transmits packet data whose destination transferred from the management processor is an I/O controller as a result of the judgment by the comparing unit.

### Claim 5 (depends on 1)

The computer system according to claim 1,
wherein the computer can recognize virtual PCIe topology provided by the management processor by a program operated by itself; and
the virtual PCIe topology includes a virtual PCI-PCI bridge as a PCI-PCI bridge that connects PCIe switches and a virtual PCIe link that connects the computer and the PCIe switch and connects the PCIe switch and the I/O device.

### Claim 6 (depends on 5)

The computer system according to claim 5, wherein a bus number given to the I/O device is changed by changing the correlation between the virtual PCI-PCI bridge and the physical PCI-PCI bridge.

### Claim 7

A PCIe switch which is connected to a computer and an I/O device and which transfers packet data, comprising:
a first PCI-PCI bridge arranged on the side of the computer and a second PCI-PCI bridge arranged on the side of the I/O device;
a trapper unit that traps packet data input to the switch;
a packet routing unit that transfers the packet data to the I/O device; and
a management processor which is connected to the trapper unit and which provides a virtual PCI-PCI bridge and a virtual link to the computer by the execution of a program,
wherein the PCI-PCI bridge included in the physical configuration of the computer system is distinguished as a physical PCI-PCI bridge;
address space of such a PCI-PCI bridge that its virtual PCI-PCI bridge and its physical PCI-PCI bridge can be correlated by one to one is realized in that of the physical PCI-PCI bridge;
address space of a virtual PCI-PCI bridge that cannot be correlated with the corresponding physical PCI-PCI bridge by one to one is secured in a memory;
the trapper unit determines a destination of the packet data transferred from the computer;
when the destination is the I/O device as a result of the determination, the trapper unit passes the packet data without trapping it and the packet data is transferred to the I/O device via the packet routing unit and the second PCI-PCI bridge;
when the destination is a virtual PCI-PCI bridge as the result of the determination, the trapper unit traps the packet data and transmits it to the management processor;
the management processor determines whether the destination is a virtual PCI-PCI bridge correlated with the corresponding physical PCI-PCI bridge;
when the destination is the correlated virtual PCI-PCI bridge as a result of the determination, the management processor transfers the received packet data to the correlated physical PCI-PCI bridge; and
when the destination is a virtual PCI-PCI bridge not correlated as the result of the determination, the management processor accesses address space of the virtual PCI-PCI bridge in the memory based upon the received packet data, acquires a response from the memory if necessary, and transmits the response to the trapper unit.

### Claim 8 (depends on 7)

The PCIe switch according to claim 7, wherein the switch is provided with a memory that holds address space of the virtual PCI-PCI bridge, and the management processor accesses the address space of the virtual PCI-PCI bridge in the memory, acquires a response from the memory if necessary, and transmits the response to the trapper unit.

### Claim 9 (depends on 7)

The PCIe switch according to claim 7,
wherein the trapper unit includes:
a PCIe packet receiver that receives packet data transmitted from the computer;
a comparing unit that stores a range of addresses which the PCI-PCI bridge uses, a bus number and a device number, compares them with a destination of the input packet data, and judges whether the packet data is to be trapped or not;
a buffer that temporarily stores the packet data transferred between the buffer and the management processor;
an input-output unit that transfers packet data from/to the management processor; and
a PCIe packet transmitter that transmits packet data whose destination transferred from the management processor is an I/O controller as a result of the judgment by the comparing unit.

### Claim 10 (depends on 8)

The PCIe switch according to claim 8,
wherein virtual PCIe topology includes a virtual PCI-PCI bridge as a PCI-PCI bridge that connects PCIe switches and a virtual PCIe link that connects the computer and the PCIe switch and connects the PCIe switch and the I/O device.

### Claim 11

A packet transfer control method in a computer system for controlling the transfer of packet data using PCIe switches connected to a computer and an I/O device,
wherein a PCI-PCI bridge included in the physical configuration of the computer system is a physical PCI-PCI bridge;
address space of such a PCI-PCI bridge that its virtual PCI-PCI bridge and its physical PCI-PCI bridge can be correlated by one to one is realized in that of the physical PCI-PCI bridge;
address space of a virtual PCI-PCI bridge that cannot be correlated with the corresponding physical PCI-PCI bridge by one to one is secured in a memory;
a trapper module of the PCIe switch determines whether packet data is to be trapped or not, referring to a destination of the packet data input to the PCIe switch;
in the case of packet data whose destination is a PCI-PCI bridge as a result of the determination, the trapper module traps the packet data and transfers it to a management processor;
in the case of packet data whose destination is the I/O device as the result of the determination, the trapper module transfers the packet data to the I/O device without trapping it;
the management processor determines whether the destination is a virtual PCI-PCI bridge correlated with the corresponding physical PCI-PCI bridge or not;
when the destination is the correlated virtual PCI-PCI bridge as a result of the determination, the management processor transfers the received packet data to the correlated physical PCI-PCI bridge; and
when the destination is a virtual PCI-PCI bridge not correlated as the result of the determination, the management processor accesses address space of the virtual PCI-PCI bridge in the memory based upon the received packet data, acquires a response from the memory if necessary, and transmits the response to the trapper module.

### Claim 12

A packet transfer control method in a computer system for controlling the transfer of packet data using PCIe switches connected to a computer and an I/O device comprising:
a step of preparing virtual PCI-PCI bridges and virtual links in a memory connected to a management processor that manages the PCI-PCI bridges beforehand;
a step of receiving packet data transferred from the computer via a first PCI-PCI bridge arranged on the side of the computer by a PCIe switch;
a step of determining a destination of the received packet data by the trapper unit of the PCIe switch;
a step of passing the packet data without trapping it by the trapper unit when the destination is the I/O device as a result of the determination and transferring the packet data to the I/O device via a second PCI-PCI bridge arranged on the side of the I/O device;
a step of trapping the packet data by the trapper unit when the destination is the virtual PCI-PCI bridge as the result of the determination and transmitting the packet data to the management processor connected to the trapper unit; and
a step of preparing packet data for a response referring to the memory by the management processor according to the packet data received from the trapper unit and transmitting the packet data for the response to the computer via the first PCI-PCI bridge,
wherein virtual PCIe topology includes the virtual PCI-PCI bridge as a PCI-PCI bridge that connects the PCIe switches and the virtual PCIe link that connects the computer and the PCIe switch and connects the PCIe switch and the I/O device;
the PCI-PCI bridge included in the physical configuration of the computer system is distinguished as a physical PCI-PCI bridge;
address space of such a PCI-PCI bridge that its virtual PCI-PCI bridge and its physical PCI-PCI bridge can be correlated by one to one is realized in that of the physical PCI-PCI bridge;
address space of a virtual PCI-PCI bridge that cannot be correlated with the corresponding physical PCI-PCI bridge by one to one is secured in the memory; and
the management processor accesses address space of the virtual PCI-PCI bridge in the memory, acquires a response from the memory if necessary, and transmits the response to the trapper unit.

### Claim 13

(canceled)

### Claim 14 (depends on 12)

The packet transfer control method according to claim 12, wherein a bus number given to the I/O device is changed by changing correlation between the virtual PCI-PCI bridge and the physical PCI-PCI bridge.
