Mechanism for terminating relay operations in a distributed switch with cascaded configuration
First Claim
Patent Images
1. A method, comprising:
- maintaining a plurality of switches in a cascaded configuration, wherein the plurality of switches comprise an originating switch, an intermediate switch, and a destination switch;
sending, by the originating switch a switch fabric internal link services (SW-ILS) that has resources denoted by a first exchange to the intermediate switch;
forwarding, by the intermediate switch the SW-ILS request to the destination switch, where the SW-ILS request that is forwarded has resources denoted by a second exchange;
subsequent to the forwarding, detecting an error by the originating switch;
in response to the detecting of the error by the originating switch, sending an abort sequence (ABTS) with which the first exchange is associated, by the originating switch to the intermediate switch;
receiving at the intermediate switch the ABTS sent by the originating switch; and
in response to receiving at the intermediate switch the ABTS sent by the originating switch, performing by the intermediate switch;
sending an acknowledgement associated with the first exchange to the originating switch to deallocate the resources denoted by the first exchange;
sending an ABTS with which the second exchange is associated to the destination switch;
in response to sending the ABTS with which the second exchange is associated to the destination switch, receiving an acknowledgement associated with the second exchange from the destination switch; and
in response to receiving the acknowledgement associated with the second exchange from the destination switch, deallocating the resources denoted by the second exchange.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, a system, and a computer program product in which a plurality of switches are maintained in a cascaded configuration. A switch relays a switch fabric internal link services (SW-ILS) to generate a pair of exchanges comprising a first exchange and a second exchange at the switch. In response to a termination of the first exchange of the pair of exchanges, the second exchange of the pair of exchanges is terminated.
-
Citations
18 Claims
-
1. A method, comprising:
-
maintaining a plurality of switches in a cascaded configuration, wherein the plurality of switches comprise an originating switch, an intermediate switch, and a destination switch; sending, by the originating switch a switch fabric internal link services (SW-ILS) that has resources denoted by a first exchange to the intermediate switch; forwarding, by the intermediate switch the SW-ILS request to the destination switch, where the SW-ILS request that is forwarded has resources denoted by a second exchange; subsequent to the forwarding, detecting an error by the originating switch; in response to the detecting of the error by the originating switch, sending an abort sequence (ABTS) with which the first exchange is associated, by the originating switch to the intermediate switch; receiving at the intermediate switch the ABTS sent by the originating switch; and in response to receiving at the intermediate switch the ABTS sent by the originating switch, performing by the intermediate switch; sending an acknowledgement associated with the first exchange to the originating switch to deallocate the resources denoted by the first exchange; sending an ABTS with which the second exchange is associated to the destination switch; in response to sending the ABTS with which the second exchange is associated to the destination switch, receiving an acknowledgement associated with the second exchange from the destination switch; and in response to receiving the acknowledgement associated with the second exchange from the destination switch, deallocating the resources denoted by the second exchange. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system, comprising:
-
a plurality of switches maintained in a cascaded configuration, wherein the plurality of switches comprise an originating switch, an intermediate switch, and a destination switch; a memory coupled to at least one of the plurality of switches; and a processor coupled to the memory, wherein the processor performs operations, the operations comprising; sending, by the originating switch a switch fabric internal link services (SW-ILS) that has resources denoted by a first exchange to the intermediate switch; forwarding, by the intermediate switch the SW-ILS request to the destination switch, where the SW-ILS request that is forwarded has resources denoted by a second exchange; subsequent to the forwarding, detecting an error by the originating switch; in response to the detecting of the error by the originating switch, sending an abort sequence (ABTS) with which the first exchange is associated, by the originating switch to the intermediate switch; receiving at the intermediate switch the ABTS sent by the originating switch; and in response to receiving at the intermediate switch the ABTS sent by the originating switch, performing by the intermediate switch; sending an acknowledgement associated with the first exchange to the originating switch to deallocate the resources denoted by the first exchange; sending an ABTS with which the second exchange is associated to the destination switch; in response to sending the ABTS with which the second exchange is associated to the destination switch, receiving an acknowledgement associated with the second exchange from the destination switch; and in response to receiving the acknowledgement associated with the second exchange from the destination switch, deallocating the resources denoted by the second exchange. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product, the computer program product comprising:
-
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to perform operations on a processor, the operations comprising; maintaining a plurality of switches in a cascaded configuration, wherein the plurality of switches comprise an originating switch, an intermediate switch, and a destination switch; sending, by the originating switch a switch fabric internal link services (SW-ILS) that has resources denoted by a first exchange to the intermediate switch;
forwarding, by the intermediate switch the SW-ILS request to the destination switch, where the SW-ILS request that is forwarded has resources denoted by a second exchange;
subsequent to the forwarding, detecting an error by the originating switch;
in response to the detecting of the error by the originating switch, sending an abort sequence (ABTS) with which the first exchange is associated, by the originating switch to the intermediate switch;receiving at the intermediate switch the ABTS sent by the originating switch; and
in response to receiving at the intermediate switch the ABTS sent by the originating switch, performing by the intermediate switch;sending an acknowledgement associated with the first exchange to the originating switch to deallocate the resources denoted by the first exchange; sending an ABTS with which the second exchange is associated to the destination switch; in response to sending the ABTS with which the second exchange is associated to the destination switch, receiving an acknowledgement associated with the second exchange from the destination switch; and in response to receiving the acknowledgement associated with the second exchange from the destination switch, deallocating the resources denoted by the second exchange. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification