Controller integration
10 claims: 6 independent, 4 dependent
- 1An electronic device supported at a data processing system (600) and presenting itself as a PCIe device (601) to the data processing system, the data processing system comprising a central processing unit (603) and a PCIe data bus (605), and the electronic device having two components:a controller unit (602) located at the central processing unit, the controller unit (602) comprising at least some of a logical functionality of the PCIe device, and being operable to handle I/O requests for the electronic device;and a peripheral component (604) accessible to the controller unit (602) over the PCIe data bus (605);wherein the controller unit (602) is configured to be responsive to I/O requests directed to the peripheral component (604).
- 5An electronic device as in any preceding claim, wherein the peripheral component (604) further provides a legacy Base Address Register supporting a set of legacy registers, the peripheral component (604) being configured to, when a legacy register is read or written, map the read or write to the legacy register to a read or write to the control aperture of the controller unit (602) such that legacy I/O requests directed to the set of legacy registers are handled at the control aperture of the controller unit (602).
- 6An electronic device as in any preceding claim, wherein the controller unit (602) supports one or more control apertures, each control aperture being a physical address range, wherein software running at the data processing system (600) can interact with a device by reading from and writing to addresses within the control aperture.
- 8An electronic device as claimed in any preceding claim, wherein the controller unit (602) is configured to perform at least one of:reads or writes into a memory (606) of the data processing system (600).
- 10An electronic device as claimed in any preceding claim, wherein the peripheral component (604) is one of a single root input/output virtualised PCIe device or a multi root input/output virtualised PCIe device supporting one or more physical functions and virtual functions.
Independent claims6
124 paragraphs in 4 sections, as filed
BACKGROUND OF THE INVENTION
0001This invention relates to a novel architecture for a network interface device for a data processing system and a method for exchanging network data between the processors of a data processing system, and in particular a blade server. A novel architecture for a PCIe device is also disclosed.
0002A conventional data processing system comprising one or more processors and a memory is attached to a network by means of a peripheral network interface device. The network interface device allows the data processing system to receive and transmit data over the network. The data processing system and network interface device communicate over a peripheral data bus, such as PCIe.
0003An Ethernet network interface device includes a controller, which typically forms data packets for transmission over the network, controls the data flows passing through the device and coordinates the transfer of data over the data bus between the data processing system and the network interface device. The physical transfer of data over the network is handled by a so-called "PHY" of the network interface device, which performs the signalling of network data over the network at the physical level of the Ethernet specification.
0004In a typical data processing system, several data buses may be involved in the transmission or reception of data over the network. Often there are different buses between the processor and memory, local storage devices and peripherals such as the network interface device. Data transfer over each bus has an associated overhead, and, along with the PHY, the various data bus circuits are typically amongst the most expensive components in terms of introduced latency and power requirements during data transmission or reception over a network.
0005Furthermore, the rate of transmission of data packets over the fabric of the network itself is limited by the network bandwidth, which imposes a maximum data rate between hosts on the network. This can be particularly limiting if the network fabric is used to connect the blades of a blade server.
0006Conventional network interface devices are provided as peripherals which are connected to a data processing system over a peripheral bus, such as PCIe. The network interface device may be a standalone peripheral card or it may be supported at the motherboard of the data processing system, but the device is accessed by the data processing system over the appropriate bus. This configuration is shown in <figref idref="f0001">figure 1</figref>, in which the CPU 103 of the data processing system 101 accesses the network interface device (NIC) 102 over a PCIe bus 106. The interface between the CPU and the PCIe bus is provided by chipset 105, which also typically provides direct memory access (DMA) to the memory by means of a memory controller. Network interface device 102 comprises a controller 107 and a PHY 108 - the controller largely handling data flows at the link layer of the network protocol in use over network 109, and the PHY handling the transmission and reception of network data packets over the network in accordance with the physical layer requirements of the network protocol.
0007Since the receive and transmit queues for applications executing at processor 103 are located at memory 104, the network interface device must perform reads and writes directly to the memory in order to transmit and receive data over the network. Typically two or three memory accesses are required to effect each transmit operation, and one or two memory accesses are required to effect each receive operation. Often a network interface device will be operable to read and write to the memory by means of direct memory access (DMA), but all such accesses must still be performed over the peripheral data bus. The power consumption of each transmit or receive operation is not insignificant because each access must traverse the serialisation/deserialisation (SERDES) circuitry at the chipset 105 (which provides the interface to the bus for the processor/memory controller) and the SERDES circuitry at the network interface device (which provides the interface to the bus for the NIC). For a high speed network interface device, thousands of transmit and/or receive operations can be performed every second and the total power consumption of such an architecture can become very large. Similarly, the repeated memory accesses over the peripheral data bus introduces a significant latency to the transmit and receive operations performed by the network interface device.
0008For certain applications, System-on-a-Chip (SoC) devices have been developed which include a processing core and a network interface device, thus placing the network interface device closer to a memory accessible to the processor. For example, the STMicroelectronics STM32W family of SoC devices provides a 32-bit ARM processor and an integrated IEEE 802.15.4 radio. However, integrating a full network interface including a PHY into a processor substantially increases the power required by the processor and hence the amount of heat which must be dealt with at the processor. Furthermore, the signals handled at the PHY introduce a significant amount of additional electrical interference into the processor, making an SoC architecture unsuitable for a high speed CPU.
0009Improved architectures for allowing the components of a data processing system (such as a CPU and network interface device) to communicate with one another have been proposed, but none provide a low power architecture for a network interface having a low latency data path to host memory. Previous attempts to improve the architecture for internal communications within a data processing system include the IMS T800 Transputer presented in "<nplcit id="ncit0001" npl-type="b"><text>IMS T800 Architecture", INMOS Technical Note 6, INMOS Ltd, January 1988, which is published at http://www.transputer.net/tn/06/tn06.html</text></nplcit><u>.</u> Other such architectures are described in <nplcit id="ncit0002" npl-type="b"><text>Finn, Gregory G. "An Integration of Network Communication with Workstation Architecture", ACM Computer Communication Review, October 1991</text></nplcit>, and <nplcit id="ncit0003" npl-type="b"><text>Hayter, M., McAuley, D., "The Desk Area Network", ACM Transactions on Operating Systems, pp. 14-21, October 1991</text></nplcit>.
0010Previously proposed schemes describing Ethernet protocol encapsulation are described in <patcit id="pcit0001" dnum="US8930557B"><text>US patent numbers 8,930,557</text></patcit> and <patcit id="pcit0002" dnum="US8423675B"><text>8,423,675</text></patcit>.
0011<patcit id="pcit0003" dnum="US2008288661A"><text>US 2008/288661</text></patcit> discloses a method and system to map virtual I/O devices and resources to a standard I/O bus.
0012There is therefore a need for an improved network interface device architecture having lower power requirements and a lower latency data path to host memory.
SUMMARY OF THE INVENTION
0013According to a first aspect of the present invention there is provided an electronic device supported at a data processing system and presenting itself as a PCIe device to the data processing system, the data processing system comprising a central processing unit and a PCIe data bus, and the PCIe device having two components: a controller unit located at the central processing unit, the controller unit comprising at least some of the logical functionality of the PCIe device, and being operable to handle I/O requests for the electronic device; and a peripheral component accessible to the controller unit over the PCIe data bus; wherein the controller unit is configured to be responsive to I/O requests directed to the peripheral component.
0014Preferably the controller unit is allocated a hardware address range defining its control aperture and the peripheral component is configured to provide a Base Address Register indicating a range of hardware addresses that includes the base address of the control aperture of the controller unit such that I/O requests directed to the range of hardware addresses indicated by the Base Address Register are handled at the control aperture of the controller unit.
0015Suitably the peripheral component is additionally a component of one or more other PCIe devices and the peripheral component is configured to provide an additional Base Address Register for each other PCIe device, each additional Base Address Register being configured such that I/O requests directed to the range of hardware addresses indicated by that Base Address Register are handled at a respective controller unit of that other PCIe device.
0016Preferably the peripheral component is configured to forward interrupt configuration requests it receives to the controller unit for handling at the controller unit.
0017Preferably the peripheral component further provides a legacy Base Address Register supporting a set of legacy registers, the peripheral component being configured to, when a legacy register is read or written, map the read or write to the legacy register to a read or write to the control aperture of the controller unit such that legacy I/O requests directed to the set of legacy registers are handled at the control aperture of the controller unit.
0018Preferably the controller unit supports one or more control apertures, each control aperture being a physical address range, wherein software running at the central processing unit can interact with a device by reading from and writing to addresses within the control aperture.
0019Preferably a physical address range of a control aperture is allocated to the controller unit, and the software is configured to use the address range allocated to the controller unit to interact with the PCIe device.
0020Preferably the controller unit is configured to perform at least on of: reads or writes into a memory of the data processing system.
0021Preferably the controller unit is configured to access a cache of the central processing unit, said cache being configured to store copies of some of the data stored in the memory.
0022Preferably the peripheral component is one of a single root input/output virtualised PCIe device or a multi root input/output virtualised PCIe device supporting one or more physical functions and virtual functions.
DESCRIPTION OF THE DRAWINGS
0023The present invention will now be described by way of example with reference to the accompanying drawings, in which: <ul id="ul0001" list-style="none" compact="compact"><li><figref idref="f0001">Figure 1</figref> is a schematic diagram of a conventional network interface device coupled to a data processing system by means of a peripheral bus.</li><li><figref idref="f0001">Figure 2</figref> is a schematic diagram of a network interface device configured in accordance with the present invention.</li><li><figref idref="f0002">Figure 3</figref> is schematic diagram of a data processing system having a network interface device configured in accordance with the present invention.</li><li><figref idref="f0002">Figure 4</figref> is a schematic diagram of a data packet configured in accordance with the Ethernet-over-Interconnect data protocol.</li><li><figref idref="f0003">Figures 5a and 5b</figref> are schematic diagrams of multi-processor data processing systems having a network interface device configured in accordance with the present invention.</li><li><figref idref="f0004">Figure 6</figref> is a schematic diagram of a PCIe device having a split architecture in accordance with the teachings of the present invention.</li><li><figref idref="f0004">Figure 7</figref> is a schematic diagram of a controller unit configured in accordance with the present invention.</li><li><figref idref="f0005">Figure 8</figref> is a schematic diagram of a media interface configured in accordance with the present invention.</li><li><figref idref="f0006">Figure 9</figref> is a schematic diagram of a blade server having a media interface and multiple controller units configured in accordance with the present invention.</li></ul>
DETAILED DESCRIPTION OF THE DRAWINGS
0024The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art.
0025The general principles defined herein may be applied to other embodiments and applications without departing from the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
0026The present invention relates to a novel arrangement of a network interface device at a data processing system.
0027A network interface device and a processor configured in accordance with the present invention are shown in <figref idref="f0001">figure 2</figref>. Processor 202 is a central processing unit (CPU) suitable for use in a data processing system, such as a server or personal computer. The processor may comprise one or more processing cores within a single integrated circuit package (the cores may or may not be located on the same die). The network interface device comprises two units: a controller unit 203 located at processor 202 and having control logic for handling the transmission and reception of data packets over the network; and media interface unit 206 located at physical network link 210 and configured to provide a physical interface to network 209 for the processor. Processor 202 is coupled to the media interface unit 206 by means of an interconnect 208. The processor is configured to allow the controller unit to make use of interconnect 208.
0028Controller unit 203 is the controller circuitry of the network interface device formed by the controller unit and the media interface unit. The controller unit handles the logical aspects of transmit and receive operations such as: reading and writing data from and to host memory, forming data packets for transmission over a network in accordance with the protocol in use on the network (e.g. Ethernet); performing packet prioritization in accordance with one or more quality of service algorithms; and, determining the appropriate endpoint to which received data should be routed and routing the received data accordingly. The media interface unit performs the physical transmission and reception of data over the network under the control of the controller unit.
0029The media interface unit includes circuitry 207 configured to perform signalling at the physical layer over the network medium 210 (which could be an optical fibre or copper wire link). Such circuitry is typically provided as an integrated circuit and referred to as a PHY. The PHY is that part of the network interface device which forms the interface between link layer data packets and physical layer signalling over the network. For example, for an Ethernet network interface device the PHY performs physical layer signalling in accordance with IEEE 802.3.
0030Controller unit 203 is provided at the integrated circuit of processor 202 and not, as is conventional, at the network interface device. The processor and controller unit can therefore communicate directly because the data path between the two does not traverse an interconnect or any peripheral buses. This reduces the latency of communications between the processor and controller. Furthermore, the controller unit can benefit from the advanced process technology typically used in the fabrication of central processing units, reducing the die size and net power consumption of the network interface device and potentially allowing the circuitry to run at a higher clock speed. A higher clock speed has the benefit of reducing latency and increasing the maximum data transfer rate.
0031It is advantageous if interconnect 208 is a CPU interconnect or data bus native to the processor, such as a QuickPath Interconnect (QPI), HyperTransport (HT) or PCI Express (PCIe) link. This allows the controller unit to utilise the interconnect circuitry of the processor and does not require that the processor include additional circuitry for communications between the controller unit and the media interface. Furthermore, CPU interconnects typically offer high bandwidth and low latency as compared to peripheral data buses such as Peripheral Component Interconnect (PCI). Media interface 206 would in this case be configured to support communications over the CPU interconnect by providing it with the appropriate serialisation/deserialisation (SERDES) circuitry.
0032Alternatively, interconnect 208 can be a peripheral data bus, or a combination or two or more links coupled together by an optional I/O hub 205. For example, data transfers between the controller unit and media interface could be carried to and from the processor over a CPU interconnect such as HT and translated at an I/O hub for transmission over a peripheral data bus such as PCIe at which the media interface is supported. In a typical data processing system, an I/O hub would be provided at the chipset supporting processor 202.
0033If the media interface is supported at a peripheral data bus, the processor could be configured to include the necessary circuitry to allow it to communicate directly over that data bus. For example, if the media interface is provided on a PCIe data bus, the processor could be provided with circuitry accessible to the controller unit and configured to support PCIe communications to and from the processor.
0034<figref idref="f0002">Figure 3</figref> shows the use of a network interface device configured in accordance with the present invention in a data processing system. The processor of <figref idref="f0001">figure 2</figref> forms the central processing unit of the data processing system 201 having a memory 204 accessible to the processor by means of memory bus 211. The data processing system supports software configured to execute at processor 202 and make use of the network interface device (NIC) formed by controller unit 203 and media interface 206.
0035A data processing system as referred to herein may be any kind of computer, such as a server, blade, desktop machine or portable device. A data processing system comprises one or more processing cores (these will be referred to as processors, although each physical processor may in fact support multiple cores) and a memory directly accessible to the processor by means of a memory controller integral to the processor. Typical data processing systems can support one or more network interface devices, storage devices and other peripherals by means of appropriate buses and interconnects.
0036The data processing system can cause the network interface device to transmit data stored at memory 204 over the network. Similarly, on receiving data the network interface device can write received data to memory 204 at receive queues established by the data processing system. Since it is the controller unit which performs read/writes into the memory of the data processing system in order to effect the transmission/reception of data, significant performance advantages can be achieved by locating the controller unit at the processor. In particular, the controller unit of the network interface device is configured to use the memory management unit 212 of the processor and access memory 204 over the memory bus 211 of the processor. This reduces the latency associated with each transmit or receive operation.
0037Consider a transmit operation handled by a conventional network interface device 102 accessible to a processor 103 and memory 104 over a peripheral bus 106, as shown in <figref idref="f0001">figure 1</figref>. In order to transmit data over the network, the NIC typically (a) reads a descriptor from memory 104 identifying the location in memory at which the data for transmission is stored, (b) reads the identified data over the bus, and (c) transmits that data over the network. Each transmit operation therefore typically comprises two memory accesses, with a memory management unit at the I/O hub of the bus providing memory address translations. Furthermore, each memory access is performed over the peripheral bus.
0038In contrast, a controller unit of a network interface device configured in accordance with the present invention can perform a transmit operation by carrying out the following steps: <ol id="ol0001" compact="compact" ol-style=""><li>(i) reading the identifier from memory by means of the high speed memory bus 211 of the processor;</li><li>(ii) reading the identified data (typically held at a transmit queue) over the same high speed memory bus;</li><li>(iii) passing that data to media interface 206 over interconnect 208 and causing the media interface to transmit the data over the network.</li></ol>
0039Any memory address translations required by the controller unit can be provided by the memory management unit of the processor, which is generally significantly faster than requesting memory address translations from the I/O hub. In this manner the controller unit can access a transmit queue by means of a read request to the memory management unit. Generally, the controller unit can access at the memory data for transmission, meta-data identifying data for transmission and other control information (such as control of offload and caching options). It is further preferable if the identifier and data for transmission can be read directly from a CPU memory cache by means of a read request to the memory management unit, from which reads incur very low latency.
0040The benefits of the present invention are even greater if data transfers between the controller and media interfaces of the network interface device take place over a high bandwidth low latency CPU interconnect, and additionally extend to receive operations performed by the network interface device.
0041A particular advantage of placing a network interface device controller (the controller unit) at the CPU is that memory transfers between network endpoints supported at the same processor occur over a very low latency data path. Such a situation can occur frequently in virtualised data processing systems in which a plurality of guest operating systems are supported by a privileged mode domain, such as a hypervisor. Since each guest OS operates independently of the others, an application at one guest OS may not know whether a network endpoint to which it wants to transmit data is supported at the same processor, a different processor at the same server, or on a remote server accessible over the physical network itself. Thus, an application at one guest OS may request that the network interface device (formed by the controller unit and media interface) transmits data to a network endpoint which in actual fact is at another guest OS supported at the same processor. In this case (assuming the data processing system is not configured in accordance with the VEPA protocol) the controller unit identifies that the target network endpoint is one that it handles and writes the data to a receive buffer of the target endpoint. Network transfers between endpoints supported at the same processor do not therefore involve the media interface and can be effected by reading from a transmit buffer in host memory and writing to a receive buffer in the same host memory. Since such network data packets do not traverse the media interface, the data packets may be only partially formed.
0042Of course, in principle it would be possible to additionally integrate at the processor the media interface comprising the PHY of the network interface device - i.e. fully integrate the network interface device with the processor. However, this has several disadvantages: additional pins would be required at the CPU package, essentially requiring a new socket specification to be defined; it would increase the power required by the CPU and the amount of heat which must be dealt with at the CPU; the high speed signals handled at the PHY would introduce a significant amount of additional electrical interference into the CPU; and, it would be very difficult to handle remote system management and wake-on-LAN at the network interface device because in low power states of the data processing system the CPU is off.
Ethernet-over-Interconnect
0043Generally, a controller unit 203 is configured to substantially form network data packets in accordance with the link layer requirements of the relevant network protocol and the media interface 207 is configured to signal those data packets onto the network fabric in accordance with the physical layer requirements of the network protocol. Some link layer requirements could be left to the media interface, such as the calculation of checksums or other protocol processing typically performed at dedicated hardware at a peripheral network interface device.
0044In order to convey at least partially formed network data packets (i.e. the packets may be fragmented and/or have incomplete headers or other data structures) from the controller unit to the media interface, a protocol is proposed to encapsulate the network data packets in packets of the data protocol in use over the interconnect. This protocol will be referred to as Ethernet-over-Interconnect, or Eol, since in the preferred embodiment the network protocol is Ethernet. However, in alternative embodiments, the network interface device formed by the controller unit and media interface could support communications over a network fabric other than Ethernet, in which case the Eol protocol described above would instead define the encapsulation of data packets of that other protocol. For example, the network interface device formed by the controller unit and media interface could be an Infiniband network interface device, with the controller unit being configured to form Infiniband data link layer data packets and the media interface being configured to transmit the signals in accordance with the physical layer requirements of the Infiniband specification. The use of the term "Eol" herein therefore generally refers to a protocol governing the encapsulation of network data packets in data packets suitable for transmission between a controller unit and media interface over an interconnect within a data processing system.
0045The controller unit and media interface are configured to communicate data packets conforming to the data protocol(s) in use over the interconnect extending between them, the payloads of those data packets themselves conforming to the Eol protocol. Data packets transmitted over the interconnect would therefore typically have the nested structure shown in <figref idref="f0002">figure 4</figref>. Interconnect header 401 encapsulates Eol header 402 which in turn encapsulates at least part of a network data packet 403 formed at the controller unit. The headers may have corresponding footers 404, as required by the respective protocols.
0046As previously stated, it is preferred that the network interface device formed by controller unit 203 and media interface 207 is an Ethernet network interface device. The controller unit is therefore configured to substantially form Ethernet packets in accordance with the link layer requirements of IEEE 802.3 and the media interface is configured to signal Ethernet data packets onto the network fabric in accordance with the physical layer requirements of IEEE 802.3. The Ethernet packet would preferably include the Ethernet headers, but not include framing, preamble and CRC data which is calculated at the media interface.
0047In dependence on their relative packet sizes, a network data packet formed at the controller unit may span one or more interconnect data packets 400. The Eol header comprises the information required to correctly reassemble the parts of each network data packet and the destination device address. Each device on the interconnect has a device address to which interconnect data packets can be addressed. Preferably the Eol protocol supports control packets as well as data-path packets. Control packets would preferably be identifiable from their Eol header and allow the controller unit to configure, control and query the media interface. The media interface is configured to respond to queries from the controller unit with one or more control packets.
0048An Eol header of a data packet may further include additional information for use by intervening data bus switches, or controller units. Such information could include VLAN information, traffic class information and data packet priority information. This information could be mapped from the encapsulated network data packet (e.g. Ethernet).
0049For interconnect data protocols which strictly preserve the order of data packets between two endpoints, the Eol header could be dispensed with. In this case the media interface could be configured to reassemble network data packets by parsing incoming interconnect data packets for the start and end points of network data packets contained therein. In such an embodiment of the present invention control packets could be supported as a protocol encapsulated in the network data packets, or as a separate control channel encapsulated in the interconnect data packets.
0050Since Eol data packets conform to the data protocol in use over the interconnect, routing of the data packets is performed unchanged in dependence on the interconnect header. Data packets transmitted from the controller unit to the media interface or vice versa are therefore addressed to the target device at the interconnect level (typically through the use of physical device addresses). If the data must traverse more than one link between the controller unit and media interface, the I/O hub or interconnect switch coupling the two links performs any required address translation and may either (a) strip off the interconnect header from the initial link and replace it with an interconnect header in accordance with the protocol of the next link, or (b) encapsulate the interconnect data packet in accordance with the protocol of the next link. For example, if an Ethernet data packet is being sent from the controller unit to the media interface over initially a HyperTransport link to an I/O hub and then over a PCIe bus, the interconnect data packet would in the case of (a) have its HyperTransport header replaced with a PCIe header, or in the case of (b) have a PCIe header added encapsulating the HyperTransport data packet.
0051Importantly, because the controller unit and media interface exchange data with one another by means of Eol data packets, data link layer network data is transferred between the controller unit and media interface as interconnect data packets addressed (in the interconnect header) to the respective target device. For example, in order to perform a transmit operation over the network the controller unit would form a network data packet and cause that network data packet to be encapsulated and transmitted to the media interface in one or more interconnect data packets. The controller unit can therefore push data to the media interface by encapsulating the data in accordance with the Eol protocol and transmitting it onto the interconnect. This is to be contrasted with a conventional network interface device supported at a peripheral data bus which performs a transmit operation by requesting data for transmission from one or more addresses in host memory. In other words, a conventional network interface device must pull all the data it requires for a transmission operation from host memory, which is slower because the network interface device must first be told over the peripheral data bus which memory addresses contain the data for transmission.
0052The use of Eol allows symmetrical data transfers between the processor and media interface: when the processor has data to transmit over the network, it engages the controller unit to push that data to the media interface; when the media interface receives data over the network, the media interface pushes that data to the controller unit.
0053Furthermore, the provision of a controller unit at a processor and the use of the Eol protocol over an interconnect allows processors within a multi-processor data processing system to logically communicate at the CPU level by means of the network protocol supported by the controller unit (preferably Ethernet). However, communications between controller units does not take place at the speed of the network fabric to which the media interface provides an interface, but at the speed of the interconnect between the processors. The processors of such a data processing system form a mesh of processors logically interconnected by the network protocol and physically interconnected by relatively (compared with typical Ethernet links) high speed interconnects. Preferably these interconnects are CPU interconnects such as QPI, HyperTransport or PCIe, which provide high bandwidth and low latency links. Note that inter-processor communications handled in accordance with the network protocol need not involve the media interface and preferably take place directly between the controller units of the communicating processors, or within a single controller unit accessible to both processors.
0054It is also advantageous if a single media interface is configured to support the communications of multiple controller units of the multi-processors system. For a PCIe interconnect this can be achieved by using a PCIe media interface. This allows the one or more physical network ports to which a media interface provides an interface to be shared by multiple processors having controller units configured in accordance with the present invention. In a system with PCIe multi-root capability the media interface is preferably a PCIe MR-IOV device. A data processing system (multi-processor or otherwise) can support multiple media interfaces, each of which could provide access to a different network - a controller unit simply addresses whichever media interface is appropriate for the given communication operation.
0055The advantages of sharing a media interface between multiple controller units within a data processing system include reduced power requirements due to the need for fewer PHYs, and the requirement for fewer network switch ports for the data processing system.
0056Note that the routing of all Eol data packets is performed at the interconnect level. Each controller unit is configured to cause interconnect data packets to be formed with an appropriate interconnect header such that each network data packet reaches its target endpoint. For example, network data packets directed to a controller unit at another processor of a multi-processor system are encapsulated and routed over the interconnect (which may comprise one or more links, such as HyperTransport and PCIe links) to the controller unit of the other processor. Network data packets directed to a remote data processing system accessible over a network are encapsulated and routed over the interconnect to the appropriate media interface for transmission onto the network.
0057SERDES circuitry configured to perform the physical signalling of data packets over the interconnect is preferably provided at the processor. The controller unit and processor are configured so as to allow the controller unit to communicate data over the interconnect by means of the SERDES circuitry. Preferably the controller unit maintains one or more lookup tables which include the correspondence between network addresses and device addresses on the interconnect. For example, data packets directed to a network address on the network to which the media interface provides an interface would be directed to the device address of the media interface on the interconnect; data packets directed to a network address corresponding to an endpoint of an application executing on another processor would be directed to the device address of the controller unit of that processor. The device addresses may or may not be in the same address space as the physical memory of the data processing system.
0058Two implementations of an Ethernet network interface device configured in accordance with the principles of the present invention are shown in <figref idref="f0003">figures 5a and 5b</figref>.
0059In <figref idref="f0003">figure 5a</figref>, data processing system 501 comprises two processors 502, 503, each of which have controller units 504, 505. Media interface 508 is coupled to each processor by means of a CPU interconnect fabric 509, which could be a HyperTransport link.
0060In order for a first application executing at processor 502 to transmit data to a second application executing at processor 503, the first application makes a request for a transmission operation by the network interface device (formed by the controller unit and media interface) to an endpoint of the second application. This is typically effected by means of a software call from the first application to a device driver of the network interface device. Controller unit 504 forms an Ethernet data packet directed to the endpoint of the second application and causes the Ethernet data packet to be encapsulated in one or more interconnect data packets addressed so as to cause the interconnect data packets to be routed to controller unit 505 of processor 503. The interconnect data packets are routed directly between processors and not via the media interface. If required, controller unit 504 is configured to form an Eol header for the Ethernet data packet. At deserialisation circuitry of processor 503 the Ethernet data packet is extracted and the controller unit writes the data into the receive queue corresponding to the destination Ethernet address of the data packet.
0061Thus, a first application executing at processor 502 can transmit data to a second application executing at processor 503 in just the same way as if the second application were executing at a processor of a remote data processing system over network 510. However, because the Ethernet data packet is carried over a CPU interconnect between the processors, the data takes a low latency, high bandwidth data path. Note that <figref idref="f0003">figure 5a</figref> is purely schematic and the links between the various components of data processing system 501 may take any suitable configuration.
0062In <figref idref="f0003">figure 5b</figref>, data processing system 511 comprises two processors 512, 513, each of which have controller units 514, 515. This implementation is similar to the one shown in <figref idref="f0003">figure 5a</figref>, but in this case media interface 518 is a peripheral device supported on peripheral data bus 517, which could be a PCIe data bus. An I/O hub or switch 516 is therefore required to provide an interface between the peripheral data bus and each processor. Communications between processors 512 and 514 are preferably directly effected over interconnect fabric 519 (such as HyperTransport) in just the same way as described above for <figref idref="f0003">figure 5a</figref>. However, the interconnect between processor 512 and media interface 518 is formed of two links: a CPU data bus 520 (which could be a CPU interconnect such as HyperTransport, or another type of data bus such as a front side bus of processor 512) between the processor and I/O hub, and a peripheral data bus such as PCIe between the I/O hub and the media interface. Interconnect data packets destined for the media interface are transmitted onto the CPU data bus and then translated at the I/O hub into data packets suitable for transmission onto the PCIe bus. Preferably the CPU data bus is a CPU interconnect and, most preferably, the I/O hub is accessible to the processor via that CPU interconnect.
0063As mentioned above in relation to <figref idref="f0001">figure 2</figref>, a processor comprising a controller unit which forms part of a network interface device with a media interface supported at a peripheral data bus may itself include the appropriate SERDES circuitry to allow the processor to read and write directly to from and to the peripheral data bus. In the case in which the peripheral data bus is a PCIe data bus, the controller unit could itself be a PCIe device addressable over the PCIe data bus. An I/O hub is not required if the processor/controller unit can communicate directly over the peripheral data bus since, in order to communicate with a media interface, a controller unit could transmit suitable data packets encapsulating Ethernet data directly onto the peripheral data bus. A processor comprising a controller unit configured to communicate with a media interface as well as one or more other processors comprising controller units would therefore be capable of, in dependence on the destination of the data packet, encapsulating Ethernet data packets in data packets suitable for transmission over either a CPU interconnect or a peripheral data bus.
0064<figref idref="f0003">Figure 5b</figref> is purely schematic: each processor may have its own I/O hub and the links between the various components of data processing system 511 may take any suitable configuration.
0065Note that since data transfers between controller units at the same data processing system (e.g. processors at a multi-processor computer system or blade of a blade server) do not traverse the media interface, the encapsulated network data packets may not be fully formed in accordance with the link layer network protocol before arriving at the destination controller unit (checksums and other offloads could be performed at the media interface).
Split PCIe Device
0066A novel split PCIe device architecture will now be described which is the preferred architecture for a PCIe network interface device configured in accordance with the present invention.
0067It is advantageous if the network interface device formed by the controller unit and media interface appear to the data processing system (and software running on it) as a regular PCIe device. This helps to maintain compatibility with existing software and hardware. In some embodiments of the present invention PCIe host circuitry is not provided at the processor, and so the controller unit is not provided with any PCIe logic. In order to provide a PCIe network interface device for such a data processing system, the media interface is provided with the PCIe logic.
0068<figref idref="f0004">Figure 6</figref> shows a data processing system 600 comprising a PCIe device 601 (which may not be a network interface device) having two parts: a controller unit 602 at processor 603 and an interface unit 604 supported on PCIe data bus 605. The PCIe data bus is typically accessible to the processor by means of an I/O hub 608. The controller unit 602 comprises at least part of the logical functionality of the PCIe device and is configured to access memory 606 by means of an appropriate function of the processor (such as a memory management unit). Preferably the controller unit also has access to the cache 607 of the processor, which is configured to store copies of some of the data held at memory 606. The cache of a processor can be considered to be at its memory management unit (that part of the processor which provides access to host memory). It is advantageous to provide at the processor those functions of the device which benefit from low latency access to host memory 606 and processor cache 607.
0069Interface unit 604 is a PCIe device in the sense that it is physically supported at the PCIe data bus over which it can communicate by means of its PCIe host logic. Controller unit 602 is configured to support one or more control apertures. A control aperture is a physical address range that a device responds to - in other words, software running at the data processing system can interact with a device by reading from and writing to addresses within the device's control aperture(s).
0070Interface unit 604 is configured to support one or more Base Address Registers (BARs), which in accordance with the PCI Express specification represent the control apertures for a PCIe device. The Base Address Register (BAR) identifies the starting address of a control aperture. The base address of at least one of the BARs supported at the interface unit is configured to lie within the controller unit's control aperture such that when software running at the data processing system reads or writes into the address range advertised by the BAR of the interface unit, those reads or writes are actually directed to the control aperture of the controller unit. In other words, at least part of the physical address range advertised by the interface unit as being allocated to it is actually allocated to the controller unit.
0071Since host software running at the data processing system obtains the address range of the control aperture of the PCIe device from a BAR of that device, the host software will use the address range allocated to the controller unit to interact with the PCIe device formed of both the controller unit and the interface unit.
0072Typically, a Basic Input/Output System (BIOS) of the data processing system at which the PCIe device is supported allocates the address ranges to be used as control apertures by each device in the system and programs each device as necessary to use them. These actions can be performed at startup of the data processing system.
0073The controller unit is preferably configured to handle interrupts for the PCIe interface unit. Since host software programs perform the configuration of device interrupts at the peripheral PCIe device (in this case, the interface unit), this can be achieved by configuring the interface unit to forward updates to its interrupt registers to the controller unit so that the controller unit can directly raise interrupts at the processor itself.
0074Further provision may be made to allow a split PCIe device as described above to support legacy I/O BARs. Legacy I/O BARs allow PCIe devices to be backwards compatible with legacy reads and writes directed to legacy device address ranges. These can be handled by configuring the interface unit to provide an indirection for reads and writes directed to the legacy I/O BAR onto a control aperture of the controller unit.
0075The registers of the legacy I/O BAR are arranged to receive reads and writes to the legacy registers of the network interface device and map those reads and writes into reads and writes to a control aperture of the controller unit. The mapping of reads and writes to legacy registers of the interface unit into reads and writes to the control aperture of the controller unit may be a direct correspondence, an indirect mapping or some other mapping. There can be separate indirections for each read and write, or indeed multiple indirections for each read and write to a register of the legacy I/O BAR.
0076A legacy read or write to a legacy register of an interface unit as described herein therefore becomes a memory read or write over the PCIe bus (and possibly additional interconnect links to reach the processor) to the controller unit. This avoids the need for logic at the interface unit configured to handle legacy I/O reads and allows the controller unit to maintain control of reads and writes to the PCIe device.
0077The interface unit may be a single root input/output virtualised (SR-IOV) or multi root input/output virtualised (MR-IOV) PCIe device supporting one or more physical functions (PFs) and virtual functions (VFs).
0078For certain types of split PCIe device in a multi-processor data processing system or blade server, an interface unit may be configured to support multiple controller units, with each controller unit being at a different processor. The interface unit 604 is therefore configured to support one or more BARs for each controller unit, the base address of at least one of the BARs for a particular controller unit being configured to lie within the control aperture of that controller unit. Similarly, an interface unit can be configured to handle legacy I/O BARs for multiple controller units in the manner described above.
0079Note that the interface unit preferably further supports config accesses, VPD (Vital Product Data) and the boot ROM for the device.
0080As applied to a PCIe network interface device configured in accordance with the present invention, interface unit 604 is the media interface and controller unit 602 is the controller unit. In the preferred embodiments of the present invention the controller units and media interfaces described herein with respect to <figref idref="f0001 f0002 f0003 f0004 f0005 f0006">figures 2 to 9</figref> are PCIe devices having a split PCIe device architecture.
Implementations of a controller unit at a processor
0081A schematic diagram of a preferred implementation of a controller unit at a processor is shown in <figref idref="f0004">figure 7</figref>. As described in relation to <figref idref="f0001">figures 2</figref> and <figref idref="f0002">3</figref>, controller unit 702 is configured to handle the logical aspects of transmit and receive operations and is a controller of the network interface device formed by the controller unit and a media interface, which provides physical access to the network. Controller unit 702 is supported at a processor 701, which is the central processing unit (CPU) of a data processing system and therefore has access to host memory 703 and at least one data bus 709 (e.g. a CPU interconnect) by means of which the devices of the data processing system are accessible (such as a media interface on a peripheral data bus). Memory 703 may be accessible to the processor over a dedicated data bus 708. Further memory may be accessible to the processor over data bus 709. Data buses 708 and 709 may be one and the same data bus. Note that processor 701 may comprise multiple processing cores which share a single controller unit 702.
0082The controller unit further comprises encapsulation circuitry 711 configured to perform (a) the encapsulation of network data packets formed at the controller unit in data packets suitable for transmission over data bus 709, and (b) the extraction of network data packets from data packets received over data bus 709. This encapsulation and extraction of network data packets is performed in accordance with the Eol protocol described above in relation to <figref idref="f0002">figure 4</figref>.
0083Processor 701 preferably includes at least one cache 705 configured to store copies of data retained in host memory including 703. Cache 705 of a processor can be considered to be at memory management unit 704. The cache provides low latency access for the processor to data required during its operation. Most preferably the cache is an on-chip cache shared by all of the processing cores of the CPU. It is advantageous to configure the processor to allow the controller unit to access cache 705 so that the controller unit can access data with even lower latency than over memory bus 708.
0084A CPU often performs at least some of the data and protocol processing of network data packets being formed for transmission over a network due to the processor supporting the threads of the software applications and network stacks handling the network protocols in accordance with which the data packets are being formed. Such software network stacks typically perform the initial formation of data packets at higher layers of the OSI model (such as TCP/IP data packets), before passing the partially-formed data packets to the network interface device for completion of the network data packets at lower layers (such as Ethernet) and hardware offloads (such as TCP checksum offload). Since the cache of a CPU typically comprises data frequently or recently used by the processor, there is therefore a good likelihood that at least some of the data required by a controller unit to complete a given network data packet will be found at the cache.
0085As a result, it is advantageous if controller unit 702 is configured to, when requiring data from host memory, first access the cache for that data and, if the data is not to be found at the cache, subsequently read the data from host memory. In particular, it is preferable if the controller unit is configured to first access the cache for packet data stored at a transmit queue in host memory. The controller unit is preferably configured to, if the packet data required by the controller unit is not found at the cache, not copy that data into cache 605 when it is read from the host memory. Because transmit data is not usually required again by the controller unit or processor once it has been transmitted, this avoids polluting the cache with data which is unlikely to be subsequently required. The controller unit is preferably configured to, if the packet data required by the controller unit is found at the cache, cause the cache lines at which the packet data is resident in the cache to be invalidated. Since the packet data is unlikely to be subsequently required by the controller unit or processor, this frees up space in the cache and avoids write-backs of packet data to the host memory, which saves bus and memory bandwidth. Most preferably the decision whether or not to invalidate cache lines is made under the control of software.
0086Similarly, on data packets being received over the network, it is the network interface device which typically processes received data packets at the lower network protocol layers before writing data in the packets into host memory to allow a software network stack executing at the processor to complete protocol processing of the received data packets. One or more processes of a software network stack are therefore likely to access data of a received data packet when the network stack performs protocol processing of that data packet. It is therefore advantageous if the controller unit is configured to, on writing received packet data to host memory, write at least some of that data into the cache where it can be accessed more efficiently (than in host memory) by processes subsequently executing at the processor. The controller unit may be configured to write only selected parts of a received data packet to the cache, the selection preferably being determined by the protocol(s) with which the data packet is in accordance. The selected parts of the received data packet could be the headers of the data packet. The controller unit could be configured to, for data packets of a predetermined set of network protocols, not write any parts of the data packets to the cache. Most preferably the controller unit is configured by management software in dependence on the configuration of software processes running on the data processing system.
0087In relation to control data in particular, it is preferable that the controller unit is configured to first access the cache when performing a read of control data and to write control data to the cache when performing a write of control data to the host memory. Control data can include descriptors, notification events and data from address translation tables and forwarding tables. Forwarding tables typically comprise information which determines how a network interface device is to handle: (a) received network data packets (i.e. to which receive queue(s) data of a received data packet should be delivered, and/or to which other network devices the data packet should be sent) and (b) network data packets for transmission (e.g. which destination address information to write to a data packet so as to cause that data packet to be routed to the appropriate endpoint). Preferably forwarding tables 706 and address translation tables 707 required by the controller unit are stored at host memory 703 rather than at a dedicated memory of the controller unit. This allows the controller unit to take up less room on the processor die and does not adversely affect the performance of the network interface device since the controller unit has access to the processor's low latency connection to host memory and cache. Generally, the controller unit stores its state in host memory. Alternatively, the controller unit could be provided with its own dedicated Level 1 cache 710 in which to store control data for data flows handled by the controller unit.
0088For a conventional network interface device supported at a peripheral data bus, memory address translations between the physical and virtual domains of a data processing system are typically performed at an I/O Memory Management Unit (IOMMU) on the data path between the network interface device and host memory. Since a controller unit is located at the processor and not at a peripheral device, an IOMMU (if present) does not lie between the controller unit and host memory. It is therefore preferred that the controller unit is configured to use the memory management unit (MMU) 704 of the processor for address translations. The memory management unit is arranged to perform memory address translations for reads and writes issued by the controller unit from and to host memory. Providing the controller unit with access to the MMU allows the controller unit to handle virtual memory addresses. This means that both trusted software domains (such as a kernel or hypervisor) and untrusted software domains (such as a guest operating system or application) can identify host memory buffers to the controller unit (such as a transmit queue) because the controller unit can use both physical and virtual memory addresses. Furthermore, providing the controller unit with access to the MMU of the processor avoids requiring the controller unit to manage separate I/O address spaces and simplifies the implementation of direct device access by untrusted software domains in virtualised systems and systems which utilise user-level networking.
0089In order to allow the MMU to perform address translations on behalf of the controller unit, the controller unit maintains a correspondence between each virtual network interface device (VNIC) of the physical network interface device represented by the controller unit and the address space of the respective virtualised domain for which the VNIC has been allocated. This enables the controller unit to identify to the MMU to which virtual address space a memory read or write relates.
0090In order to prevent devices overwriting data in a transmit queue at host memory, a data processing system is usually configured to pin a page of memory when data for transmission has been written to that page of memory. This reserves the memory page and prevents the page from being reassigned. Such pinning is not necessary for transmit operations performed by a network interface device configured in accordance with the present invention. It is instead preferred that memory pinning is not performed and, if an address translation fails (e.g. because the memory page has been written to a page file at a storage device and reassigned), the MMU is configured to raise an error to indicate that the virtual address is not present in host memory. A translation failure is therefore handled as a page fault by the processor.
0091This allows failures in translation to be handled at a data processing system in the following manner. When the controller unit issues reads for transmit queue data at host memory that are translated by the MMU and the translation fails, the MMU raises a page fault error at the controller unit for the page of memory to which the read relates. In response, the controller unit pauses the transmit queue associated with the transmit operation to which the read relates, and sends a notification to a software entity (typically a device driver of the network interface device). Software causes the page to be made available in memory (this is typically handled by a privileged mode software entity - such as part of the kernel or hypervisor - of the data processing system). Once the page has been made available the software handling the transmit operation un-pauses the transmit queue and causes the controller unit to retry issuing the read and continue with processing data at the transmit queue.
0092By reducing the amount of memory that needs to be pinned, the privileged software (such as the kernel or hypervisor) which manages the host memory has more freedom to write pages out of the memory back into the data store (such as a page file at a non-volatile storage device). The above mechanism does not introduce any further complexity into the MMU and reduces complexity and the CPU overhead on the transmit path because no pinning operations are required.
0093The pinning of buffers at host memory can also be minimised during receive operations by maintaining a pool of pinned receive buffers at host memory to which data received at the controller unit can be written to in case of a failed translation of the target address of the data. This removes the need to pin the pages of receive queues at host memory. Preferably, when the controller unit issues writes of received packet data to a receive queue in host memory and the translation of the target address in that receive queue fails at the MMU, the received packet data is written to an alternative buffer in host memory which is reserved as a fall-back for received data packets which cannot immediately be written to the appropriate receive queue. This is important because, unlike in the case of packet transmission, it is not possible to pause a receive queue until the address translation succeeds - new data packets may be received for the receive queue at any time. After writing the received data packet to the alternative buffer, the controller unit continues processing received data packets, issuing write requests as appropriate in order to copy the received data into its respective receive queue.
0094When an address translation fails, software handling the receive operation at the data processing system is notified by the controller unit and responds by re-allocating one or more memory pages for use by the respective receive queue. The software also accesses the alternative buffer in order to process the received data packet which could not be written to its receive queue. There could be a set of pinned alternative buffers for each software domain of the data processing system.
Implementations of a media interface
0095As described above in relation to <figref idref="f0001">figures 2</figref> and <figref idref="f0002">3</figref>, a media interface provides the physical interface to a network for a controller unit. A media interface may be supported on a peripheral data bus such as PCIe, or may be directly coupled to a processor comprising a controller unit by means of a CPU interconnect. Since packet-based routing is employed on the interconnect(s) between the controller unit and media interface, a single media interface is preferably operable to support transmission and reception operations for multiple controller units.
0096<figref idref="f0005">Figure 8</figref> shows a schematic diagram of a media interface configured in accordance with the present invention. Media interface 801 comprises a PHY 802 configured to perform the physical signalling of data packets over network 803 and encapsulation circuitry 805 configured to allow the media interface to communicate network data packets over data bus 809. Encapsulation circuitry 805 is configured to perform (a) the encapsulation of network data packets received over the network in data packets suitable for transmission over data bus 809 to a controller unit, and (b) the extraction of network data packets for transmission over the network from data packets received over data bus 809 from a controller unit. This encapsulation and extraction of network data packets is performed in accordance with the Eol protocol described above in relation to <figref idref="f0002">figure 4</figref>.
0097It is advantageous if the media interface includes a management controller 806 for the network interface device. Management controllers allow the network interface device to be remotely managed by means of commands received over the network. By locating a management controller at the media interface, the management controller can remain powered during low power states of the data processing system when the processor is powered down. The management controller could be configured to communicate with a baseboard management controller (BMC) at the baseboard of the parent data processing system. This allows the data processing system to be remotely managed by commands received over the network, as is well known in the art. In systems having multiple controller units sharing a media interface, management controller 806 is configured to handle management commands on behalf of all controller units.
0098It is common for the calculation of checksums to be offloaded to a peripheral network interface device where they can be efficiently performed at dedicated circuitry, such as a state machine. A media interface preferably includes circuitry 807 configured to perform checksum calculations appropriate to the network protocol in use over the network - for example, for an Ethernet network the checksum would be a 32 bit CRC checksum.
0099In general, the media interface performs the functions specific to the network protocol (e.g. Ethernet) in use over the network. Most other functions are performed at the controller unit. However, it is often advantageous for certain logical operations to be performed at the media interface, close to the physical network port 804. To give some examples, the division of functionality between a controller unit and media interface for the following protocols is preferably: <ol id="ol0002" compact="compact" ol-style=""><li>i. link layer flow control such as IEEE 802.1Qbb (Per-Priority Pause) is preferably performed at a media interface;</li><li>ii. IEEE 802.1Qaz (Enhanced Transmission Selection) is preferably implemented at the controller unit;</li><li>iii. IEEE 802.1Qau (Congestion Notification) is preferably implemented at both the controller unit and the media interface.</li></ol>
0100It is preferable that other functions and any protocol processing offloaded from software network stacks running on the parent data processing system are performed at the controller unit. This includes: <ol id="ol0003" compact="compact" ol-style=""><li>a. Checksum offloads for protocols such as IP, TCP, UDP, iSCSI and Fibre Channel over Ethernet (FCoE)</li><li>b. TCP offloads, processing for the iWARP architecture</li><li>c. iSCSI, FCoE offloads</li><li>d. TCP segmentation offloading (TSO), large receive offload (LRO) and receive side scaling (RSS)</li><li>e. NIC virtualisation</li></ol>
0101In some embodiments the media interface does not include a PHY, which is instead accessible to and controlled by the media interface over an interface. For example, the media interface could be integrated with a chipset (e.g. at an I/O hub) supporting the processor which comprises the controller unit, and the PHY could be located at the physical network port of the data processing system. Such media interfaces operate as described herein but with the physical signalling being performed under the control of the media interface at a PHY separate from the media interface integrated circuit itself.
Application to a blade server
0102A split network interface device configured in accordance with the present invention finds particular application in a blade server. A blade server is a modular computer system design having multiple blades, each of which supports one or more processors, a memory and an I/O interface for communication with other blades and a chassis. Generally, the I/O interface of each blade is provided by a network controller utilising a high speed serial data interface, such as an IEEE 10GBASE-KR interface, at the physical layer. The chassis typically supports a switch to connect the blades and to provide access to the wider network for the blades of the blade server. Alternatively the I/O interface of each blade is provided by a peripheral data bus, such as PCIe, and the blades share one or more network controllers located at the chassis. In such blade servers the network controllers are typically PCIe MR-IOV devices.
0103Each blade is a data processing system in its own right and can support one or more operating systems - generally a blade has a virtualised architecture in which there are multiple guest operating systems (e.g. virtual machines) supported by a privileged mode software domain (e.g. a hypervisor). A single blade server can therefore support many operating systems, each of which in turn can support multiple applications wishing to communicate with other applications executing at other processors within a blade, at processors on other blades, or on other servers or blade servers accessible over a network.
0104A schematic diagram of a blade server configured in accordance with the present invention is shown in <figref idref="f0006">figure 9</figref>. The blade server 900 comprises multiple blades 901, 914 each having one or more processors 701 which include a controller unit 702. A blade also includes one or more memories 703 accessible to the processor(s). The blades are supported at a chassis 902 which includes a media interface 801 operable to provide access to a network 913. The media interface is configured to provide access to network 913 for multiple blades of the blade server. In other words, a controller unit at any of the processors on any of the blades of the server can be configured to communicate by means of the media interface. Chassis 902 could include multiple media interfaces, each of which might provide access to, for example, a different network or subnet.
0105The processors of a multi-processor blade are connected by a CPU interconnect such as HyperTransport or QPI. This allows the controller units to communicate directly with one another by means of the high speed CPU interconnect, as is described above in relation to <figref idref="f0003">figure 5a</figref>. The media interface is supported at a data bus 916 of the blade server, such as PCIe, which also forms the interconnects between the blades of the blade server. Each blade may include one or more I/O hubs 909 to allow each processor to communicate over the data bus. Most preferably each processor supports an interface to the data bus, in which case I/O hub(s) 909 are not required.
0106By providing the media interface with one or more forwarding tables which identity the set of network endpoints that each controller unit supports, the media interface can be configured to perform the internal routing of data between network endpoints on different blades of the blade server. For example, if the data bus is a PCIe data bus, the media interface could be an MR-IOV PCIe device configured to support multiple PCIe roots (typically one per blade). On receiving an Eol encapsulated network data packet over the PCIe bus from a controller unit at a first blade for a network endpoint supported at a processor at a second blades, the media interface would, using the forwarding tables, determine that the network endpoint is supported at a controller unit of the second blade and then route the network data packet over the PCIe data bus to that controller unit. In this manner, the media interface could handle the routing of data packets at the network protocol level (e.g. link layer Ethernet) between blades of the blade server as well as between the network and the blades.
0107However, it is preferable if data bus switch 911 is provided at the chassis in order to perform the internal routing of data between the blades of the blade server, rather than leaving the media interface to perform inter-blade routing. This means that internal data transfers between blades of the blade server do not have to traverse the connection of the media interface to the data bus, which is a particular bottleneck if the media interface is configured to perform all routing. Preferably, the data bus is a PCIe data bus and the switch is a PCIe switch. A PCIe switch can provide a very large bandwidth in comparison to performing switching at an individual PCIe device (such as a media interface) or external to a data processing system at an edge switch on network 913 (e.g. if the blade server were configured in accordance with the Virtual Ethernet Port Aggregator protocol, or VEPA).
0108In a first embodiment, data bus switch 911 is configured to perform routing of data packets on data bus 916 in dependence on the address information in the headers of the data bus packet - i.e. at the level of the data protocol in use over the data bus. Since the routing is performed by the switch at the level of the data bus protocol, the latency of internal data transfers is improved. However, such an arrangement requires that each forwarding table 706 of each controller unit 702 comprises the correspondence between the device addresses of each controller unit of the blade server and the addresses of the network endpoints supported by each of the controller units. This allows each controller unit to determine if a particular network endpoint is supported at the blade server and to address each data packet sent over the data bus accordingly.
0109For example, suppose an application at a processor of a first blade has data to transmit to an application at a processor of a second blade, the blades and media interface being interconnected by a PCIe data bus and providing an interface to an Ethernet network. The controller unit of the first processor forms an Ethernet data packet directed to the endpoint of the application at the processor of the second blade. In forming one or more Eol PCIe data packets encapsulating the Ethernet data packet, the controller unit will lookup in its forwarding table the device address for the controller unit at the processor of the second blade and insert that device address into the routing information of the PCIe data packet(s). On arrival at the PCIe switch, the switch identifies the target device (the controller unit at the processor of the second blade) and routes the PCIe data packet(s) accordingly. Note that if the network endpoint is not supported at the blade server (i.e. it is a remote network address), the controller unit would use the device address of the media interface.
0110In a preferred second embodiment, data bus switch 911 is configured to handle the routing of data packets at the network protocol level (e.g. link layer Ethernet) between blades of the blade server. The data bus switch is therefore configured to parse at least some of the header information of the network data packet encapsulated within Eol PCIe data packets received at the switch. Only the switch is required to support a forwarding table comprising the correspondence between the device addresses of each controller unit of the blade server and the addresses of the network endpoints supported by each of the controller units. If within a blade data is to be routed between controller units without traversing the switch, each controller unit need only support a forwarding table for the network endpoints supported at its blade. This reduces the size of the forwarding tables required for each controller unit and simplifies the control plane of the blade server.
0111For example, suppose an application at a processor of a first blade has data to transmit to an application at a processor of a second blade, the blades and media interface being interconnected by a PCIe data bus and providing an interface to an Ethernet network. The controller unit of the first processor forms an Ethernet data packet directed to the endpoint of the application at the processor of the second blade. In forming one or more Eol PCIe data packets encapsulating the Ethernet data packet, the controller unit recognizes that the Ethernet address to which the data packet is to be directed is not supported at the first blade and, as a result, will insert the device address of the PCIe switch into the routing information of the PCIe data packet(s). On arrival at the PCIe switch, the switch parses the PCIe data packet(s) and identifies the target Ethernet address from the network data packet contained therein. The switch then looks-up in its forwarding table the device address corresponding to the target Ethernet address (i.e. the controller unit device at the processor of the second blade which supports that Ethernet address) and updates the PCIe data packet header accordingly before pushing the data packet onto the appropriate PCIe data bus.
0112The second embodiment also improves performance for multicast traffic because such traffic only needs to be transferred from a controller unit or media interface to a data bus switch once: the switch will transmit the multicast traffic onto each of the appropriate endpoints. In the first embodiment a controller unit must individually transmit multicast traffic to each recipient in the blade server because routing at the switch is performed at the data bus layer.
0113It is advantageous if the media interface is a PCIe device and the data bus interconnecting the blades is a PCIe data bus because this generally reduces the number of PHYs required in comparison to a conventional blade server architecture, and hence reduces the power requirements of each blade. A conventional blade server typically has a serial I/O interface (PHY #1) to the backplane at each blade, with each I/O interface being supported at the blade by a PCIe bus (PHY #2). By using the PCIe data bus as the backplane of the blade server, PHY #1 is no longer required.
0114Most preferably the media interface is an MR-IOV PCIe device that supports the communications of each controller unit at the blade server. In other words, the MR-IOV media interface supports at least one physical function (PF) or virtual function (VF) for each blade of the blade server. It is most straightforward if each blade is assigned a PF and each controller unit of a blade is assigned a VF belonging to the PF of that blade. However, as will be apparent to a person of skill in the art of peripheral devices, other arrangements can be used.
0115Note that either a switch or mesh topology could be used for the connections between blades.
0116The essential blade server architecture described herein is compatible with either the Virtual Ethernet Bridge (VEB) or Virtual Ethernet Port Aggregator (VEPA) protocols. In the case of VEB, data transfers between network endpoints at the blades of a blade server operate as described above. In the case of VEPA, all switching between endpoints - even those supported at the same processor - is performed at an edge switch on network 913. If a VEPA protocol is imposed, the controller units, data bus switch and media interface are configured to pass all network data packets via the media interface to the relevant edge switch.
0117The data bus switch may or may not form part of the same integrated circuit as the media interface.
0118The embodiments described herein with reference to blade systems apply equally to other multi-processor systems which do not have physical blades but which nonetheless can be considered to comprise multiple data processing systems.
0119Note that in any embodiment described herein a media interface can support one or more physical network ports.
Contents4
6 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6
Every citation, both ways
| Document | Relation | Office |
|---|---|---|
| US2008288661A1 | Cites | United States of America |
| BINKERT N L ET AL: "Performance Analysis of System Overheads in TCP/IP Workloads", PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2005. PACT 2005. 14 TH INTERNATIONAL CONFERENCE ON ST. LOUIS, MO, USA 17-21 SEPT. 2005, PISCATAWAY, NJ, USA,IEEE LNKD- DOI:10.1109/PACT.2005.35, 17 September 2005 (2005-09-17), pages 218-230, XP010839878, ISBN: 978-0-7695-2429-0 | Non-patent | – |
14 members in 4 offices
Priority claims8
| Document | Office | Kind | Date |
|---|---|---|---|
| 0913231 | United Kingdom | – | |
| 0913231 | United Kingdom | A | |
| 0917630 | United Kingdom | – | |
| 0917630 | United Kingdom | A | |
| 289323P | United States of America | – | |
| 28932309 | United States of America | P | |
| 13199318 | European Patent Office (EPO) | A | |
| 10170335 | European Patent Office (EPO) | A |
Members14
| Document | Office | Kind | |
|---|---|---|---|
| GB0913231D0 | United Kingdom | D0 | |
| GB0917630D0 | United Kingdom | D0 | |
| US2011029734A1 | United States of America | A1 | |
| EP2284717A1 | European Patent Office (EPO) | A1 | |
| CN101990002A | China | A | |
| EP2284717B1 | European Patent Office (EPO) | B1 | |
| EP2722771A1 | European Patent Office (EPO) | A1 | |
| US9256560B2 | United States of America | B2 | |
| EP2722771B1 | European Patent Office (EPO) | B1 | |
| EP3125127A2 | European Patent Office (EPO) | A2 | |
| EP3125127A3 | European Patent Office (EPO) | A3 | |
| EP3133499A1 | European Patent Office (EPO) | A1 | |
| EP3125127B1 | European Patent Office (EPO) | B1 | |
| EP3133499B1This record | European Patent Office (EPO) | B1 |
74 legal events, as 9 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Change of representativeR082 | R082 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Opt-out of the competence of the unified patent court (upc) registeredP01 | P01 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed because of non-payment of the annual feeLapsedMM | MM | BE | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent ceasedCeasedPL | PL | CH | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Information on lapse in contracting state deletedLapsedPG2D | PG2D | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| No opposition filed against granted patent, or epo opposition proceedings concluded without decisionGrantedR097 | R097 | DE | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Deletion acc. to par. 5 (withdrawal of the translation of the ep patent)MK05 | MK05 | AT | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Invalidated european patentMG4D | MG4D | LT | |
| Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)REGISTERED BETWEEN 20200109 AND 20200115732E | 732E | GB | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent invalid in the netherlands as no translation has been filedMP | MP | NL | |
| Change of applicant/patenteeR081 | R081 | DE | |
| Change of representativeR082 | R082 | DE | |
| European patents granted designating irelandGrantedFG4D | FG4D | IE | |
| Reference to at number (ep patent validated in austria)REF | REF | AT | |
| Dpma publication of mentioned ep patent grantGrantedR096 | R096 | DE | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: THE PATENT HAS BEEN GRANTEDSTAA | STAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Intention to grant announcedINTG | INTG | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: GRANT OF PATENT IS INTENDEDSTAA | STAA | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting states (corrected)RBV | RBV | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: REQUEST FOR EXAMINATION WAS MADESTAA | STAA | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: THE APPLICATION HAS BEEN PUBLISHEDSTAA | STAA | EP |
Numbers
- Publication
- 3133499
- Application
- 161893953
Titles3
- German
- STEUERGERÄTEINTEGRATION
- English
- CONTROLLER INTEGRATION
- French
- INTÉGRATION DE CONTRÔLEUR
Classification
- CPC, 7
- G06F13/385
- H04L12/4633
- H04L49/90
- H04L61/2596
- H04L69/22
- G06F13/4295
- H04L2101/622
- IPC, 2
- G06F13 38
- G06F13 42
Designated states37
- Contracting states, 37
- Albania
- Austria
- Belgium
- Bulgaria
- Switzerland
- Cyprus
- Czechia
- Germany
- Denmark
- Estonia
- Spain
- Finland
- France
- United Kingdom
- Greece
- Croatia
- Hungary
- Ireland
- Iceland
- Italy
- Liechtenstein
- Lithuania
- Luxembourg
- Latvia
and 13 moreShow fewer
- Monaco
- North Macedonia
- Malta
- Netherlands (Kingdom of the)
- Norway
- Poland
- Portugal
- Romania
- Sweden
- Slovenia
- Slovakia
- San Marino
- Türkiye
