摘要:
A Fibre Channel switch element in a Fibre Channel network is provided. The Fibre Channel switch element includes a port that replaces a logical unit number (“LUN”) field value in a FCP_CMND frame. The port includes a LUN Mapping cache for replacing the LUN field value in a FCP_CMND frame. The LUN Mapping cache may also generate a value that is added to or subtracted from the LUN field value in the FCP_CMND frame. A control bit is used to activate LUN Mapping cache for mapping LUN values.
摘要:
A fibre channel switch element with an alias cache is provided for routing and filtering frames. The alias cache includes plural entries including a control word having plural fields including an action code for routing frames; an alias word that is compared to incoming frame data using a frame byte compare block; and a bit mask generator for filtering bit combinations from the frame byte compare block; and a depth match block for determining equality between a control word depth field and incoming frame depth field. Frame data comparison is performed on a bit by bit or byte-by-byte basis. An alias cache entry also includes prerequisite data to determine if results of a different entry are to be used to determine an entry match. The action code routes a frame to a processor, discards a frame, sets a status for inspecting a frame or routes a frame based on a standard Fibre Channel addressing scheme.
摘要:
A method and system for routing fibre channel frames using a fibre channel switch element is provided. The switch element includes, a hashing module whose output is used to select the column from a look up table to route frames. The method includes, indexing a look up table using domain, area, virtual storage area network identifier, a hashing module output and/or AL_PA values; selecting a column from the look up table based on a column select signal; and routing a frame if a route is valid. The hashing module takes a fibre channel header to generate a pseudo random value used for selecting a column from the look up table. The hashing module uses same field values in an exchange to generate the pseudo random value. A hash function is used on a frame's OX_ID, D_ID, S_ID, and/or RX_ID to route fibre channel frames.
摘要:
A method and system for detecting congestion and over-subscription in a fibre channel switch element is provided. A counter is updated if a frame cannot be transmitted due to lack of credit; then the counter value is compared to a threshold value; and an event is triggered if the counter value varies from the threshold value. Also, provided is a first register that maintains information regarding a rate at which a source port can transfer data; a counter that counts entries corresponding to a number of frames to be transmitted at a given time; and a second register that determines an over-subscription rate.
摘要:
A method and switch element for assigning priority to pseudo virtual lanes (“PVL”) using a fibre channel switch element is provided. The method includes, assigning received R_RDYs based on a PVL distribution scheme; and determining traffic congestion on a PVL if there is no credit available to transfer frames from the PVL. A minimum bandwidth feature is enabled to avoid lower priority PVLs from getting no credit for transmitting frames; and distributing credit and R_RDYs based on frame age bits, wherein a lower priority PVL gets credit if a frame is waiting in the PVL for a longer duration compared to a higher priority PVL. The switch element includes, a PVL module having credit counters for plural PVLs; and a timer that monitors frame traffic for each PVL lane. If a PVL gets congested, then a state machine adjusts priority of R_RDY distribution scheme of other PVLs to transmit frames.
摘要:
A method for assigning virtual lanes (VL) in a fibre channel switch is provided. The fibre channel switch element includes a virtual lane cache that can compare incoming frame parameters based on which virtual lanes may be assigned; and a register to store parameters used for virtual lane assignment. The method includes, determining if VL assignment is to be based on an incoming frame parameter or a programmed value; determining if an incoming frame is a preferred frame; and assigning a preferred routing priority if the incoming frame is designated as a preferred frame. The method also includes, determining if a fabric topology is known; and assigning virtual lanes based on a known fabric topology.
摘要:
A method and system for distributing credit using a fibre channel switch element is provided. The switch element includes, a wait threshold counter that is used to set up a status for a port that has to wait for certain duration to send a frame due to lack of buffer to buffer credit; a credit module that controls buffer to buffer credit for a transmit segment of the fibre channel switch element; and a virtual lane credit module with a counter that is incremented every time a frame assigned to a virtual lane is sent and decreased every time a VC_RDY is received. The method includes, determining if a VC_RDY primitive is received; and allocating credit to a virtual lane that is not at its maximum credit, after the VC_RDY primitive is received.
摘要:
A fibre channel switch element and method for routing fibre channel frames is provided. The switch element includes a receive segment that can add a virtual storage area network (“VSAN”) tagging header to frames that are received by the receive segment; and strip the VSAN tagging header before frames are sent to ports that do not support virtual fabric capability. The receive segment includes a table used for matching fabric extension parameters. An incoming frame's VSAN identity value is compared to a control word entry to generate a value used for routing the incoming frame. The table is used to determine if a frame is part of a virtual fabric. The routing table for each port is used to route frames and the routing table includes entries for supported virtual fabrics.
摘要:
Method and system for routing fibre channel frames using a fibre channel switch element is provided. The method includes, inserting a time stamp value in a fibre channel frame that is received at a receive segment of the fibre channel switch element; determining if a timeout occurs after a frame arrives at a receive buffer; and processing the frame if the timeout occurred. The method also includes, determining if a delta time value, which provides an accumulated wait time for a frame, is present in frame data; subtracting the delta time stamp value from a global time stamp value and using the resulting time stamp value to determine frame timeout status in the fibre channel switch element. A timeout checker circuit declares a timeout after comparing a time stamp value that is inserted in a fibre channel frame with a programmed time out value and a global counter value.
摘要:
A method and system for optimizing bandwidth allocation in a fibre channel network having a fibre channel switch element, is provided. The switch element includes, a port control module having a receive and transmit segment, wherein the transmit segment is programmed to block frame transmission from a particular frame source port for a certain duration based on a programmable threshold value. The method includes, enabling a bandwidth limitation counter; and programming the threshold value for blocking frame transmission from a frame source port for a certain duration and during this duration, other source ports may be chosen for frame transmission. After a frame is transmitted from a source port, a tag valid blocking from the same source port is used to block frame transmission. A quality of service register is used to store the threshold value and the threshold value is programmable.