1. Field of the Invention
The present invention relates to networking systems, and more particularly, to coupling a host bus adapter with an in-line credit extender.
2. Background of the Invention
Storage area networks (“SANs”) are commonly used where plural memory storage devices are made available to various host computing systems. Data in a SAN is typically moved from plural host systems to storage systems through various controllers/adapters.
Host systems typically include several functional components. These components may include a central processing unit (CPU), main memory, input/output (“I/O”) devices, and streaming storage devices (for example, tape drives). In conventional systems, the main memory is coupled to the CPU via a system bus or a local memory bus. The main memory is used to provide the CPU access to data and/or program information that is stored in main memory at execution time. Typically, the main memory is composed of random access memory (RAM) circuits. A computer system with the CPU and main memory is often referred to as a host system.
Host systems often communicate with storage systems via a host bus adapter (“HBA”, may also be referred to as a “controller” and/or “adapter”) using the “PCI” bus interface. PCI stands for Peripheral Component Interconnect, a local bus standard that was developed by INTEL Corporation®. The PCI standard is incorporated herein by reference in its entirety.
PCI-X is another standard bus that is compatible with existing PCI cards using the PCI bus. PCI-X improves the data transfer rate of PCI.
Various other standard interfaces are also used to move data from host systems to storage devices. Fibre Channel is one such standard. Fibre Channel (incorporated herein by reference in its entirety) is a set of AMERICAN NATIONAL STANDARD INSTITUTE (ANSI) standards, which provide a serial transmission protocol for storage and network protocols such as HIPPI, SCSI, IP, ATM and others. Fibre Channel provides an input/output interface to meet the requirements of both channel and network users.
Fibre Channel supports three different topologies: point-to-point, arbitrated loop and Fibre Channel fabric. The point-to-point topology attaches two devices directly. The arbitrated loop topology attaches devices in a loop. The Fibre Channel fabric topology attaches host systems directly to a fabric, which are then connected to multiple devices. The Fibre Channel fabric topology allows several media types to be interconnected.
Fibre Channel is a closed system that relies on multiple ports to exchange information on attributes and characteristics to determine if the ports can operate together. If the ports can work together, they define the criteria under which they communicate. In Fibre Channel, a path is established between two nodes where the path's primary task is to transport data from one point to another.
Fibre Channel fabric devices include a node port or “N_Port” that manages fabric connections. The N_port establishes a connection to a fabric element (e.g., a switch) having a fabric port or F_port.
In Fibre Channel, a buffer-to-buffer credit mechanism is used to control frame flow on a Fibre Channel link. This mechanism requires a transmitter to receive credit in the form of an R_RDY primitive, before sending a frame. The destination sends an R_RDY only when it has adequate buffer space to accept an entire frame.
Once a transmitter has sent a frame for every R_RDY it has received, it stops transmission until another R_RDY arrives from the destination. Unless the transmitter receives enough R_RDYs to cover the time needed for a frame to travel across the link to the destination and an R_RDY to return across the link from the destination, the transmitter stalls and waits for an R_RDY.
Data throughput is hindered as the length of the Fibre Channel link increases in distance. In conventional systems, additional data buffering is used to allow more R_RDYs to be sent and minimize idle periods. This solution has drawbacks. For example, devices with large buffers waste memory resources when used in an environment that only uses short links. Also, using external memory buffers is expensive and requires additional pins and data ports.
Therefore, there is a need for a system that allows efficient data transfer without using additional memory buffers permanently.
In one aspect of the present invention, a storage area network (“SAN”) is provided. The SAN includes, a host bus adapter operationally coupled with a credit extender, wherein the credit extender receives frames from a Fibre Channel network and sends the received frames to the HBA based on buffer space available in the HBA. The HBA notifies other Fibre Channel ports of buffer space available in the credit extender. The HBA sends a signal to the credit extender notifying the credit extender of available buffer space in the HBA.
In another aspect of the present invention, a system for transferring data in a Fibre Channel network is provided. The system includes, a HBA operationally coupled with a credit extender, wherein the credit extender receives frames from a Fibre Channel network and sends the received frames to the HBA based on buffer space available in the HBA.
In yet another aspect of the present invention, a HBA is provided. The HBA includes a management port for interfacing the HBA with a credit extender, wherein the credit extender receives frames from a Fibre Channel network and sends the received frames to the HBA based on buffer space available in the HBA.
This brief summary has been provided so that the nature of the invention may be understood quickly. A more complete understanding of the invention can be obtained by reference to the following detailed description of the preferred embodiments thereof concerning the attached drawings.
The foregoing features and other features of the present invention will now be described with reference to the drawings of a preferred embodiment. In the drawings, the same components have the same reference numerals. The illustrated embodiment is intended to illustrate, but not to limit the invention. The drawings include the following Figures:
The following definitions are provided as they are typically (but not exclusively) used in the Fibre Channel environment, implementing the various adaptive aspects of the present invention.
“Fibre Channel ANSI Standard”: The standard (incorporated herein by reference in its entirety) describes the physical interface, transmission and signaling protocol of a high performance serial link for support of other high level protocols associated with IPI, SCSI, IP, ATM and others.
“N-Port”: A direct fabric attached port, for example, a disk drive or a HBA.
“SAN”: Storage Area Network
To facilitate an understanding of the preferred embodiment, the general architecture and operation of a SAN, and a HBA will be described. The specific architecture and operation of the preferred embodiment will then be described with reference to the general architecture of the host system and HBA.
A request queue 103 and response queue 104 is maintained in host memory 101 for transferring information using adapter 106. Host system 200 communicates with adapter 106 via a PCI bus 105 through a PCI core module (interface) 137, as shown in
In conventional systems, additional buffers 108A are used to increase link throughput for long distances and that results in wastage.
HBA 106:
HBA 106 is operationally coupled to a Fibre Channel credit extender 146 in the receive path. Frame traffic 146A from a Fibre Channel network enters the credit extender 146 and is then sent to the receive path of HBA 106 (shown as 146B).
Credit extender 146 with its various components is described in U.S. patent application Ser. No. 10/166,570, filed on Jun. 10, 2002 and Ser. No. 10/664,548, filed on Sep. 9, 2003; the disclosure of both the applications is incorporated herein by reference in its entirety.
Beside dedicated processors on the receive and transmit path, adapter 106 also includes processor 106A, which may be a reduced instruction set computer (“RISC”) for performing various functions in adapter 106.
Adapter 106 also includes Fibre Channel interface (also referred to as Fibre Channel protocol manager “FPM”) 113A that includes an FPM 113B and 113 in receive and transmit paths, respectively (shown as FC RCV and FC XMT in
Adapter 106 is also coupled to external memory 108 and 110 (referred interchangeably hereinafter) through local memory interface 122 (via connection 116A and 116B, respectively, (
Adapter 106 also includes a serial/de-serializer (“SERDES”) 136 for converting data from 10-bit serial to 8-bit parallel format and vice-versa.
Adapter 106 further includes request queue DMA channel (0) 130, response queue DMA channel 131, request queue (1) DMA channel 132 that interface with request queue 103 and response queue 104; and a command DMA channel 133 for managing command information.
Both receive and transmit paths have DMA modules 129 and 135, respectively. Transmit path also has a scheduler 134 that is coupled to processor 112 and schedules transmit operations. Arbiter 107 arbitrates between plural DMA channel requests.
HBA 106 connects to credit extender 146 using a minimum number of ports for management. In one aspect of the present invention, Management Data Input Output (“MDIO”) protocol, which is a standard protocol, is used. The MDIO protocol/standard is incorporated herein by reference in its entirety. Management port 201 is used to interface with credit extender 146 using signals 202 and 203.
Credit extender 146 receives incoming frames 146A. Credit_Adjust signal 204 is sent from HBA 106 to credit extender 146 to communicate that HBA 106 has a buffer available for a frame (i.e. granting permission to credit extender 146 to transmit a frame in the receive path). Credit extender 146 receives signal 204, synchronizes signal 204 with it's own reference clock and then validates signal 204. Signal 204 is time-sensitive and it toggles between a low to high and high to low transition each time a frame buffer in HBA 106 is freed. The rate at which signal 204 toggles determines how fast frames can be moved from credit extender 146 to HBA 106.
Credit extender 146 sends an ATTN signal 205 to HBA 106. Signal 205 indicates that an exception condition has occurred, which requires managerial intervention from HBA 106. In one aspect of the present invention, signal 205 is held high until cleared by a response from HBA 106 (that is received via signal 203). Since signal 205 is held high, it allows HBA 106 to synchronize, recognize and respond to signal 205. Since signal 205 is only asserted for exception conditions, this mechanism does not affect overall HBA 106 performance in facilitating data transfer.
During initialization, HBA 106 is set-up by firmware (software used by RISC 106A and other modules). The set-up indicates the amount of buffer space that is available in credit extender 146. When HBA 106 connects with another Fibre Channel port, HBA 106 transmits the number of available credits by using the R_RDY primitive based on credit extender 146's buffering capacity.
In step S302, HBA 106 notifies other Fibre Channel ports of available buffer space (using R_RDY primitives). This allows other ports to send data to HBA 106 based on the buffer capacity of credit extender 146.
In step S304, HBA 106 notifies credit extender 146 of available buffer space to receive/process a frame.
In step S306, credit extender 146 sends frames to HBA 106. In step S308, RSEQ 109 processes the frame.
In one aspect of the present invention, using the credit extender 146 eliminates the need for additional data ports/buffers and overall latency in Fibre Channel transmission is reduced.
Although the present invention has been described with reference to specific embodiments, these embodiments are illustrative only and not limiting. Many other applications and embodiments of the present invention will be apparent in light of this disclosure and the following claims. For example, automatic DMA selection may be used beyond SANs and Fibre Channel standards. The foregoing adaptive aspects are useful for any networking environment where there is disparity between link transfer rates.
Number | Name | Date | Kind |
---|---|---|---|
4162375 | Schilichte | Jul 1979 | A |
4268906 | Bourke et al. | May 1981 | A |
4333143 | Calder | Jun 1982 | A |
4382159 | Bowditch | May 1983 | A |
4425640 | Philip et al. | Jan 1984 | A |
4449182 | Rubinson | May 1984 | A |
4475192 | Fernow et al. | Oct 1984 | A |
4546468 | Christmas et al. | Oct 1985 | A |
4549263 | Calder | Oct 1985 | A |
4569043 | Simmons et al. | Feb 1986 | A |
4725835 | Schreiner et al. | Feb 1988 | A |
4777595 | Strecker et al. | Oct 1988 | A |
4783730 | Fischer | Nov 1988 | A |
4783739 | Calder | Nov 1988 | A |
4803622 | Bain, Jr. et al. | Feb 1989 | A |
4821034 | Anderson et al. | Apr 1989 | A |
5129064 | Fogg, Jr. et al. | Jul 1992 | A |
5144622 | Takiyasu et al. | Sep 1992 | A |
5212795 | Hendry | May 1993 | A |
5249279 | Schmenk et al. | Sep 1993 | A |
5276807 | Kodama et al. | Jan 1994 | A |
5321816 | Rogan et al. | Jun 1994 | A |
5347638 | Desai et al. | Sep 1994 | A |
5367520 | Cordell | Nov 1994 | A |
5371861 | Keener et al. | Dec 1994 | A |
5448702 | Garcia, Jr. et al. | Sep 1995 | A |
5528591 | Lauer | Jun 1996 | A |
5568614 | Mendelson et al. | Oct 1996 | A |
5598541 | Malladi | Jan 1997 | A |
5610745 | Bennett | Mar 1997 | A |
5623492 | Teraslinna | Apr 1997 | A |
5633867 | Ben-Nun et al. | May 1997 | A |
5664197 | Kardach et al. | Sep 1997 | A |
5671365 | Binford et al. | Sep 1997 | A |
5687172 | Cloonan et al. | Nov 1997 | A |
5701416 | Thorson et al. | Dec 1997 | A |
5706279 | Teraslinna | Jan 1998 | A |
5729762 | Kardach et al. | Mar 1998 | A |
5740467 | Chmielecki, Jr. et al. | Apr 1998 | A |
5748612 | Stoevhase et al. | May 1998 | A |
5758187 | Young | May 1998 | A |
5761427 | Shah et al. | Jun 1998 | A |
5812525 | Teraslinna | Sep 1998 | A |
5818842 | Burwell et al. | Oct 1998 | A |
5821875 | Lee et al. | Oct 1998 | A |
5825748 | Barkey et al. | Oct 1998 | A |
5828475 | Bennett et al. | Oct 1998 | A |
5828903 | Sethuram et al. | Oct 1998 | A |
5835752 | Chiang et al. | Nov 1998 | A |
5875343 | Binford et al. | Feb 1999 | A |
5881296 | Williams et al. | Mar 1999 | A |
5892969 | Young | Apr 1999 | A |
5894560 | Carmichael et al. | Apr 1999 | A |
5905905 | Dailey et al. | May 1999 | A |
5917723 | Binford | Jun 1999 | A |
5954796 | McCarty et al. | Sep 1999 | A |
5968143 | Chisholm et al. | Oct 1999 | A |
5978359 | Caldara et al. | Nov 1999 | A |
5983292 | Nordstorm et al. | Nov 1999 | A |
5987028 | Yang et al. | Nov 1999 | A |
5999528 | Chow et al. | Dec 1999 | A |
6006340 | O'Connell | Dec 1999 | A |
6014383 | McCarty | Jan 2000 | A |
6021128 | Hosoya et al. | Feb 2000 | A |
6026092 | Abu-Amara et al. | Feb 2000 | A |
6031842 | Trevitt et al. | Feb 2000 | A |
6047323 | Krause | Apr 2000 | A |
6049802 | Waggener, Jr. et al. | Apr 2000 | A |
6055603 | Ofer et al. | Apr 2000 | A |
6055618 | Thorson | Apr 2000 | A |
6061360 | Miller et al. | May 2000 | A |
6078970 | Nordstorm et al. | Jun 2000 | A |
6081512 | Muller et al. | Jun 2000 | A |
6085277 | Nordstorm et al. | Jul 2000 | A |
6105122 | Muller et al. | Aug 2000 | A |
6108738 | Chambers et al. | Aug 2000 | A |
6108778 | LaBerge | Aug 2000 | A |
6115761 | Daniel et al. | Sep 2000 | A |
6118776 | Berman | Sep 2000 | A |
6128292 | Kim et al. | Oct 2000 | A |
6134617 | Weber | Oct 2000 | A |
6138176 | McDonald et al. | Oct 2000 | A |
6144668 | Bass et al. | Nov 2000 | A |
6160813 | Banks et al. | Dec 2000 | A |
6185203 | Berman | Feb 2001 | B1 |
6185620 | Weber et al. | Feb 2001 | B1 |
6201787 | Baldwin et al. | Mar 2001 | B1 |
6233244 | Runaldue et al. | May 2001 | B1 |
6240096 | Book | May 2001 | B1 |
6253267 | Kim et al. | Jun 2001 | B1 |
6269413 | Sherlock | Jul 2001 | B1 |
6289002 | Henson et al. | Sep 2001 | B1 |
6289386 | Vangemert | Sep 2001 | B1 |
6308220 | Mathur | Oct 2001 | B1 |
6324181 | Wong et al. | Nov 2001 | B1 |
6330236 | Ofek et al. | Dec 2001 | B1 |
6343324 | Hubis et al. | Jan 2002 | B1 |
6353612 | Zhu et al. | Mar 2002 | B1 |
6401128 | Stai et al. | Jun 2002 | B1 |
6408349 | Castellano | Jun 2002 | B1 |
6411599 | Blanc et al. | Jun 2002 | B1 |
6421711 | Blumenau et al. | Jul 2002 | B1 |
6424658 | Mathur | Jul 2002 | B1 |
6425021 | Ghodrat et al. | Jul 2002 | B1 |
6425034 | Steinmetz et al. | Jul 2002 | B1 |
6434630 | Micalizzi, Jr. et al. | Aug 2002 | B1 |
6449274 | Holden et al. | Sep 2002 | B1 |
6457090 | Young | Sep 2002 | B1 |
6463032 | Lau et al. | Oct 2002 | B1 |
6467008 | Gentry | Oct 2002 | B1 |
6470007 | Berman | Oct 2002 | B1 |
6484173 | O'Hare et al. | Nov 2002 | B1 |
6502189 | Westby | Dec 2002 | B1 |
6504846 | Yu et al. | Jan 2003 | B1 |
6532212 | Soloway et al. | Mar 2003 | B1 |
6546010 | Merchant et al. | Apr 2003 | B1 |
6564271 | Micalizzi, Jr. et al. | May 2003 | B2 |
6594231 | Byham et al. | Jul 2003 | B1 |
6594329 | Susnow | Jul 2003 | B1 |
6597691 | Anderson et al. | Jul 2003 | B1 |
6597777 | Ho | Jul 2003 | B1 |
6614796 | Black et al. | Sep 2003 | B1 |
6643748 | Wieland | Nov 2003 | B1 |
6647019 | McKeown et al. | Nov 2003 | B1 |
6697359 | George | Feb 2004 | B1 |
6697368 | Chang et al. | Feb 2004 | B2 |
6718497 | Whitby-Strevens | Apr 2004 | B1 |
6721799 | Slivkoff | Apr 2004 | B1 |
6725388 | Susnow | Apr 2004 | B1 |
6744772 | Eneboe et al. | Jun 2004 | B1 |
6760302 | Ellinas et al. | Jul 2004 | B1 |
6785241 | Lu et al. | Aug 2004 | B1 |
6807181 | Weschler | Oct 2004 | B1 |
6810440 | Micalizzi, Jr. et al. | Oct 2004 | B2 |
6810442 | Lin et al. | Oct 2004 | B1 |
6816750 | Klaas | Nov 2004 | B1 |
6839747 | Blumenau et al. | Jan 2005 | B1 |
6859435 | Lee et al. | Feb 2005 | B1 |
6865157 | Scott et al. | Mar 2005 | B1 |
6886141 | Kunz et al. | Apr 2005 | B1 |
6904053 | Berman | Jun 2005 | B1 |
6941357 | Nguyen et al. | Sep 2005 | B2 |
6941482 | Strong | Sep 2005 | B2 |
6952659 | King et al. | Oct 2005 | B2 |
6968463 | Pherson et al. | Nov 2005 | B2 |
6980525 | Banks et al. | Dec 2005 | B2 |
7000025 | Wilson | Feb 2006 | B1 |
7002926 | Eneboe et al. | Feb 2006 | B1 |
7039870 | Takaoka et al. | May 2006 | B2 |
7047326 | Crosbie et al. | May 2006 | B1 |
7050392 | Valdevit | May 2006 | B2 |
7055068 | Riedl | May 2006 | B2 |
7061871 | Sheldon et al. | Jun 2006 | B2 |
7092374 | Gubbi | Aug 2006 | B1 |
7110394 | Chamdani et al. | Sep 2006 | B1 |
7151778 | Zhu et al. | Dec 2006 | B2 |
7165152 | Blumenau et al. | Jan 2007 | B2 |
7171050 | Kim | Jan 2007 | B2 |
7194538 | Rabe et al. | Mar 2007 | B1 |
7200108 | Beer et al. | Apr 2007 | B2 |
7221650 | Cooper et al. | May 2007 | B1 |
7248580 | George et al. | Jul 2007 | B2 |
7269131 | Cashman et al. | Sep 2007 | B2 |
20010011357 | Mori | Aug 2001 | A1 |
20010038628 | Ofek et al. | Nov 2001 | A1 |
20020103913 | Tawil et al. | Aug 2002 | A1 |
20020104039 | DeRolf et al. | Aug 2002 | A1 |
20020147560 | Devins et al. | Oct 2002 | A1 |
20020147802 | Murotani et al. | Oct 2002 | A1 |
20020147843 | Rao | Oct 2002 | A1 |
20020156918 | Valdevit et al. | Oct 2002 | A1 |
20020172195 | Pekkala et al. | Nov 2002 | A1 |
20020191602 | Woodring et al. | Dec 2002 | A1 |
20030016683 | George et al. | Jan 2003 | A1 |
20030021239 | Mullendore et al. | Jan 2003 | A1 |
20030046396 | Richter et al. | Mar 2003 | A1 |
20030056000 | Mullendore et al. | Mar 2003 | A1 |
20030056032 | Micalizzi, Jr. et al. | Mar 2003 | A1 |
20030084219 | Yao et al. | May 2003 | A1 |
20030086377 | Berman | May 2003 | A1 |
20030091062 | Lay et al. | May 2003 | A1 |
20030117961 | Chuah et al. | Jun 2003 | A1 |
20030120983 | Vieregge et al. | Jun 2003 | A1 |
20030137941 | Kaushik et al. | Jul 2003 | A1 |
20030174789 | Waschura et al. | Sep 2003 | A1 |
20030179709 | Huff | Sep 2003 | A1 |
20030179748 | George et al. | Sep 2003 | A1 |
20030189935 | Warden et al. | Oct 2003 | A1 |
20030236953 | Grieff et al. | Dec 2003 | A1 |
20040013092 | Betker et al. | Jan 2004 | A1 |
20040013125 | Betker et al. | Jan 2004 | A1 |
20040015638 | Bryn | Jan 2004 | A1 |
20040024831 | Yang et al. | Feb 2004 | A1 |
20040028038 | Anderson et al. | Feb 2004 | A1 |
20040057389 | Klotz et al. | Mar 2004 | A1 |
20040081186 | Warren et al. | Apr 2004 | A1 |
20040081394 | Biren et al. | Apr 2004 | A1 |
20040100944 | Richmond et al. | May 2004 | A1 |
20040109418 | Fedorkow et al. | Jun 2004 | A1 |
20040123181 | Moon et al. | Jun 2004 | A1 |
20040141521 | George | Jul 2004 | A1 |
20040153914 | El-Batal | Aug 2004 | A1 |
20040174813 | Kasper et al. | Sep 2004 | A1 |
20040267982 | Jackson et al. | Dec 2004 | A1 |
20050023656 | Leedy | Feb 2005 | A1 |
20050036499 | Dutt et al. | Feb 2005 | A1 |
20050058148 | Castellano et al. | Mar 2005 | A1 |
20050117522 | Basavaiah et al. | Jun 2005 | A1 |
20050141661 | Renaud et al. | Jun 2005 | A1 |
20050177641 | Yamagami | Aug 2005 | A1 |
20060047852 | Shah et al. | Mar 2006 | A1 |
20060074927 | Sullivan et al. | Apr 2006 | A1 |
20060156083 | Jang et al. | Jul 2006 | A1 |
20060184711 | Pettey | Aug 2006 | A1 |
20070124623 | Tseng | May 2007 | A1 |
Number | Date | Country |
---|---|---|
0649098 | Sep 1994 | EP |
0738978 | Oct 1996 | EP |
0856969 | Jan 1998 | EP |
WO 9506286 | Mar 1995 | WO |
WO-9836537 | Aug 1998 | WO |
WO 0058843 | Oct 2000 | WO |
WO03088050 | Oct 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20060075161 A1 | Apr 2006 | US |