WO2010055791A1 - I/oバスシステム - Google Patents

I/oバスシステム Download PDF

Info

Publication number
WO2010055791A1
WO2010055791A1 PCT/JP2009/068789 JP2009068789W WO2010055791A1 WO 2010055791 A1 WO2010055791 A1 WO 2010055791A1 JP 2009068789 W JP2009068789 W JP 2009068789W WO 2010055791 A1 WO2010055791 A1 WO 2010055791A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
pci express
packet
host
bridge
Prior art date
Application number
PCT/JP2009/068789
Other languages
English (en)
French (fr)
Inventor
順 鈴木
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to US13/121,227 priority Critical patent/US9213662B2/en
Priority to JP2010537754A priority patent/JP5434929B2/ja
Publication of WO2010055791A1 publication Critical patent/WO2010055791A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/404Coupling between buses using bus bridges with address mapping

Definitions

  • the present invention relates to an I / O bus, and more particularly to an I / O bus system, an I / O bus system control method, and a program recording medium for controlling an I / O bus system.
  • I / O bus for example, a PCI bus
  • technologies related to a new I / O bus standard changing to the conventional I / O bus standard have been proposed.
  • a technique related to an I / O bus system designed according to the new I / O bus standard as described in Japanese Patent Application Laid-Open No. 2007-219873 is known.
  • FIG. 1 is a block diagram showing the configuration of the I / O bus system described in Japanese Patent Laid-Open No. 2007-219873.
  • the I / O bus system includes a host 101, a PCI express switch 105, and an I / O 103.
  • the host 101 includes a CPU 111, a memory 113, and a root complex 112.
  • the route complex 112 connects the CPU 111, the memory 113, and the PCI express switch 105 to each other.
  • the right to use the I / O 103 is assigned to one of the hosts 101. Also, the assignment of the I / O 103 to the host 101 can be changed.
  • the PCI express switch 105 includes an upstream PCI express-network bridge 121, a network switch 122, a downstream PCI express-network bridge 125, and a system manager 151.
  • the upstream PCI express-network bridge 121 bridges the PCI express bus and the network on the host 101 side.
  • the network switch 122 transfers network packets.
  • the downstream PCI express-network bridge 125 bridges the network and the PCI express bus on the I / O 103 side.
  • the system manager 151 controls the connection between the upstream PCI express-network bridge 121 and the downstream PCI express-network bridge 125 and sets the allocation of the I / O 103 to the host 101.
  • the upstream PCI express-network bridge 121 is connected to a plurality of downstream PCI express-network bridges 125.
  • the upstream PCI express-network bridge 121 receives an I / O packet addressed to the I / O 103 from the route complex 112, encapsulates the received I / O packet into a network packet, and transfers the packet to the network switch 122.
  • the upstream PCI express-network bridge 121 assigns the network address of the downstream PCI express-network bridge 125 connected to the I / O 103 that is the destination of the original I / O packet to the destination of the encapsulated packet. Describe.
  • the upstream PCI express-network bridge 121 receives a network packet in which an I / O packet addressed to the host 101 is encapsulated from the network switch 122.
  • the upstream PCI express-network bridge 121 decapsulates the received network packet and transmits it to the root complex 112.
  • the downstream PCI express-network bridge 125 is connected to one upstream PCI express-network bridge 121.
  • the downstream PCI express-network bridge 125 receives an I / O packet addressed to the host 101 corresponding to the upstream PCI express-network bridge 121 connected from the I / O 103, encapsulates the received I / O packet into a network packet,
  • the network address of the upstream PCI Express-network bridge 121 connected to the destination host 101 of the I / O packet is written and transferred to the network switch 122.
  • the network switch 122 receives a network packet in which an I / O packet addressed to the I / O 103 is encapsulated, decapsulates the I / O packet, and transmits it to the I / O 103.
  • FIG. 2 is a diagram showing the address space 115-1 of the host 101-1.
  • the address space 115 of the host 101 includes an ID number space 1151 that is an ID number space that is a combination of a bus number, a device number, and a function number, and a physical memory space 1152 that has a power of two. .
  • the address of the I / O 103 used by the host 101 is mapped to the ID number space 1151 and the physical memory space 1152.
  • the I / O 103-1 to I / O 103-M are respectively the I / O 103-1 to I / O 103-M maps 1511-1 to 1511-M in the ID number space 1151-1 and the physical memory space. 1152-1 I / O 103-1 to I / O 103-M maps 1521-1 to 1521-M.
  • the conventional I / O bus system having such a configuration operates as follows.
  • the system manager 151 controls which upstream PCI express-network bridge 121 the downstream PCI express-network bridge 125 is connected to by transmitting a control packet to the downstream PCI express-network bridge 125.
  • the I / O 103 is assigned to the host 101 connected to the upstream PCI express-network bridge 121 to which the downstream PCI express-network bridge 125 is connected.
  • the upstream PCI express-network bridge 121 and the downstream PCI express-network bridge 125 encapsulate an I / O packet transmitted / received between the host 101 and the I / O 103 assigned to the host 101 into a network packet. Tunneling is performed between the PCI express-network bridge 121 and the downstream PCI express-network bridge 125.
  • the host 101 is an upstream PCI-PCI bridge inside the PCI express switch in which the upstream PCI express-network bridge 121 conforms to the standard, and the downstream PCI express-network bridge 125 is a downstream PCI-PCI bridge inside the PCI express switch. And thereby recognize that the region between the upstream PCI express-network bridge 25 and the downstream PCI express-network bridge 21 is a PCI express switch compliant with the standard. Therefore, in the conventional I / O bus system, the assignment of the I / O 103 to the host 101 can be freely changed without requiring special software for the host 101.
  • the related I / O bus system is designed on the assumption that a downstream PCI express-network bridge is connected to one upstream PCI express-network bridge and tunnels I / O packets. In addition, it is designed on the assumption that I / O resources are occupied by one host. Therefore, I / O resources may not be shared from two or more hosts at the same time.
  • the downstream PCI express-network bridge may not be able to tunnel I / O packets by connecting to two or more upstream PCI express-network bridges at the same time.
  • An object of the present invention is to provide an I / O bus system in which I / O resources can be shared from two or more hosts at the same time.
  • An I / O bus system comprising a connection bridge disposed between an express network bridge and swapping network addresses described in network packets transmitted between the plurality of hosts and the I / O resources.
  • the present invention can configure an I / O bus system in which a downstream PCI Express-network bridge can simultaneously connect to two or more upstream PCI Express-network bridges to tunnel I / O packets.
  • the effect of the present invention is that I / O resources can be shared from two or more hosts at the same time.
  • the reason is that one downstream PCI Express-Network Bridge can be connected to multiple upstream PCI Express-Network Bridges by swapping the addresses described in the header of the network packet encapsulating the I / O packet.
  • I / O resources are configured in advance, I / O resources configured in the address space of each host are mapped in units of functions, and I / O encapsulated in network packets using the mapping information This is because a function held by a single I / O resource is assigned to an arbitrary host by swapping the header information described in the O packet.
  • downstream PCI express-network bridge can simultaneously connect to two or more upstream PCI express-network bridges to tunnel I / O packets.
  • FIG. 1 is a block diagram showing a configuration of a related I / O bus system.
  • FIG. 2 is a diagram showing the address space of the host.
  • FIG. 3 is a block diagram illustrating the configuration of the I / O bus system according to the first embodiment of this invention.
  • FIG. 4 is a diagram showing the relationship between the host 1 and the address space of the I / O resource.
  • FIG. 5A is a block diagram illustrating the configuration of the target host search table.
  • FIG. 5B is a block diagram illustrating the configuration of the host mapping table.
  • FIG. 6 is a diagram illustrating an operation when configuring a downstream PCI Express network bridge and I / O resources.
  • FIG. 1 is a block diagram showing a configuration of a related I / O bus system.
  • FIG. 2 is a diagram showing the address space of the host.
  • FIG. 3 is a block diagram illustrating the configuration of the I / O bus system according to the first embodiment of this invention.
  • FIG. 4 is a
  • FIG. 7 is a diagram illustrating an operation when the host 1 transmits an I / O packet other than the configuration packet to the I / O resource.
  • FIG. 8 is a diagram illustrating an operation when an I / O packet is transmitted from an I / O resource to a host.
  • FIG. 9 is a block diagram showing a configuration of the second exemplary embodiment of the present invention.
  • FIG. 3 is a block diagram illustrating the configuration of the I / O bus system 10 according to the first embodiment of this invention.
  • the I / O bus system 10 according to the first embodiment of the present invention includes a plurality of hosts 1, a PCI express switch 2, and an I / O resource 3.
  • Each of the plurality of hosts 1 includes a CPU 11, a root complex 12, and a memory 13.
  • the I / O resource 3 includes a plurality of functions 31 (first function 31-1 to N-th function 31-N) and is simultaneously shared by the host 1.
  • the I / O resource 3 provides the function 31 individually to each of the plurality of hosts 1, thereby realizing simultaneous sharing of the I / O resource 3 by the plurality of hosts 1.
  • each of the first function 31-1 to the Nth function 31-N is assigned to the first host 1-1 to the Nth host 1-N on a one-to-one basis.
  • I / O resource 3 holding a plurality of functions 31, multi-function I / O and I / O corresponding to software virtualization within a single host (I / O corresponding to I / O virtualization) O) and the like are exemplified.
  • the PCI express switch 2 includes an upstream PCI express network bridge 21 connected to the host 1, a network switch 22, a system manager 23, a multi-root connection bridge 24, and a downstream PCI express network bridge 25.
  • the multi-root connection bridge 24 connects the downstream PCI express network bridge 25 with the plurality of upstream PCI express network bridges 21 to share the I / O resource 3 among the plurality of hosts 1 at the same time.
  • the specific upstream PCI express network bridge 21 operates assuming that no other upstream PCI express network bridge 21 exists and is connected to the downstream PCI express network bridge 25 on a one-to-one basis.
  • the first upstream PCI express network bridge 21-1 operates independently without depending on the behavior of the second upstream PCI express network bridge 21-2 to the Nth upstream PCI express network bridge 21-N.
  • the downstream PCI express network bridge 25 can only be connected to one upstream PCI express network bridge 21 by design. Therefore, the downstream PCI express network bridge 25 in the present embodiment performs the connection that is originally performed with the upstream PCI express network bridge 21 to the multi-root connection bridge 24.
  • the system manager 23 transmits a control packet to the multi-root connection bridge 24, controls a plurality of upstream PCI express network bridges 21 connected to the downstream PCI express network bridge 25, and assigns each function 31 of the I / O resource 3. Specify host 1.
  • the multi-route connection bridge 24 includes a packet transfer unit 241, an I / O configuration unit 242, an I / O information storage unit 243, a downstream PCI express network bridge pseudo register 244, and an I / O function pseudo register 245. It is out.
  • the packet transfer unit 241 swaps and transfers the network packet header of the network packet in which the I / O packet is encapsulated and the I / O packet header.
  • the I / O configuration unit 242 configures the I / O resource 3.
  • the I / O information storage unit 243 holds information required when the packet transfer unit 241 swaps information described in the packet.
  • the downstream PCI express network bridge pseudo register 244 provides a pseudo register function of the downstream PCI express network bridge 25.
  • the I / O function pseudo register 245 provides a pseudo register function of each function 31.
  • the multi-root connection bridge 24 includes a plurality of downstream PCI express network bridge pseudo registers 244 (first downstream PCI express network bridge pseudo register 244-1 to Nth downstream PCI express network bridge pseudo register 244-N). Shall be included.
  • the multi-root connection bridge 24 includes a plurality of I / O function pseudo registers 245 (first I / O function pseudo register 245-1 to NI / O function pseudo register 245-N).
  • the first downstream PCI express network bridge pseudo register 244-1 to the Nth downstream PCI express network bridge pseudo register 244-N and the first I / O function pseudo register 245-1 to the NI / O function pseudo register 245-N are: Each access from the first host 1-1 to the Nth host 1-N is accepted.
  • the I / O configuration unit 242 configures the downstream PCI express network bridge 25 and the I / O resource 3 before the I / O resource 3 is used from the host 1.
  • the I / O configuration unit 242 transmits a configuration packet encapsulated in a network packet to the downstream PCI express network bridge 25 and the I / O resource 3, and configures the downstream PCI express network bridge 25 and the I / O resource 3. Perform At this time, the destination of the network packet is set to the downstream PCI express network bridge 25. Further, the I / O configuration unit 242 records configuration information of the downstream PCI express network bridge 25 and the I / O resource 3 in the I / O information storage unit 243.
  • FIG. 4 is a diagram showing the relationship between the address space of the host 1 and the I / O resource 3.
  • the I / O resource address space 32 of the I / O resource 3 includes an ID number space 321 and a physical memory space 322.
  • the ID number space 321 is an ID number space including a group of “bus number, device number, function number”.
  • the I / O configuration unit 242 configures the I / O resource address space 32 of the I / O resource 3.
  • a host map 3211 of the host 1 to be assigned to the host 1 later is configured, and in the physical memory space 322, a host map 3221 of the host 1 is configured.
  • the host map 3211-1 to host map 3211 -N of the host 1 and the host map 3221-1 to host map 3221 -N of the host 1 are the first function 31-1 to N-th function 31-of the I / O resource 3. Corresponds to N.
  • the I / O configuration unit 242 also receives a configuration packet issued by the host 1 to the downstream PCI express network bridge 25 and the I / O resource 3 from the packet transfer unit 241.
  • the configuration packet is a write
  • the configuration for the downstream PCI express network bridge 25 is recorded in the downstream PCI express network bridge pseudo register 244, and the configuration for the I / O resource 3 is recorded in the I / O function pseudo register 245.
  • the configuration packet is a read, the information requested by the packet is read from the corresponding address of the downstream PCI express network bridge pseudo register 244 or the I / O function pseudo register 245 and is sent to the host 1 via the packet transfer unit 241. Send back.
  • the I / O information storage unit 243 includes a downstream PCI express network bridge 25 performed by the I / O configuration unit 242, configuration information for the I / O resource 3, and the host 1 includes a downstream PCI express network bridge pseudo register 244.
  • the information written in the I / O function pseudo register 245 is held, and the packet transfer unit 241 swaps the information described in the header of the network packet and the I / O packet in the network packet in which the I / O packet is encapsulated.
  • Providing information necessary for The I / O information storage unit 243 holds a target host search table 2431 and a host mapping table 2432.
  • FIG. 5A is a block diagram illustrating the configuration of the target host search table 2431.
  • the target host search table 2431 associates each function 31 of the I / O resource 3 with the host 1 to which the function 31 is assigned and the network address (HA) of the upstream PCI express network bridge 21 to which the host 1 is connected.
  • FIG. 5B is a block diagram illustrating the configuration of the host mapping table 2432.
  • the host mapping table 2432 is prepared for each individual host 1, and the ID number given to the root complex 12 by the host 1, the ID number given to the function 31 of the I / O resource 3 to which the host 1 is assigned, The memory space lower limit and the upper limit are made to correspond to values configured by the I / O configuration unit 242 of the I / O resource 3.
  • the host mapping table 2432 shows the bus number, device number, and function number, which are ID numbers, as B, D, and F, respectively.
  • 5B shows the mapping relationship between the host-side address space 14 of the host 1 held in the host mapping table 2432 and the I / O resource address space 32 of the I / O resource 3.
  • the ID number space 321 and the physical memory space 322 are divided into the ID number space 141 and the physical memory space of the host-side address space 14 of the host 1 with the function 31 as a unit. 142.
  • downstream PCI express network bridge pseudo register 244 holds the information that the host 1 gives to the downstream PCI express network bridge 25 by the configuration write for each host 1.
  • the I / O function pseudo register 245 holds configuration information that the host 1 gives to the function 31 of the I / O resource 3. Further, when the host 1 configures the function 31, it asks about the capacity of the memory space allocated to the function 31, and the I / O function pseudo register 245 provides this information. This information is recorded in the I / O information recording unit 243 when the I / O configuration unit 242 configures the I / O resource 3, and this information is recorded in the I / O information recording unit 243. This is reflected in the function pseudo register 245.
  • the packet transfer unit 241 receives from the network switch 22 a network packet in which an I / O packet other than the configuration packet issued by the host 1 to the I / O resource 3 is encapsulated, and transmits the network packet representing the host 1 The address is swapped with the network address of the multi-root connection bridge 24. Further, the host mapping table 2432 corresponding to the transmission source host 1 is searched, and the transmission source address of the I / O packet is determined from the ID number of the route complex 12 in the host side address space 14 of the host 1 and the I / O resource 3 I Swap to the ID number of the root complex 12 in the / O resource address space 32.
  • the destination address of the I / O packet is determined from the ID number of the function 31 in the host-side address space 14 of the host 1 and the I / O resource 3 I Swap to the ID number of the function 31 in the / O resource address space 32.
  • the destination address of the I / O packet is represented in the memory space, the destination address of the I / O packet is swapped to (destination memory ⁇ Mem lower limit IxR + Mem lower limit IxI).
  • x 1 to N is a value corresponding to the host 1 that transmitted the I / O packet.
  • the packet transfer unit 241 also receives from the network switch 22 a network packet that encapsulates the configuration packet sent from the host 1 to the downstream PCI express network bridge 25 and the I / O resource 3, decapsulates the configuration packet, and To / O configuration unit 242
  • the packet transfer unit 241 also receives a network packet in which the I / O packet issued by the I / O resource 3 to the host 1 is encapsulated, and transmits the destination address of the network packet from the network address of the multi-root connection bridge 241. Swap to the network address of the upstream PCI Express network bridge 21 to which the host 1 to which the original function 31 is assigned is connected.
  • the network address of the upstream PCI express network bridge 21 is searched by using the target host search table 2431 held by the I / O information storage unit 243 using the transmission source function 31 described in the I / O packet as a key.
  • the destination address and the source address of the encapsulated I / O packet are swapped with reference to the host mapping table 2432 corresponding to the destination host 1.
  • the correspondence of the address to be swapped is the reverse of the swap reference performed when the host 1 transmits an I / O packet to the I / O resource 3, and the host 1 from the I / O resource address space 32 of the I / O resource 3 To the host-side address space 14.
  • the packet transfer unit 241 also receives the response of the configuration packet transmitted from the I / O configuration unit 242 by the host 1 to the downstream PCI express network bridge pseudo register 244 and the I / O function pseudo register 245, and receives the response packet destination.
  • the response packet is encapsulated using the network address of the upstream PCI Express network bridge 21 to which the host 1 is connected, and transmitted to the host 1.
  • the packet transfer unit 241 also receives a broadcast control packet transmitted from the downstream PCI express network bridge 25, copies the broadcast control packet by the number of hosts 1, and transmits it to each host.
  • the broadcast control packet transmitted by the downstream PCI express network bridge 25 describes the information of the multi-root connection bridge 24 as the connection destination of the downstream PCI express network bridge 25.
  • the packet transfer unit 241 The destination information is rewritten to the upstream PCI express-network bridge to which the host 1 is connected, and a copy of the broadcast control packet is transmitted.
  • FIG. 6 is a diagram illustrating an operation when the downstream PCI express network bridge 25 and the I / O resource 3 are configured.
  • the I / O configuration unit 242 issues a configuration packet before the I / O resource 3 is used from the host 1, and configures the downstream PCI express network bridge 25 and the I / O resource 3 (Step S1). S401).
  • the packet transfer unit 241 encapsulates the configuration packet passed from the I / O configuration unit 242 into a network packet, and tunnels the configuration packet with the downstream PCI express network bridge 25, whereby the configuration packet is transferred to the downstream PCI express network. Transmit to the bridge 25 and the I / O resource 3.
  • the I / O configuration unit 242 records the configuration information given to the I / O resource 3 in the host mapping table 2432 held by the I / O information storage unit 243 (step S402).
  • the capacity of the memory space requested by each function 31 of the I / O resource 3 recorded in the I / O information storage unit 243 is reflected in the I / O function pseudo register 245 (step S403).
  • the system manager 23 issues a control packet to the multi-root connection bridge 24, and the first function 31-1 to the Nth function 31-N of the I / O resource 3 are set to the first host 1-1 to the first host respectively.
  • Assign to N hosts 1-N step S404). By this assignment, an entry related to the host in the target host search table 2431 held by the I / O information storage unit 243 is described.
  • each host 1 starts its configuration cycle (step S405).
  • the configuration packet issued by the host 1 to the downstream PCI express network bridge 25 is sent to the downstream PCI express network bridge pseudo register 244 assigned to the host 1 and to the function 31 included in the I / O resource 3 assigned to the host 1.
  • the configuration packet to be issued is processed by the I / O configuration unit 242 as an access to the I / O function pseudo register 245 corresponding to the function 31.
  • information necessary for describing an entry in the host mapping table 2432 of the I / O information storage unit 243 is extracted from the configuration access of the host, and an entry is formed (step S406).
  • FIG. 7 is a diagram illustrating an operation when the host 1 transmits an I / O packet other than the configuration packet to the I / O resource 3.
  • the route complex 12 transmits an I / O packet to the function 31 of the I / O resource 3 assigned to the host 1 in accordance with a command of software operating on the CPU 11 (step S501).
  • the upstream PCI express network bridge 21 receives the I / O packet issued by the route complex 12, encapsulates the I / O packet using the network address of the downstream PCI express network bridge 25 to which the I / O resource 3 is connected,
  • the data is transmitted to the network switch 22 (step S502).
  • the network switch 22 transfers the network packet in which the I / O packet is encapsulated to the multi-root connection bridge 24 (step S503).
  • the packet transfer unit 241 receives the network packet in which the I / O packet is encapsulated, and swaps the transmission source address of the network packet representing the host 1 with the network address of the multi-root connection bridge 24 (step S504). Further, the host mapping table 2432 corresponding to the transmission host is searched, and the transmission source address of the I / O packet is determined from the ID number of the route complex 12 in the host-side address space 14 of the host 1 and the I / O of the I / O resource 3. Swap to the ID number of the root complex 12 in the resource address space 32.
  • the destination address of the I / O bucket is expressed by an ID number
  • the destination address of the I / O packet is determined from the ID number of the function 31 in the address space of the host 1 and the I / O resource of the I / O resource 3 Swap to the ID number of the function 31 in the address space 32.
  • the destination address of the I / O packet is represented in the memory space
  • the destination address of the I / O packet is swapped to (destination memory ⁇ Mem lower limit IxR + Mem lower limit IxI).
  • x 1 to N is a value corresponding to the host 1 that transmitted the I / O packet.
  • the packet transfer unit 241 transmits the network packet to the downstream PCI express network bridge 25.
  • the downstream PCI express network bridge 25 decapsulates the I / O packet (step S505) and transmits it to the I / O resource 3.
  • the function 31 of the I / O resource 3 receives the I / O packet transmitted by the host 1 to which the function 31 is assigned (step S506).
  • FIG. 8 is a diagram illustrating an operation when an I / O packet is transmitted from the I / O resource 3 to the host 1.
  • the function 31 of the I / O resource 3 transmits an I / O packet to the assigned host (step S601).
  • the downstream PCI express network bridge 25 receives the I / O packet issued by the function 31, encapsulates the I / O packet using the network address of the multi-root connection bridge 24 as the destination address, and transmits the packet to the multi-root connection bridge 24 ( Step S602).
  • the packet transfer unit 241 receives the network packet in which the I / O packet is encapsulated, and swaps the destination address of the network packet representing the multi-root connection bridge 24 with the network address of the host 1 that is the destination of the I / O packet. (Step S603).
  • the network address of the destination host 1 is searched in the target host search table 2431 using the source function number described in the I / O packet encapsulated in the network packet as a key. Further, the host mapping table 2432 corresponding to the destination host is searched, and the source address of the I / O packet is determined from the ID number of the function 31 in the I / O resource address space 32 of the I / O resource 3 on the host side of the host 1.
  • the destination address of the I / O packet is determined from the ID number of the root complex 12 in the I / O resource address space 32 of the I / O resource 3 by the host. Swap to the ID number of the root complex 12 in the one host-side address space 14.
  • the destination address of the I / O packet is expressed in the memory space, the destination address of the I / O packet is swapped to (destination memory ⁇ Mem lower limit IxI + Mem lower limit IxR).
  • the packet transfer unit 241 transmits the network packet to the network switch 22.
  • the network switch 22 transfers the network packet in which the I / O packet is encapsulated to the upstream PCI express network bridge 21 (step S604).
  • the upstream PCI express network bridge 21 decapsulates the I / O packet (step S605) and transmits it to the route complex 12.
  • the route complex 12 receives the I / O packet issued by the function 31 assigned to the host 1 (step S606).
  • the number of network switches 22 connected between the upstream PCI express network bridge 21 and the multi-root connection bridge 24 is not limited. Further, another network switch 22 may be connected between the multi-root connection bridge 24 and the downstream PCI express network bridge 25.
  • I / O resource 3 the case where there is one I / O resource 3 is shown, but the number of I / O resources 3 that are simultaneously shared by a plurality of hosts 1 is not limited. A plurality of I / O resources 3 may be connected using the network switch 22.
  • the first function 31-1 to the Nth function 31-N of the I / O resource are assigned to the first host 1-1 to the Nth host 1-N, respectively.
  • the combination of how to assign 31 to the host 1 is arbitrary. There may also be a host 1 to which a plurality of functions 31 are assigned, or a host 1 to which no function 31 is assigned.
  • the number of functions 31 held by the I / O resource 3 and the number of hosts 1 may be different.
  • a downstream PCI express network bridge that is originally connected to a single upstream PCI express-network bridge by a multi-root connection bridge is connected to a plurality of upstream PCI express-network bridges.
  • / O resource function is assigned to each host in units of functions.
  • the multi-root connection bridge simulates that all network packets sent by each host are sent from the multi-root connection bridge, and the destination address of the network packet sent by the downstream PCI Express-network bridge is multi-route connected. Swap from the bridge to the network address of each host.
  • the multi-root connection bridge configures I / O resources in advance and maps the configuration information to the configuration that each host provides to the I / O resources. Then, the information described in the header of the I / O packet transmitted / received between the host and the I / O is swapped using the mapping information. Thereby, an I / O function can be assigned to each host in units of functions, and I / O resources can be shared simultaneously from a plurality of hosts.
  • FIG. 9 is a block diagram showing a configuration of the second exemplary embodiment of the present invention.
  • the PCI express switch 2 in the first embodiment shown in FIG. It is different in point.
  • the multi-root connection bridge 41 in the second embodiment includes a processor 411 that processes a network packet in which an I / O packet is encapsulated, and a memory that holds a packet processing program and configuration information of the I / O bus system 10. 412.
  • the memory 412 has the same information as the multi-route connection bridge program 4121 and the I / O information storage unit 243 that cause the processor 411 to perform the functions of the packet transfer unit 241 and the I / O configuration unit 242 according to the first embodiment.
  • the I / O information storage unit 4122 that holds the same information as the downstream PCI express network bridge pseudo register 244, and the same information as the I / O function pseudo register 245.
  • an I / O function register information storage unit 4124 to be held.
  • the multi-root connection bridge program 4121 is read by the processor 411, and causes the processor 411 to perform the functions of the packet transfer unit 241 and the I / O configuration unit 242 in the first embodiment.
  • access to the I / O information storage unit 243, the downstream PCI express network bridge pseudo register 244, and the I / O function pseudo register 245 generated in the first embodiment is the I / O stored in the memory 412. Generated for corresponding addresses in the information storage unit 4122, the downstream PCI express-network bridge register information storage unit 4123, and the I / O function register information storage unit 4124.
  • the processor performs the same function as the multi-root connection bridge in the first embodiment using a program held in the memory. Therefore, it is possible to realize simultaneous I / O sharing from a plurality of hosts by operating the designed program on a general-purpose processor without developing special hardware.
  • the present invention is an application in which an I / O device is shared among information processing apparatuses including a plurality of computers or a CPU or a CPU-like arithmetic device in a computer apparatus, a network apparatus, an industrial apparatus, or a consumer apparatus. Applicable to.
  • the I / O bus system described above is characterized in that a network address described in a network packet is swapped, and a single downstream PCI express-network bridge and a plurality of upstream PCI express-network bridges are connected.
  • the I / O bus system described above swaps the transmission source address of the network packet transmitted by the upstream PCI express-network bridge with the network address of the bridge that mediates the connection and transmits it to the downstream PCI express-network bridge. Then, the upstream PCI Express-Network Bridge is swapped by swapping the destination address of the network packet transmitted by the downstream PCI Express-Network Bridge from the network address of the bridge that mediates the connection to the network address of the upstream PCI Express-Network Bridge. It is characterized by transmitting to.
  • the I / O bus system described above is characterized in that I / O resources are configured in advance and the I / O resources are mapped in units of functions to the configuration performed by the host.
  • the I / O bus system pre-configures I / O resources and stores configuration information given to the I / O resources by the host, and the I / O resource configuration information and the host stores the I / O resources. Mapping information of configuration information to be given to a resource is stored, the stored mapping information is referenced, and addresses described in headers of I / O packets transmitted / received between the host and the I / O resource are swapped And
  • an I / O bus system control program recording medium for storing an I / O bus system control program includes a step of connecting a plurality of upstream PCI express-network bridges and a plurality of hosts on a one-to-one basis, and a single downstream Connecting the PCI Express-network bridge and the I / O resource between the upstream PCI express-network bridge and the downstream PCI express-network bridge between the plurality of hosts and the I / O resource.
  • an I / O bus system control program showing a procedure for realizing an operation including a step of swapping a network address described in a network packet that transmits the I / O bus.
  • the swapping step swaps the source address of the network packet transmitted by the upstream PCI express-network bridge with the network address of the bridge that mediates the connection, thereby downstream PCI express.
  • the step of sending to the network bridge and the downstream PCI express-the destination address of the network packet sent by the network bridge is swapped from the network address of the bridge that mediates the connection to the network address of the upstream PCI express-network bridge
  • An I / O bus system control program is stored, comprising transmitting to the upstream PCI express-network bridge.
  • the I / O bus system control program recording medium further includes an operation of pre-configuring I / O resources and mapping the I / O resources in units of functions to configurations performed by the host.
  • An I / O bus system control program indicating a procedure for realizing the above is stored.
  • the mapping step includes a step of pre-configuring I / O resources, a step of storing configuration information given to the I / O resources by the host, and an I / O Storing the configuration information of the resource and the mapping information of the configuration information given to the I / O resource by the host, and the swapping step refers to the stored mapping information, and the host and the I / O resource
  • An I / O bus system control program including a step of swapping addresses described in headers of I / O packets transmitted / received between the I / O packets is stored.
  • the I / O bus system control program recording medium stores an I / O bus system control program indicating a procedure for realizing an operation including a step of storing a host to which a function of an I / O resource is assigned.
  • the step of configuring the I / O resource and the downstream PCI express-network bridge in advance, and the step of swapping the I / O bus system control program recording medium Swap the network address of the network packet that encapsulates the I / O packet by referring to the information about the host to which the O resource function is assigned, and encapsulate it in the network packet by referring to the mapping information of the stored configuration information Storing an I / O bus system control program characterized by including a step of swapping the address of the generated I / O packet.
  • the network address swaps the source address of the network packet transmitted by the upstream PCI Express-network bridge to the network address of the bridge that mediates the connection
  • the downstream I / O bus system control characterized in that the destination address of a network packet transmitted by PCI Express-Network Bridge is swapped from the network address of the bridge that mediates the connection to the network address of the upstream PCI Express-Network Bridge Memorize the program.
  • the I / O bus system control program recording medium is an I / O indicating a procedure for realizing an operation including a step of causing a processor to change a function of an I / O resource allocated to a host by a control packet. Stores the bus system control program.
  • the I / O bus system control program recording medium is characterized in that the address swap of the I / O packet targets the memory space and the ID number described in the I / O packet. Store the control program.

Abstract

マルチルート接続ブリッジ24は、下流PCIエクスプレスネットワークブ リッジ25が複数の上流PCIエクスプレスネットワークブリッジ21と接続できるようにネットワークパケットのヘッダに記載されたアドレスのスワップを行う。また、マルチルート接続ブリッジ24は、I/Oリソース3をあらかじめコンフィグレーションし、各ホスト1のアドレス空間に、コンフィグレーションしたI/Oリソース3を、ファンクションを単位としてマッピングし、そのマッピング情報を用いてネットワークパケットにカプセル化されたI/Oパケットに記載されたヘッダ情報のスワップを行う。これにより、マルチルート接続ブリッジ24は、I/Oリソース3のI/O機能を、ファンクション31を単位として各ホスト1に割り当て、I/Oリソース3を複数のホスト1から同時に共有させる。

Description

I/Oバスシステム
 本発明はI/Oバスに関し、特にI/Oバスシステム、I/Oバスシステム制御方法、およびI/Oバスシステム制御用プログラム記録媒体に関する。
 現在広く普及している情報処理装置の多くに、I/Oバス(例えば、PCIバス)が備えられている。I/Oバスにおけるデータ処理の高速化や、扱われるデータの大容量化などに伴って、従来のI/Oバス規格に変わる新たなI/Oバス規格に関する技術が提唱されてきた。例えば、特開2007-219873号公報に記載されているような、その新たなI/Oバス規格に従って設計されたI/Oバスシステムに関する技術が知られている。
 図1は、その特開2007-219873号公報に記載されているI/Oバスシステムの構成を示すブロック図である。そのI/Oバスシステムは、ホスト101と、PCIエクスプレススイッチ105と、I/O103とを含んでいる。
 ホスト101は、CPU111と、メモリ113と、ルートコンプレックス112とを含んでいる。ルートコンプレックス112は、CPU111と、メモリ113と、PCIエクスプレススイッチ105とを相互に接続している。I/O103は、ホスト101のいずれかに、その使用権が割り当てられる。また、I/O103のホスト101への割り当ては変更可能である。
 PCIエクスプレススイッチ105は、上流PCIエクスプレス-ネットワークブリッジ121と、ネットワークスイッチ122と、下流PCIエクスプレス-ネットワークブリッジ125と、システムマネージャ151とを含んでいる。上流PCIエクスプレス-ネットワークブリッジ121は、ホスト101側でPCIエクスプレスバスとネットワークとをブリッジする。ネットワークスイッチ122は、ネットワークパケットを転送する。下流PCIエクスプレス-ネットワークブリッジ125は、I/O103側でネットワークとPCIエクスプレスバスをブリッジする。システムマネージャ151は、上流PCIエクスプレス-ネットワークブリッジ121と下流PCIエクスプレス-ネットワークブリッジ125との接続を制御し、I/O103のホスト101への割り当てを設定する。
 また、上流PCIエクスプレス-ネットワークブリッジ121は、複数の下流PCIエクスプレス-ネットワークブリッジ125に接続されている。そして、上流PCIエクスプレス-ネットワークブリッジ121は、ルートコンプレックス112から、I/O103あてのI/Oパケットを受信し、その受信したI/Oパケットをネットワークパケットにカプセル化してネットワークスイッチ122に転送する。このとき、上流PCIエクスプレス-ネットワークブリッジ121は、そのカプセル化したパケットのあて先に、元のI/Oパケットのあて先であるI/O103に接続されている下流PCIエクスプレス-ネットワークブリッジ125のネットワークアドレスを記載する。
 また、上流PCIエクスプレス-ネットワークブリッジ121は、ネットワークスイッチ122から、ホスト101あてのI/Oパケットがカプセル化されたネットワークパケットを受信する。上流PCIエクスプレス-ネットワークブリッジ121は、受信したネットワークパケットをデカプセル化し、ルートコンプレックス112に送信する。
 下流PCIエクスプレス-ネットワークブリッジ125は、1つの上流PCIエクスプレス-ネットワークブリッジ121に接続されている。下流PCIエクスプレス-ネットワークブリッジ125は、I/O103から接続する上流PCIエクスプレス-ネットワークブリッジ121に対応するホスト101あてのI/Oパケットを受信し、受信したI/Oパケットをネットワークパケットにカプセル化し、カプセル化したパケットのあて先に、I/Oパケットのあて先ホスト101が接続する上流PCIエクスプレス-ネットワークブリッジ121のネットワークアドレスを記載し、ネットワークスイッチ122に転送する。また、ネットワークスイッチ122からI/O103あてのI/Oパケットがカプセル化されたネットワークパケットを受信し、I/Oパケットをデカプセル化し、I/O103に送信する。
 図2はホスト101-1のアドレス空間115-1を示す図である。ここではI/O103-1~I/O103-Mが全てホスト101-1に割り当てられている場合を説明する。ホスト101のアドレス空間115は、バス番号、デバイス番号、ファンクション番号の3つの番号を組とするID番号の空間であるID番号空間1151と、2のべき乗の容量を持つ物理メモリ空間1152とを含む。ホスト101が使用するI/O103のアドレスは、ID番号空間1151と、物理メモリ空間1152とにマップされる。ここでは、I/O103-1~I/O103-Mが、それぞれID番号空間1151-1のI/O103-1~I/O103-Mのマップ1511-1~マップ1511-Mと、物理メモリ空間1152-1のI/O103-1~I/O103-Mのマップ1521-1~マップ1521-Mとにマップされている。
 このような構成を有する従来のI/Oバスシステムは次のように動作する。システムマネージャ151は、下流PCIエクスプレス-ネットワークブリッジ125がどの上流PCIエクスプレス-ネットワークブリッジ121と接続するか、制御パケットを下流PCIエクスプレス-ネットワークブリッジ125に送信することで制御する。I/O103は、下流PCIエクスプレス-ネットワークブリッジ125が接続する上流PCIエクスプレス-ネットワークブリッジ121と接続したホスト101に割り当てられる。
 上流PCIエクスプレス-ネットワークブリッジ121と下流PCIエクスプレス-ネットワークブリッジ125とは、ホスト101と、ホスト101に割り当てられたI/O103との間で送受信されるI/Oパケットをネットワークパケットにカプセル化し、上流PCIエクスプレス-ネットワークブリッジ121と下流PCIエクスプレス-ネットワークブリッジ125との間をトンネリングする。
 ホスト101は、上流PCIエクスプレス-ネットワークブリッジ121が標準に準拠したPCIエクスプレススイッチ内部の上流PCI-PCIブリッジであり、下流PCIエクスプレス-ネットワークブリッジ125がPCIエクスプレススイッチ内部の下流PCI-PCIブリッジであると認識し、それにより、上流PCIエクスプレス-ネットワークブリッジ25と、下流PCIエクスプレス-ネットワークブリッジ21との間の領域が、標準に準拠したPCIエクスプレススイッチであると認識する。このため、従来のI/Oバスシステムでは、ホスト101に特別なソフトウェアを必要とすることなく、ホスト101に対するI/O103の割り当てを自由に変更できる。
特開2007-219873号公報
 関連するI/Oバスシステムは、下流PCIエクスプレス-ネットワークブリッジが1つの上流PCIエクスプレス-ネットワークブリッジと接続し、I/Oパケットのトンネリングを行うことを想定して設計されている。また、I/Oリソースが1つのホストに占有されることを想定して設計されている。そのため、I/Oリソースが同時に2つ以上のホストから共有できないことがある。
 さらに、関連するI/Oバスシステムは、下流PCIエクスプレス-ネットワークブリッジが同時に2つ以上の上流PCIエクスプレス-ネットワークブリッジと接続してI/Oパケットのトンネリングを行えないことがある。
 本発明の目的は、I/Oリソースが同時に2つ以上のホストから共有できるI/Oバスシステムを提供することである。
 複数のホストに一対一に接続される複数の上流PCIエクスプレス-ネットワークブリッジと、I/Oリソースに接続される単一の下流PCIエクスプレス-ネットワークブリッジと、前記上流PCIエクスプレス-ネットワークブリッジと前記下流PCIエクスプレス-ネットワークブリッジとの間に配置され、前記複数のホストと前記I/Oリソースとの間を伝送するネットワークパケットに記載されたネットワークアドレスをスワップする接続ブリッジとを具備するI/Oバスシステムを構築する。
 本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば、I/Oリソースが同時に2つ以上のホストから共有できるI/Oバスシステムを構成することができる効果がある。
 また、本発明は、下流PCIエクスプレス-ネットワークブリッジが同時に2つ以上の上流PCIエクスプレス-ネットワークブリッジと接続してI/Oパケットのトンネリングを行えるI/Oバスシステムを構成することができる。
 本発明の効果を別の表現で述べるなら、その効果は、I/Oリソースが同時に2つ以上のホストから共有できることである。その理由は、I/Oパケットをカプセル化したネットワークパケットのヘッダに記載されたアドレスのスワップを行うことで、1つの下流PCIエクスプレス-ネットワークブリッジが複数の上流PCIエクスプレス-ネットワークブリッジと接続できるようにし、また、I/Oリソースをあらかじめコンフィグレーションし、各ホストのアドレス空間にコンフィグレーションしたI/Oリソースを、ファンクションを単位としてマッピングし、そのマッピング情報を用いてネットワークパケットにカプセル化されたI/Oパケットに記載されたヘッダ情報のスワップを行うことにより、単一のI/Oリソースが保持するファンクションを、それぞれ任意のホストに割り当てるためである。
 また、本発明の効果は、下流PCIエクスプレス-ネットワークブリッジが同時に2つ以上の上流PCIエクスプレス-ネットワークブリッジと接続してI/Oパケットのトンネリングを行えることである。
 上記発明の目的、効果、特徴は、添付される図面と連携して実施の形態の記述から、より明らかになる。
図1は、関連するI/Oバスシステムの構成を示すブロック図である。 図2は、ホストのアドレス空間を示す図である。 図3は、本発明の第1実施形態のI/Oバスシステムの構成を例示するブロック図である。 図4は、ホスト1とI/Oリソースのアドレス空間の関連性を示す図である。 図5Aは、ターゲットホスト検索テーブルの構成を例示するブロック図である。 図5Bは、ホストマッピングテーブルの構成を例示するブロック図である。 図6は、下流PCIエクスプレスネットワークブリッジとI/Oリソースとをコンフィグレーションする際の動作を例示する図である。 図7は、ホスト1がI/Oリソースにコンフィグレーションパケット以外のI/Oパケットを送信する際の動作を例示する図である。 図8は、I/OリソースからホストにI/Oパケットを送信する際の動作を例示する図である。 図9は、本発明の第2の実施の形態の構成を示すブロック図である。
 以下、本発明の実施の形態を図面に基づいて説明する。なお、実施の形態を説明するための図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。また、以下の実施形態においては、同様の構成を備える複数の要素の各々を区別するなどの場合には、参照符号の後ろに“-1”や“-2”などの枝番号を付加するものとする。
 次に、本発明を実施するための最良の形態について図面を参照して詳細に説明する。図3は、本発明の第1実施形態のI/Oバスシステム10の構成を例示するブロック図である。本発明の第1実施形態のI/Oバスシステム10は、複数のホスト1と、PCIエクスプレススイッチ2と、I/Oリソース3とを含んでいる。複数のホスト1の各々は、CPU11と、ルートコンプレックス12と、メモリ13とを含んでいる。
 図3を参照すると、そのI/Oリソース3は、複数のファンクション31(第1ファンクション31-1~第Nファンクション31-N)を含み、ホスト1から同時に共有される。I/Oリソース3は、複数のホスト1の各々に、ファンクション31を個別に提供することで、複数のホスト1によるI/Oリソース3の同時共有を実現する。本実施形態では、第1ファンクション31-1~第Nファンクション31-Nのそれぞれは、第1ホスト1-1~第Nホスト1-Nに一対一で割り当てられている。ここで、複数のファンクション31を保持するI/Oリソース3としては、マルチファンクションI/Oや、単一ホスト内でのソフトウェア仮想化に対応したI/O(I/Oバーチャライゼーション対応のI/O)などが例示される。
 PCIエクスプレススイッチ2は、ホスト1に接続する上流PCIエクスプレスネットワークブリッジ21と、ネットワークスイッチ22と、システムマネージャ23と、マルチルート接続ブリッジ24と、下流PCIエクスプレスネットワークブリッジ25とを含んでいる。マルチルート接続ブリッジ24は、下流PCIエクスプレスネットワークブリッジ25を複数の上流PCIエクスプレスネットワークブリッジ21と接続させることによって、I/Oリソース3を、複数のホスト1の間で同時に共有させる。
 特定の上流PCIエクスプレスネットワークブリッジ21は、他の上流PCIエクスプレスネットワークブリッジ21が存在せず、下流PCIエクスプレスネットワークブリッジ25と一対一で接続していることを想定して動作する。例えば、第1上流PCIエクスプレスネットワークブリッジ21-1は、第2上流PCIエクスプレスネットワークブリッジ21-2~第N上流PCIエクスプレスネットワークブリッジ21-Nの挙動に依存することなく、独立に動作する。
 下流PCIエクスプレスネットワークブリッジ25は、設計上では、1つの上流PCIエクスプレスネットワークブリッジ21と接続することのみ可能である。そのため、本実施形態における下流PCIエクスプレスネットワークブリッジ25は、本来上流PCIエクスプレスネットワークブリッジ21と行う接続を、マルチルート接続ブリッジ24に対して行う。
 システムマネージャ23は、マルチルート接続ブリッジ24に制御パケットを送信し、下流PCIエクスプレスネットワークブリッジ25に接続される複数の上流PCIエクスプレスネットワークブリッジ21を制御し、I/Oリソース3の各ファンクション31を割り当てるホスト1を指定する。
 マルチルート接続ブリッジ24は、パケット転送部241と、I/O構成部242と、I/O情報記憶部243と、下流PCIエクスプレスネットワークブリッジ擬似レジスタ244と、I/Oファンクション擬似レジスタ245とを含んでいる。
 パケット転送部241は、I/Oパケットがカプセル化されたネットワークパケットのネットワークパケットヘッダと、I/Oパケットヘッダをスワップして転送する。I/O構成部242は、I/Oリソース3のコンフィグレーションを行う。
 I/O情報記憶部243は、パケット転送部241がパケットに記載された情報をスワップする際に必要となる情報を保持する。下流PCIエクスプレスネットワークブリッジ擬似レジスタ244は、下流PCIエクスプレスネットワークブリッジ25の擬似レジスタ機能を提供する。I/Oファンクション擬似レジスタ245は、各ファンクション31の、擬似レジスタ機能を提供する。
 本実施形態において、マルチルート接続ブリッジ24は、複数の下流PCIエクスプレスネットワークブリッジ擬似レジスタ244(第1下流PCIエクスプレスネットワークブリッジ擬似レジスタ244-1~第N下流PCIエクスプレスネットワークブリッジ擬似レジスタ244-N)を含むものとする。また、マルチルート接続ブリッジ24は、複数のI/Oファンクション擬似レジスタ245(第1I/Oファンクション擬似レジスタ245-1~第NI/Oファンクション擬似レジスタ245-N)を含むものとする。
 第1下流PCIエクスプレスネットワークブリッジ擬似レジスタ244-1~第N下流PCIエクスプレスネットワークブリッジ擬似レジスタ244-Nと第1I/Oファンクション擬似レジスタ245-1~第NI/Oファンクション擬似レジスタ245-Nとは、それぞれ第1ホスト1-1~第Nホスト1-Nからのアクセスを受け付ける。
 I/O構成部242は、I/Oリソース3がホスト1から使用される前に下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3とのコンフィグレーションを行う。I/O構成部242は、ネットワークパケットにカプセル化したコンフィグレーションパケットを下流PCIエクスプレスネットワークブリッジ25と、I/Oリソース3に送信し、下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3とのコンフィグレーションを行う。このときネットワークパケットのあて先は下流PCIエクスプレスネットワークブリッジ25に設定されている。また、I/O構成部242は、下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3とのコンフィグレーション情報をI/O情報記憶部243に記録する。
 図4は、ホスト1とI/Oリソース3のアドレス空間の関連性を示す図である。I/Oリソース3のI/Oリソースアドレス空間32は、ID番号空間321と、物理メモリ空間322とを含んでいる。ID番号空間321は、「バス番号、デバイス番号、ファンクション番号」の群を含むID番号の空間である。
 図3に戻り、I/O構成部242は、I/Oリソース3のI/Oリソースアドレス空間32をコンフィグレーションする。ID番号空間321において、後でホスト1に割り当てるためのホスト1のホストマップ3211を、また物理メモリ空間322においてホスト1のホストマップ3221をコンフィグレーションする。ホスト1のホストマップ3211-1~ホストマップ3211-Nとホスト1のホストマップ3221-1~ホストマップ3221-Nとは、I/Oリソース3の第1ファンクション31-1~第Nファンクション31-Nに対応する。
 I/O構成部242は、また、ホスト1が下流PCIエクスプレスネットワークブリッジ25と、I/Oリソース3とに発行したコンフィグレーションパケットをパケット転送部241から受け取り、コンフィグレーションパケットがライトである場合、下流PCIエクスプレスネットワークブリッジ25へのコンフィグレーションは下流PCIエクスプレスネットワークブリッジ擬似レジスタ244に、I/Oリソース3へのコンフィグレーションはI/Oファンクション擬似レジスタ245に記録する。また、コンフィグレーションパケットがリードの場合、パケットが要求する情報を下流PCIエクスプレスネットワークブリッジ擬似レジスタ244か、I/Oファンクション擬似レジスタ245の該当する番地から読み込み、パケット転送部241を介してホスト1に返信する。
 I/O情報記憶部243は、I/O構成部242が行った下流PCIエクスプレスネットワークブリッジ25と、I/Oリソース3へのコンフィグレーション情報と、ホスト1が下流PCIエクスプレスネットワークブリッジ擬似レジスタ244と、I/Oファンクション擬似レジスタ245に書き込んだ情報を保持し、パケット転送部241がI/Oパケットがカプセル化されたネットワークパケットにおいて、ネットワークパケットとI/Oパケットのヘッダに記載された情報をスワップする際に必要となる情報を提供する。I/O情報記憶部243は、ターゲットホスト検索テーブル2431と、ホストマッピングテーブル2432とを保持する。
 以下に、ターゲットホスト検索テーブル2431について説明を行う。図5Aは、ターゲットホスト検索テーブル2431の構成を例示するブロック図である。ターゲットホスト検索テーブル2431は、I/Oリソース3の各ファンクション31に対し、ファンクション31が割り当てられているホスト1とそのホスト1が接続する上流PCIエクスプレスネットワークブリッジ21のネットワークアドレス(HA)とを対応させる。第1ファンクション31-1~第Nファンクション31-Nは、ファンクション番号FI1I~FINIに対応する。
 以下に、ホストマッピングテーブル2432について説明を行う。図5Bは、ホストマッピングテーブル2432の構成を例示するブロック図である。ホストマッピングテーブル2432は、個別のホスト1毎に用意され、ホスト1が自身のルートコンプレックス12に与えたID番号と、ホスト1が割り当てられたI/Oリソース3のファンクション31に与えたID番号と、メモリ空間下限と上限とを、I/O構成部242がI/Oリソース3をコンフィグレーションした値に対応させる。ホストマッピングテーブル2432は、ID番号であるバス番号、デバイス番号、ファンクション番号をそれぞれB,D,Fで示している。図5Bは、ホストマッピングテーブル2432が保持するホスト1のホスト側アドレス空間14と、I/Oリソース3のI/Oリソースアドレス空間32のマッピング関係を示している。I/Oリソース3のI/Oリソースアドレス空間32において、ID番号空間321と物理メモリ空間322とが、ファンクション31を単位として、ホスト1のホスト側アドレス空間14のID番号空間141と物理メモリ空間142とにマッピングされている。
 図3に戻り、下流PCIエクスプレスネットワークブリッジ擬似レジスタ244は、ホスト1が下流PCIエクスプレスネットワークブリッジ25へコンフィグレーションライトで与える情報をホスト1毎に保持する。
 I/Oファンクション擬似レジスタ245は、ホスト1がI/Oリソース3のファンクション31へ与えるコンフィグレーション情報を保持する。また、ホスト1がファンクション31をコンフィグレーションする場合、ファンクション31に割り当てるメモリ空間の容量を質問するが、I/Oファンクション擬似レジスタ245がこの情報を提供する。この情報は、I/O構成部242がI/Oリソース3のコンフィグレーションを行う際、取得したI/Oリソース3に関する情報をI/O情報記録部243に記録するが、これをI/Oファンクション擬似レジスタ245に反映したものである。
 パケット転送部241は、ホスト1がI/Oリソース3に発行したコンフィグレーションパケット以外のI/Oパケットがカプセル化されたネットワークパケットをネットワークスイッチ22から受信し、ホスト1を表すネットワークパケットの送信元アドレスを、マルチルート接続ブリッジ24のネットワークアドレスにスワップする。また、送信元ホスト1に対応するホストマッピングテーブル2432を検索し、I/Oパケットの送信元アドレスをホスト1のホスト側アドレス空間14におけるルートコンプレックス12のID番号から、I/Oリソース3のI/Oリソースアドレス空間32におけるルートコンプレックス12のID番号にスワップする。
 また、I/Oバケットのあて先アドレスがID番号で表されている場合、I/Oパケットのあて先アドレスをホスト1のホスト側アドレス空間14におけるファンクション31のID番号から、I/Oリソース3のI/Oリソースアドレス空間32におけるファンクション31のID番号にスワップする。一方、I/Oパケットのあて先アドレスがメモリ空間で表されている場合、I/Oパケットのあて先アドレスを(あて先メモリ-Mem下限IxR+Mem下限IxI)にスワップする。ここでx=1~Nで表される、I/Oパケットを送信したホスト1に対応する値である。
 パケット転送部241はまた、ホスト1が下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3に送信したコンフィグレーションパケットをカプセル化したネットワークパケットをネットワークスイッチ22から受信し、コンフィグレーションパケットをデカプセル化し、I/O構成部242に渡す。パケット転送部241はまた、I/Oリソース3がホスト1に発行したI/Oパケットがカプセル化されたネットワークパケットを受信し、ネットワークパケットのあて先アドレスをマルチルート接続ブリッジ241のネットワークアドレスから、送信元ファンクション31が割り当てられたホスト1が接続する上流PCIエクスプレスネットワークブリッジ21のネットワークアドレスにスワップする。上流PCIエクスプレスネットワークブリッジ21のネットワークアドレスの検索は、I/O情報記憶部243が保持するターゲットホスト検索テーブル2431を用いて、I/Oパケットに記載された送信元ファンクション31をキーとして検索する。
 また、カプセル化されたI/Oパケットのあて先アドレスと送信元アドレスを、あて先ホスト1に対応するホストマッピングテーブル2432を参照してスワップする。スワップするアドレスの対応は、ホスト1がI/Oリソース3にI/Oパケットを送信する場合に行うスワップの参照と逆であり、I/Oリソース3のI/Oリソースアドレス空間32からホスト1のホスト側アドレス空間14にスワップする。パケット転送部241はまた、I/O構成部242からホスト1が下流PCIエクスプレスネットワークブリッジ擬似レジスタ244とI/Oファンクション擬似レジスタ245とに送信したコンフィグレーションパケットの応答を受信し、応答パケットのあて先ホスト1が接続する上流PCIエクスプレスネットワークブリッジ21のネットワークアドレスを用いて応答パケットをカプセル化し、ホスト1に送信する。パケット転送部241はまた、下流PCIエクスプレスネットワークブリッジ25が送信するブロードキャスト制御パケットを受信し、ブロードキャスト制御パケットをホスト1の数だけコピーし、それぞれのホストに送信する。このとき、下流PCIエクスプレスネットワークブリッジ25が送信したブロードキャスト制御パケットは、下流PCIエクスプレスネットワークブリッジ25の接続先として、マルチルート接続ブリッジ24の情報が記載されているが、パケット転送部241は、この接続先情報をホスト1がそれぞれ接続する上流PCIエクスプレス-ネットワークブリッジに書き換えてブロードキャスト制御パケットのコピーを送信する。
 以下に、本発明を実施するための第1の実施の形態の動作について説明を行う。図6は、下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3とをコンフィグレーションする際の動作を例示する図である。
 I/O構成部242は、I/Oリソース3がホスト1から使用される前に、コンフィグレーションパケットを発行し、下流PCIエクスプレスネットワークブリッジ25と、I/Oリソース3とをコンフィグレーションする(ステップS401)。パケット転送部241は、I/O構成部242から渡されたコンフィグレーションパケットを、ネットワークパケットにカプセル化し、下流PCIエクスプレスネットワークブリッジ25との間でトンネリングすることにより、コンフィグレーションパケットを下流PCIエクスプレスネットワークブリッジ25とI/Oリソース3とに送信する。I/O構成部242は、I/Oリソース3に与えたコンフィグレーション情報を、I/O情報記憶部243が保持するホストマッピングテーブル2432に記録する(ステップS402)。I/O情報記憶部243に記録されたI/Oリソース3の各ファンクション31が要求するメモリ空間の容量は、I/Oファンクション擬似レジスタ245に反映される(ステップS403)。
 次に、システムマネージャ23は、マルチルート接続ブリッジ24に制御パケットを発行し、I/Oリソース3の第1ファンクション31-1~第Nファンクション31-Nを、それぞれ第1ホスト1-1~第Nホスト1-Nに割り当てる(ステップS404)。この割り当てにより、I/O情報記憶部243が保持するターゲットホスト検索テーブル2431のホストに関するエントリが記載される。
 次に、各ホスト1はそれぞれのコンフィグレーションサイクルを開始する(ステップS405)。ホスト1が下流PCIエクスプレスネットワークブリッジ25に発行するコンフィグレーションパケットは、ホスト1に割り当てられた下流PCIエクスプレスネットワークブリッジ擬似レジスタ244に、またホスト1に割り当てられたI/Oリソース3が含むファンクション31に発行するコンフィグレーションパケットは、ファンクション31に対応するI/Oファンクション擬似レジスタ245へのアクセスとしてI/O構成部242が処理する。また、I/O情報記憶部243のホストマッピングテーブル2432のエントリを記載するために必要な情報が、ホストのコンフィグレーションアクセスから抽出され、エントリが形成される(ステップS406)。
 図7は、ホスト1がI/Oリソース3にコンフィグレーションパケット以外のI/Oパケットを送信する際の動作を例示する図である。ルートコンプレックス12は、CPU11上で動作するソフトウェアの命令により、ホスト1に割り当てられたI/Oリソース3のファンクション31に対しI/Oパケットを送信する(ステップS501)。上流PCIエクスプレスネットワークブリッジ21は、ルートコンプレックス12が発行したI/Oパケットを受信し、I/Oリソース3が接続する下流PCIエクスプレスネットワークブリッジ25のネットワークアドレスを用いてI/Oパケットをカプセル化し、ネットワークスイッチ22に送信する(ステップS502)。ネットワークスイッチ22は、I/Oパケットがカプセル化されたネットワークパケットをマルチルート接続ブリッジ24に転送する(ステップS503)。
 パケット転送部241は、I/Oパケットがカプセル化されたネットワークパケットを受信し、ホスト1を表すネットワークパケットの送信元アドレスを、マルチルート接続ブリッジ24のネットワークアドレスにスワップする(ステップS504)。また、送信ホストに対応するホストマッピングテーブル2432を検索し、I/Oパケットの送信元アドレスをホスト1のホスト側アドレス空間14におけるルートコンプレックス12のID番号から、I/Oリソース3のI/Oリソースアドレス空間32におけるルートコンプレックス12のID番号にスワップする。また、I/Oバケットのあて先アドレスがID番号で表されている場合、I/Oパケットのあて先アドレスをホスト1のアドレス空間におけるファンクション31のID番号から、I/Oリソース3のI/Oリソースアドレス空間32におけるファンクション31のID番号にスワップする。一方、I/Oパケットのあて先アドレスがメモリ空間で表されている場合、I/Oパケットのあて先アドレスを(あて先メモリ-Mem下限IxR+Mem下限IxI)にスワップする。ここでx=1~Nで表される、I/Oパケットを送信したホスト1に対応する値である。次にパケット転送部241は、ネットワークパケットを下流PCIエクスプレスネットワークブリッジ25に送信する。
 下流PCIエクスプレスネットワークブリッジ25は、I/Oパケットをデカプセル化し(ステップS505)、I/Oリソース3に送信する。I/Oリソース3のファンクション31は、ファンクション31が割り当てられたホスト1が送信したI/Oパケットを受信する(ステップS506)。
 図8は、I/Oリソース3からホスト1にI/Oパケットを送信する際の動作を例示する図である。I/Oリソース3のファンクション31は、割り当てられたホストにI/Oパケットを送信する(ステップS601)。下流PCIエクスプレスネットワークブリッジ25は、ファンクション31が発行したI/Oパケットを受信し、マルチルート接続ブリッジ24のネットワークアドレスをあて先アドレスとしてI/Oパケットをカプセル化し、マルチルート接続ブリッジ24に送信する(ステップS602)。
 パケット転送部241は、I/Oパケットがカプセル化されたネットワークパケットを受信し、マルチルート接続ブリッジ24を表すネットワークパケットのあて先アドレスを、I/Oパケットのあて先となるホスト1のネットワークアドレスにスワップする(ステップS603)。あて先となるホスト1のネットワークアドレスは、ターゲットホスト検索テーブル2431において、ネットワークパケットにカプセル化されたI/Oパケットに記載された送信元ファンクション番号をキーとして検索する。また、あて先ホストに対応するホストマッピングテーブル2432を検索し、I/Oパケットの送信元アドレスをI/Oリソース3のI/Oリソースアドレス空間32におけるファンクション31のID番号から、ホスト1のホスト側アドレス空間14におけるファンクション31のID番号にスワップする。また、I/Oバケットのあて先アドレスがID番号で表されている場合、I/Oパケットのあて先アドレスをI/Oリソース3のI/Oリソースアドレス空間32におけるルートコンプレックス12のID番号から、ホスト1のホスト側アドレス空間14におけるルートコンプレックス12のID番号にスワップする。一方、I/Oパケットのあて先アドレスがメモリ空間で表されている場合、I/Oパケットのあて先アドレスを(あて先メモリ-Mem下限IxI+Mem下限IxR)にスワップする。ここでx=1~Nで表される、I/Oパケットのあて先ホスト1に対応する値である。次に、パケット転送部241はネットワークパケットをネットワークスイッチ22に送信する。
 ネットワークスイッチ22は、I/Oパケットがカプセル化されたネットワークパケットを上流PCIエクスプレスネットワークブリッジ21に転送する(ステップS604)。
 上流PCIエクスプレスネットワークブリッジ21は、I/Oパケットをデカプセル化し(ステップS605)、ルートコンプレックス12に送信する。ルートコンプレックス12は、ホスト1に割り当てられたファンクション31が発行したI/Oパケットを受信する(ステップS606)。
 ここで本実施の形態では、ネットワークスイッチ22が1つの場合を示したが、上流PCIエクスプレスネットワークブリッジ21とマルチルート接続ブリッジ24との間に接続するネットワークスイッチ22の数に制限はない。また、マルチルート接続ブリッジ24と下流PCIエクスプレスネットワークブリッジ25との間に別のネットワークスイッチ22を接続しても良い。
 また、本実施の形態ではI/Oリソース3が1つの場合を示したが、複数のホスト1から同時に共有されるI/Oリソース3の数に制限はない。ネットワークスイッチ22を用いて複数のI/Oリソース3を接続しても良い。
 また、本実施の形態では、I/Oリソースの第1ファンクション31-1~第Nファンクション31-Nをそれぞれ第1ホスト1-1~第Nホスト1-Nに割り当てる場合を示したが、ファンクション31のホスト1への割り当て方の組み合わせは自由である。また、複数のファンクション31が割り当てられるホスト1や、ファンクション31が割り当てられないホスト1が存在しても良い。I/Oリソース3が保持するファンクション31の数とホスト1の数は異なっていても良い。
 上述したように、第1の実施の形態では、マルチルート接続ブリッジが本来1つの上流PCIエクスプレス-ネットワークブリッジと接続する下流PCIエクスプレスネットワークブリッジを、複数の上流PCIエクスプレス-ネットワークブリッジに接続させ、I/Oリソースの機能を、ファンクションを単位として各ホストに割り当てる。
 このため、マルチルート接続ブリッジは、各ホストが送信するネットワークパケットは全てマルチルート接続ブリッジから送られているよう擬似し、また下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットのあて先アドレスをマルチルート接続ブリッジから各ホストのネットワークアドレスにスワップする。一方、マルチルート接続ブリッジは、I/Oリソースを予めコンフィグレーションし、そのコンフィグレーション情報を各ホストがI/Oリソースに与えるコンフィグレーションに対してマップする。そして、ホストとI/O間で送受信されるI/Oパケットのヘッダに記載されている情報を、マッピング情報を用いてスワップする。これにより、I/O機能を、ファンクションを単位として各ホストに割り当て、複数ホストからI/Oリソースを同時に共有できる。
 次に、本発明を実施するための第2の実施の形態について、図面を参照して説明する。図9は、本発明の第2の実施の形態の構成を示すブロック図である。図9を参照すると、本発明の第2の実施の形態に係るI/Oバスシステム10は、図3に示した第1の実施の形態におけるPCIエクスプレススイッチ2が、マルチルート接続ブリッジ41を含む点で異なっている。
 第2実施形態におけるマルチルート接続ブリッジ41は、I/Oパケットがカプセル化されたネットワークパケットの処理を行うプロセッサ411と、パケット処理のプログラムとI/Oバスシステム10のコンフィグレーション情報を保持するメモリ412とを含む。
 メモリ412は、第1の実施の形態におけるパケット転送部241と、I/O構成部242との機能をプロセッサ411に行わせるマルチルート接続ブリッジプログラム4121と、I/O情報記憶部243と同じ情報を保持するI/O情報記憶部4122と、下流PCIエクスプレスネットワークブリッジ擬似レジスタ244と同じ情報を保持する下流PCIエクスプレス-ネットワークブリッジレジスタ情報記憶部4123と、I/Oファンクション擬似レジスタ245と同じ情報を保持するI/Oファンクションレジスタ情報記憶部4124とを含む。
 マルチルート接続ブリッジプログラム4121は、プロセッサ411に読み込まれ、プロセッサ411に、第1の実施の形態におけるパケット転送部241と、I/O構成部242との機能を行わせる。その際、第1の実施の形態において発生したI/O情報記憶部243と、下流PCIエクスプレスネットワークブリッジ擬似レジスタ244と、I/Oファンクション擬似レジスタ245に対するアクセスは、メモリ412が保持するI/O情報記憶部4122と、下流PCIエクスプレス-ネットワークブリッジレジスタ情報記憶部4123と、I/Oファンクションレジスタ情報記憶部4124とにおいて対応する番地に対して発生する。
 本発明の第2の実施の形態では、メモリが保持するプログラムを用いてプロセッサに第1の実施の形態におけるマルチルート接続ブリッジと同じ機能を行わせる。よって、特別なハードウェアを開発せず、設計したプログラムを汎用プロセッサで動作させることにより、複数ホストからのI/O同時共有を実現できる。
 以上、本願発明の実施の形態を具体的に説明した。本願発明は上述の実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。また、本発明は、コンピュータ装置やネットワーク装置、産業用機器やコンシューマ機器において、複数のコンピュータ、あるいはCPUやCPUに類する演算装置を含む情報処理装置の間で、I/Oデバイスを共有するといった用途に適用できる。
 上述してきたI/Oバスシステムは、ネットワークパケットに記載されたネットワークアドレスをスワップし、単一の下流PCIエクスプレス-ネットワークブリッジと複数の上流PCIエクスプレス-ネットワークブリッジとを接続することを特徴とする。
 換言すると、上述してきたI/Oバスシステムは、上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、接続を仲介するブリッジのネットワークアドレスにスワップして下流PCIエクスプレス-ネットワークブリッジに送信し、その下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、接続を仲介するブリッジのネットワークアドレスからその上流PCIエクスプレス-ネットワークブリッジのネットワークアドレスにスワップしてその上流PCIエクスプレス-ネットワークブリッジに送信することを特徴とする。
 また、上述してきたI/Oバスシステムは、I/Oリソースをあらかじめコンフィグレーションし、ホストが行うコンフィグレーションに対しI/Oリソースを、ファンクションを単位としてマッピングすることを特徴とする。
 なお、そのI/Oバスシステムは、I/Oリソースをあらかじめコンフィグレーションし、ホストがI/Oリソースに与えるコンフィグレーション情報を記憶し、I/Oリソースのコンフィグレーション情報とそのホストがI/Oリソースに与えるコンフィグレーション情報のマッピング情報を記憶し、その記憶したマッピング情報を参照し、ホストとI/Oリソースの間で送受信するI/Oパケットのヘッダに記載されたアドレスをスワップすることを特徴とする。
 また、上述のI/Oバスシステムを動作させるための手順を示すI/Oバスシステム制御プログラムを、所定の記録媒体に記憶させることも可能である。その場合、I/Oバスシステム制御プログラムを記憶するI/Oバスシステム制御プログラム記録媒体は、複数の上流PCIエクスプレス-ネットワークブリッジと複数のホストとを一対一に接続するステップと、単一の下流PCIエクスプレス-ネットワークブリッジとI/Oリソースとを接続するステップと、その上流PCIエクスプレス-ネットワークブリッジとその下流PCIエクスプレス-ネットワークブリッジとの間で、その複数のホストとそのI/Oリソースとの間を伝送するネットワークパケットに記載されたネットワークアドレスをスワップするステップとを具備する動作を実現するための手順を示すI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、そのスワップするステップが、上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、接続を仲介するブリッジのネットワークアドレスにスワップして下流PCIエクスプレス-ネットワークブリッジに送信するステップと、その下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、接続を仲介するブリッジのネットワークアドレスからその上流PCIエクスプレス-ネットワークブリッジのネットワークアドレスにスワップしてその上流PCIエクスプレス-ネットワークブリッジに送信するステップを含むことを特徴とするI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、さらに、I/Oリソースをあらかじめコンフィグレーションし、ホストが行うコンフィグレーションに対し、そのI/Oリソースを、ファンクションを単位としてマッピングするステップを具備する動作を実現するための手順を示すI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、そのマッピングするステップが、 I/Oリソースをあらかじめコンフィグレーションするステップと、ホストがI/Oリソースに与えるコンフィグレーション情報を記憶するステップと、I/Oリソースのコンフィグレーション情報とそのホストがI/Oリソースに与えるコンフィグレーション情報のマッピング情報を記憶するステップとを備え、そのスワップするステップが、その記憶したマッピング情報を参照し、ホストとI/Oリソースの間で送受信するI/Oパケットのヘッダに記載されたアドレスをスワップするステップを含むI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、I/Oリソースのファンクションが割り当てられたホストを記憶するステップを具備する動作を実現するための手順を示すI/Oバスシステム制御プログラムを記憶する。ここにおいて、そのI/Oバスシステム制御プログラム記録媒体は、そのコンフィグレーションするステップが、I/Oリソースと下流PCIエクスプレス-ネットワークブリッジをあらかじめコンフィグレーションし、そのスワップするステップが、その記憶したI/Oリソースのファンクションが割り当てられたホストに関する情報を参照してI/Oパケットをカプセル化したネットワークパケットのネットワークアドレスをスワップし、その記憶したコンフィグレーション情報のマッピング情報を参照してネットワークパケットにカプセル化されたI/Oパケットのアドレスをスワップするステップを含むことを特徴とするI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、そのネットワークアドレスのスワップが、上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、接続を仲介するブリッジのネットワークアドレスにスワップし、その下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、その接続を仲介するブリッジのネットワークアドレスからその上流PCIエクスプレス-ネットワークブリッジのネットワークアドレスにスワップすることを特徴とするI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、ホストに割り当てるI/Oリソースのファンクションを、制御パケットにより変更する処理をプロセッサに行わせるステップを具備する動作を実現するための手順を示すI/Oバスシステム制御プログラムを記憶する。
 そのI/Oバスシステム制御プログラム記録媒体は、そのI/Oパケットのアドレスのスワップが、I/Oパケットに記載されたメモリ空間とID番号を対象とすることを特徴とするI/Oバスシステム制御プログラムを記憶する。
 当業者は上記実施例の様々な変形を容易に実施することができる。したがって、本発明は上記実施例に限定されることはなく、請求項やその均等物によって参酌される最も広い範囲で解釈される。
 この出願は、2008年11月13日に出願された日本出願特願2008-290692を基礎とする優先権を主張し、その開示の全てをここに取り込む。

Claims (12)

  1.  複数のホストに一対一に接続される複数の上流PCIエクスプレス-ネットワークブリッジと、
     I/Oリソースに接続される単一の下流PCIエクスプレス-ネットワークブリッジと、
     前記上流PCIエクスプレス-ネットワークブリッジと前記下流PCIエクスプレス-ネットワークブリッジとの間に配置され、前記複数のホストと前記I/Oリソースとの間を伝送するネットワークパケットに記載されたネットワークアドレスをスワップする接続ブリッジと
     を具備する
     I/Oバスシステム
  2.  請求の範囲1に記載のI/Oバスシステムにおいて、
     前記接続ブリッジは、
     前記上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、接続を仲介するブリッジのネットワークアドレスにスワップして下流PCIエクスプレス-ネットワークブリッジに送信し、
     前記下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、前記接続を仲介するブリッジのネットワークアドレスから前記上流PCIエクスプレス-ネットワークブリッジにスワップして前記上流PCIエクスプレス-ネットワークブリッジに送信する
     I/Oバスシステム。
  3.  請求の範囲1または2に記載のI/Oバスシステムにおいて、
     前記接続ブリッジは、
     前記I/Oリソースを、あらかじめコンフィグレーションし、前記ホストが行うコンフィグレーションに対し前記I/Oリソースを、ファンクションを単位としてマッピングすることを特徴とする
     I/Oバスシステム。
  4.  請求の範囲3に記載のI/Oバスシステムにおいて、
     前記接続ブリッジは、
     前記I/Oリソースをあらかじめコンフィグレーションするコンフィグレーション手段と、
     前記ホストが前記I/Oリソースに与えるコンフィグレーション情報を記憶するコンフィグレーション情報記憶手段と、
     前記I/Oリソースのコンフィグレーション情報と、前記ホストが前記I/Oリソースに与えるコンフィグレーション情報とのマッピング情報を記憶するマッピング情報記憶手段と、
     前記マッピング情報を参照して前記ホストと前記I/Oリソースの間で送受信するI/Oパケットのヘッダに記載されたアドレスをスワップするスワップ手段と
     を備えたことを特徴とする
     I/Oバスシステム。
  5.  請求の範囲4に記載のI/Oバスシステムにおいて、さらに、
     前記I/Oリソースのファンクションが割り当てられたホストを記憶するファンクション割り当て記憶手段を備え、
     前記上流PCIエクスプレス-ネットワークブリッジは、前記ホストをネットワークに接続し、
     前記下流PCIエクスプレス-ネットワークブリッジは、前記I/Oリソースをネットワークに接続し、
     前記コンフィグレーション手段は、前記I/Oリソースと前記下流PCIエクスプレス-ネットワークブリッジとをあらかじめコンフィグレーションし、
     前記スワップ手段は、
     前記ファンクション割り当て記憶手段を参照してI/Oパケットをカプセル化したネットワークパケットのネットワークアドレスをスワップし、
     前記I/Oリソースのコンフィグレーション情報と、前記ホストが前記I/Oリソースに与えるコンフィグレーション情報とのマッピング情報を参照してネットワークパケットにカプセル化されたI/Oパケットのアドレスをスワップすることを特徴とする
     I/Oバスシステム。
  6.  請求の範囲5に記載のI/Oバスシステムにおいて、
     前記スワップ手段は、
     前記上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、前記スワップ手段のネットワークアドレスにスワップし、
     前記下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、前記スワップ手段のネットワークアドレスから前記上流PCIエクスプレス-ネットワークブリッジのネットワークアドレスにスワップすることを特徴とする
     I/Oバスシステム。
  7.  請求の範囲6に記載のI/Oバスシステムにおいて、
     前記ホストに割り当てる前記I/Oリソースのファンクションは、制御パケットにより変更できることを特徴とする
     I/Oバスシステム。
  8.  請求の範囲7に記載のI/Oバスシステムにおいて、
     前記I/Oパケットのアドレスのスワップは、前記I/Oパケットに記載されたメモリ空間とID番号とを対象とすることを特徴とする
     I/Oバスシステム。
  9.  ホストを上流PCIエクスプレス-ネットワークブリッジを用いてネットワークに接続し、
     I/Oリソースを下流PCIエクスプレス-ネットワークブリッジを用いてネットワークに接続し、
     I/Oリソースと前記下流PCIエクスプレス-ネットワークブリッジをあらかじめコンフィグレーションし、
     ホストがI/Oリソースに与えるコンフィグレーション情報を記憶し、
     I/Oリソースのファンクションが割り当てられたホストを記憶し、
     I/Oリソースのコンフィグレーション情報と前記ホストがI/Oリソースに与えるコンフィグレーション情報のマッピング情報を記憶し、
     前記記憶したI/Oリソースのファンクションが割り当てられたホストに関する情報を参照してI/Oパケットをカプセル化したネットワークパケットのネットワークアドレスをスワップし、前記記憶したコンフィグレーション情報のマッピング情報を参照してネットワークパケットにカプセル化されたI/Oパケットのアドレスをスワップすることを特徴とする
     I/Oバスシステム制御方法。
  10.  請求の範囲9に記載のI/Oバスシステム制御方法において、
     前記ネットワークアドレスのスワップは、前記上流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信元アドレスを、接続を仲介するブリッジのネットワークアドレスにスワップし、前記下流PCIエクスプレス-ネットワークブリッジが送信したネットワークパケットの送信先アドレスを、前記接続を仲介するブリッジのネットワークアドレスから前記上流PCIエクスプレス-ネットワークブリッジのネットワークアドレスにスワップすることを特徴とする
     I/Oバスシステム制御方法。
  11.  請求の範囲10に記載のI/Oバスシステム制御方法において、
     ホストに割り当てるI/Oリソースのファンクションを、制御パケットにより変更することを特徴とする
     I/Oバスシステム制御方法。
  12.  請求の範囲11に記載のI/Oバスシステム制御方法において、
     前記I/Oパケットのアドレスのスワップは、I/Oパケットに記載されたメモリとID番号を対象とすることを特徴とする
     I/Oバスシステム制御方法。
PCT/JP2009/068789 2008-11-13 2009-11-04 I/oバスシステム WO2010055791A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/121,227 US9213662B2 (en) 2008-11-13 2009-11-04 I/O bus system
JP2010537754A JP5434929B2 (ja) 2008-11-13 2009-11-04 I/oバスシステム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008290692 2008-11-13
JP2008-290692 2008-11-13

Publications (1)

Publication Number Publication Date
WO2010055791A1 true WO2010055791A1 (ja) 2010-05-20

Family

ID=42169926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/068789 WO2010055791A1 (ja) 2008-11-13 2009-11-04 I/oバスシステム

Country Status (3)

Country Link
US (1) US9213662B2 (ja)
JP (1) JP5434929B2 (ja)
WO (1) WO2010055791A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045236A (ja) * 2011-08-23 2013-03-04 Fujitsu Ltd 通信装置およびid設定方法
JP2013196593A (ja) * 2012-03-22 2013-09-30 Ricoh Co Ltd データ処理装置、データ処理方法及びプログラム
JP2014002545A (ja) * 2012-06-18 2014-01-09 Ricoh Co Ltd データ転送装置、及びデータ転送方法
WO2017154943A1 (ja) * 2016-03-11 2017-09-14 パナソニックIpマネジメント株式会社 情報処理装置
WO2017154942A1 (ja) * 2016-03-11 2017-09-14 パナソニックIpマネジメント株式会社 情報処理装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5467541B2 (ja) * 2010-02-22 2014-04-09 日本電気株式会社 通信制御システム、スイッチングノード、通信制御方法、及び通信制御用プログラム
JP5598148B2 (ja) * 2010-08-05 2014-10-01 富士通株式会社 スイッチング装置、情報処理装置、及びスイッチング装置の制御方法
US8799519B2 (en) * 2011-06-27 2014-08-05 Via Technologies, Inc. Network-to-network bridge
US8832331B2 (en) 2011-08-29 2014-09-09 Ati Technologies Ulc Data modification for device communication channel packets
US9032102B2 (en) * 2012-03-02 2015-05-12 International Business Machines Corporation Decode data for fast PCI express multi-function device address decode
US8917736B2 (en) 2012-12-19 2014-12-23 International Business Machines Corporation Unified system networking with PCIE-CEE tunneling
US8891542B2 (en) 2012-12-19 2014-11-18 International Business Machines Corporation Unified system networking with CEE-PCIe tunneling

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282701A (ja) * 2000-03-31 2001-10-12 Aiwa Co Ltd 情報処理装置及び情報処理方法
JP2007219873A (ja) * 2006-02-17 2007-08-30 Nec Corp スイッチ及びネットワークブリッジ装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934763B2 (en) * 2000-04-04 2005-08-23 Fujitsu Limited Communication data relay system and method of controlling connectability between domains
US20030093604A1 (en) * 2001-11-14 2003-05-15 Lee Terry Ping-Chung Method of error isolation for shared PCI slots
US7024510B2 (en) * 2003-03-17 2006-04-04 Hewlett-Packard Development Company, L.P. Supporting a host-to-input/output (I/O) bridge
US7415551B2 (en) * 2003-08-18 2008-08-19 Dell Products L.P. Multi-host virtual bridge input-output resource switch
US7200687B2 (en) * 2003-09-25 2007-04-03 International Business Machines Coporation Location-based non-uniform allocation of memory resources in memory mapped input/output fabric
US20060126612A1 (en) * 2004-11-23 2006-06-15 Sandy Douglas L Method of transporting a PCI express packet over an IP packet network
US7478178B2 (en) * 2005-04-22 2009-01-13 Sun Microsystems, Inc. Virtualization for device sharing
US7293129B2 (en) * 2005-04-22 2007-11-06 Sun Microsystems, Inc. Flexible routing and addressing
US8223745B2 (en) * 2005-04-22 2012-07-17 Oracle America, Inc. Adding packet routing information without ECRC recalculation
US7395367B2 (en) * 2005-10-27 2008-07-01 International Business Machines Corporation Method using a master node to control I/O fabric configuration in a multi-host environment
US7484029B2 (en) * 2006-02-09 2009-01-27 International Business Machines Corporation Method, apparatus, and computer usable program code for migrating virtual adapters from source physical adapters to destination physical adapters
JP4998469B2 (ja) * 2006-08-09 2012-08-15 日本電気株式会社 インターコネクション用スイッチおよびシステム
WO2008018845A1 (en) * 2006-08-09 2008-02-14 Hasim Eral Operating method for pneumatic hybrid engine (working with compressed air)
CN101123570B (zh) * 2006-08-09 2011-05-18 华为技术有限公司 多个运营商以太网之间的数据转发方法和系统
JP4810349B2 (ja) * 2006-08-11 2011-11-09 日本電気株式会社 I/o装置及び方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282701A (ja) * 2000-03-31 2001-10-12 Aiwa Co Ltd 情報処理装置及び情報処理方法
JP2007219873A (ja) * 2006-02-17 2007-08-30 Nec Corp スイッチ及びネットワークブリッジ装置

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045236A (ja) * 2011-08-23 2013-03-04 Fujitsu Ltd 通信装置およびid設定方法
JP2013196593A (ja) * 2012-03-22 2013-09-30 Ricoh Co Ltd データ処理装置、データ処理方法及びプログラム
JP2014002545A (ja) * 2012-06-18 2014-01-09 Ricoh Co Ltd データ転送装置、及びデータ転送方法
WO2017154943A1 (ja) * 2016-03-11 2017-09-14 パナソニックIpマネジメント株式会社 情報処理装置
WO2017154942A1 (ja) * 2016-03-11 2017-09-14 パナソニックIpマネジメント株式会社 情報処理装置
JPWO2017154942A1 (ja) * 2016-03-11 2019-01-17 パナソニックIpマネジメント株式会社 情報処理装置
JPWO2017154943A1 (ja) * 2016-03-11 2019-01-17 パナソニックIpマネジメント株式会社 情報処理装置
JP7054769B2 (ja) 2016-03-11 2022-04-15 パナソニックIpマネジメント株式会社 情報処理装置

Also Published As

Publication number Publication date
JPWO2010055791A1 (ja) 2012-04-12
US9213662B2 (en) 2015-12-15
JP5434929B2 (ja) 2014-03-05
US20110206051A1 (en) 2011-08-25

Similar Documents

Publication Publication Date Title
JP5434929B2 (ja) I/oバスシステム
US8494833B2 (en) Emulating a computer run time environment
CN108268412B (zh) 用于扩展外围组件互连高速结构的系统和方法
US20090245257A1 (en) Network On Chip
US20090109996A1 (en) Network on Chip
US20090271172A1 (en) Emulating A Computer Run Time Environment
JP5660053B2 (ja) ネットワーク装置、ネットワーク構成方法及びネットワーク装置のプログラムを記録したプログラム記録媒体
US11418455B2 (en) Transparent packet splitting and recombining
KR101003102B1 (ko) 멀티 프로세싱 유닛에 대한 메모리 매핑방법, 및 장치
US9015380B2 (en) Exchanging message data in a distributed computer system
JP5469081B2 (ja) 制御パス入出力仮想化方法
US11740929B2 (en) Registering a custom atomic operation with the operating system
US11829323B2 (en) Method of notifying a process or programmable atomic operation traps
WO2006018753A1 (en) Integrated circuit and method for packet switching control
US20220121474A1 (en) Method of completing a programmable atomic transaction
US20230244416A1 (en) Communicating a programmable atomic operator to a memory controller
WO2022086789A1 (en) Method of executing programmable atomic unit resources within a multi-process system
CN1666185A (zh) 支持包处理的可配置的多端口多协议网络接口
JP5731108B2 (ja) 中継手段、中継システム、中継方法およびプログラム
CN105630727A (zh) 多SoC节点之间的访问方法、装置和系统
US20220382557A1 (en) On-demand programmable atomic kernel loading
JP6573046B1 (ja) 情報処理装置、情報処理システムおよび情報処理プログラム
US20070038745A1 (en) Processing module
US20220121483A1 (en) Thread execution control in a barrel processor
JP6384359B2 (ja) 分散共有メモリを有する情報処理装置、方法、および、プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09826041

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13121227

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2010537754

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09826041

Country of ref document: EP

Kind code of ref document: A1