Switching device, computer system, method, and program
Abstract
Provided is a switching apparatus including a processor that allows the switching apparatus to function as: an analysis unit that is configured to extract a header of a received packet and to acquire information of the header; a determination unit that is configured to determine an operation for the packet according to information of a type, request source, and destination of a request included in the header; and an execution unit including a means that is configured to execute, in accordance with the determined operation, at least one of processing for responding to the request included in the packet, processing for rewriting the packet, and processing for transmitting the packet.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A switching apparatus within a fabric, the switching apparatus comprising:
a processor configured to:
extract a header of a received packet and acquire information of the header;
determine an operation for the packet according to information of a type, request source, and destination of a request included in the header; and
execute, in accordance with the determined operation, at least one of processing for responding to the request included in the packet, processing for rewriting the packet, and processing for transmitting the packet,
wherein the processor is further configured to execute at least one of:
processing for registering an identifier of a packet and an identifier indicating an operation executed for the packet,
processing for setting a configuration of a virtual I/O device in the processing for responding to the request included in the packet,
processing for setting at least one of an identifier of the packet, an area where the packet is rewritten, and a value after rewrite, in the processing for rewriting the packet, and
processing for setting an identifier of the packet and an identifier of a transmitting destination of the packet, in the processing for transmitting the packet.
2. The switching apparatus according to claim 1 , wherein
the processor is further configured to:
respond to a request for a virtual I/O device and provide the virtual I/O device,
store I/O device setting information based on specifications of an I/O fabric, and
store data unique to the virtual I/O device.
3. The switching apparatus according to claim 2 , wherein
the processor is further configured to perform communication between different I/O fabrics.
4. The switching apparatus according to claim 2 , wherein
the processor is further configured to execute:
processing for capturing a packet transmitted during an initialization sequence of a predetermined I/O device connected to the I/O fabric, and
processing for generating data unique to the virtual I/O device.
5. The switching apparatus according to claim 1 , wherein
the processor is further configured to:
rewrite the packet and forward the rewritten packet using the information of the header.
6. The switching apparatus according to claim 1 , wherein
the processor is further configured to:
provide a virtual I/O device for at least one node within an I/O fabric,
provide virtual I/O devices for different device trees of the I/O fabric and realize exchanges of data and control information,
realize transmission of a packet between a root complex of the I/O fabric and an I/O device and transmission of a packet between the I/O devices,
rewrite the packet,
select, in accordance with the operation, any one of providing a virtual I/O device for at least one node within an I/O fabric, providing virtual I/O devices for different device trees of the I/O fabric and realizes exchanges of data and control information, realizing transmission of a packet between a root complex of the I/O fabric and an I/O device and transmission of a packet between the I/O devices, and rewriting the packet, and
output the packet.
7. A computer system comprising an I/O fabric, wherein
the I/O fabric comprises:
a switching apparatus comprising a processor configured to:
extract a header of a received packet and acquire information of the header;
determine an operation for the packet according to information of a type, request source, and destination of a request included in the header; and
execute, in accordance with the determined operation, at least one of:
processing for responding to the request included in the packet,
processing for rewriting the packet, and
processing for transmitting the packet, and
wherein the processor is further configured to execute at least one of:
processing for registering an identifier of a packet and identifier indicating an operation executed for the packet,
processing for setting a configuration of a virtual I/O device in the processing for responding to the request included in the packet,
processing for setting at least one of an identifier of the packet, an area where the packet is rewritten, and a value after rewrite, in the processing for rewriting the packet, and
processing for setting an identifier of the packet and an identifier of a transmitting destination of the packet in the processing for transmitting the packet.
8. A computer configuration method comprising:
by a switch within a fabric,
extracting, when receiving a packet forwarded within the fabric, a header of the packet;
acquiring information of the header;
determining an operation for the packet according to information of a type, request source, and destination of a request included in the header;
executing, in accordance with the determined operation, at least one of:
responding to the request included in the packet;
rewriting the packet, and
forwarding the packet; and
executing at least one of:
processing for registering an identifier of a packet and an identifier indicating an operation executed for the packet,
processing for setting a configuration of a virtual I/O device in the processing for responding to the request included in the packet,
processing for setting at least one of an identifier of the packet an area where the packet is rewritten, and a value after rewrite, in the processing for rewriting the packet, and
processing for setting an identifier of the packet and an identifier of a transmitting destination of the packet, in the processing for transmitting the packet.
9. A non-transitory computer-readable medium embodying a program causing a computer configuring a switch within a fabric to perform a method comprising:
extracting, when receiving a packet forwarded within the fabric, a header of the packet;
acquiring information of the header;
determining an operation for the packet according to information of a type, request source, and destination of a request included in the header;
executing, in accordance with the determined operation, at least one of:
responding to the request included in the packet,
rewriting the packet, and
forwarding the packet; and
executing at least one of:
processing for registering an identifier of a packet and an identifier indicating an operation executed for the packet,
processing for setting a configuration of a virtual I/O device in the processing for responding to the request included in the packet,
processing for setting at least one of an identifier of the packet, an area where the packet is rewritten, and a value after rewrite, in the processing for rewriting the packet, and
processing for setting an identifier of the packet and an identifier of a transmitting destination of the packet in the processing for transmitting the packet.Join the waitlist — get patent alerts
Track US10263891B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.