Distributing functions in a distributed and embedded environment
AssigneeInternational Business Machines Corporation
InventorsJosep Cors, David R. Engebretsen, David L. Hermsmeier, Adam C. Lange-Pearson, Ward R. Nelson
Life of this patent
Estimating the term…
Abstract
The different switch modules making up a distributed virtual switch may route configuration commands for hardware resources to different modules within the distributed switch using a distribution and routing layer. At least one of the switch modules maintains a routing table that defines which switch modules are responsible for which hardware resources. The switch module uses the routing tables to forward the commands on the distribution and routing layer to the responsible switch module which then ensures that the relevant hardware resources are configured.
Claims15
A computer program product for routing commands in a distributed switch that includes a plurality of switch modules, the computer program product comprising:
- a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code configured to:
- receive a command on a first switch module of the plurality of switch modules, the command instructing the distributed switch to configure a data transfer speed setting for a first one of a plurality of hardware elements in the distributed switch;
- determine a target switch module of the plurality of switch modules that is responsible for the first hardware element based on a routing table, wherein the routing table comprises a list assigning each of the plurality of hardware elements to a respective one of the plurality of switch modules;
- route the command from the first switch module to the target switch module, wherein the plurality of switch modules is interconnected within the distributed switch by a fabric;
- forwarding the command to a hardware interface layer on the target switch module, wherein logic in the hardware interface layer is configured to communicate with a register that stores the data transfer speed setting of the first hardware element;
- and
- configure the first hardware element using the target switch module based on the received command, wherein the first hardware element is not physically located on the target switch module.
A system, comprising:
- a computer processor;
- and
- a memory containing a program that, when executed on the computer processor, performs an operation for routing commands in a distributed switch that includes a plurality of switch modules, comprising:
- receiving a command on a first switch module of the plurality of switch modules, the command instructing the distributed switch to configure a data transfer speed setting for a first one of a plurality of hardware elements in the distributed switch;
- determining a target switch module of the plurality of switch modules that is responsible for the first hardware element based on a routing table, wherein the routing table comprises a list assigning each of the plurality of hardware elements to a respective one of the plurality of switch modules;
- routing the command from the first switch module to the target switch module, wherein the plurality of switch modules is interconnected within the distributed switch by a fabric;
- forwarding the command to a hardware interface layer on the target switch module, wherein logic in the hardware interface layer is configured to communicate with a register that stores the data transfer speed setting of the first hardware element;
- and
- configuring the first hardware element using the target switch module based on the received command, wherein the first hardware element is not physically located on the target switch module.
A system, comprising:
- a computer processor;
- and
- a memory containing a program that, when executed on the computer processor, performs an operation for routing commands in a distributed switch that includes a plurality of switch modules, comprising:
- receiving a command on a first switch module of the plurality of switch modules, the command instructing the distributed switch to configure a data transfer speed setting for a first one of a plurality of hardware elements in the distributed switch;
- determining a target switch module of the plurality of switch modules that is responsible for the first hardware element based on a routing table, wherein the routing table comprises a list assigning each of the plurality of hardware elements to a respective one of the plurality of switch modules, and wherein each of the plurality of switch modules include a coherent copy of the routing table;
- routing the command from the first switch module to the target switch module, wherein the plurality of switch modules is interconnected within the distributed switch by a fabric;
- forwarding the command to a hardware interface layer on the target switch module, wherein logic in the hardware interface layer is configured to communicate with a register that stores the data transfer speed setting of the first hardware element;
- and
- configuring the first hardware element using the target switch module based on the received command, wherein the first hardware element is not physically located on the target switch module.
Dependencies are inferred from the claim text.