# US 2006/0041672 A1 · Systems and methods for initiator mode connection management in SAS connections

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0041672 A1
- Document ID: US20060041672A1
- Status: Published application
- Kind: A1
- Application number: 10/920,987
- Filed: 2004-08-18
- Published: 2006-02-23
- Earliest claimed: 2004-08-18
- Assignees: LSI Logic Corporation
- Inventors: Brian Day; Silvia Jaeckel
- Web page: https://patentgrep.com/patent/US20060041672A1

## CPC

- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0626: {Reducing size or complexity of storage systems}
- G06F 3/0683: {Plurality of storage devices}
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and structures for managing connection requests within a SAS controller operating as an initiator device. A SAS initiator device maintains a table of information regarding known SAS devices in the SAS domain. An index value is used by each of a plurality of link layer processing elements in the SAS controller to access information in the table. The index value is fewer bits than the complete eight byte SAS address and the logic to manipulate and compare the index value is therefore simpler than that required to directly manipulate a full SAS address. Further, the information table is shared by each of the link layer processing elements to further reduce complexity from replication of circuits and logic in the SAS controller.

## Claims

### Claim 1

A SAS controller adapted for performing SAS protocol link layer processing in the role of a SAS initiator, the controller comprising:
an interface to a SAS protocol transport layer processing element wherein the controller is adapted to receive a request from the transport layer through the interface to establish a connection to a particular SAS device, and wherein the particular SAS device is identified by a supplied index value in the request, and wherein the supplied index value comprises fewer bits than the SAS address in the request;
a table having a plurality of entries each storing a corresponding SAS address for a SAS device; and
a SAS protocol link layer processing element coupled to the interface and coupled to the table wherein the link layer is adapted to use the supplied index value and the table to determine the corresponding SAS address for the particular SAS device, and wherein the link layer is adapted to use the corresponding SAS address in an OPEN request to establish the requested connection to the particular SAS device.

### Claim 2 (depends on 1)

The controller of claim 1 wherein the SAS protocol link layer processing element comprises a plurality of SAS protocol link layer processing elements each coupled to the interface and each coupled to the table and wherein the controller further comprises:
an arbitrator for arbitrating among the plurality of SAS protocol link layer processing elements when multiple of the plurality of SAS protocol link layer processing elements attempts to access the table.

### Claim 3 (depends on 1)

The controller of claim 1 wherein the table is pre-loaded by the SAS transport layer processing element with SAS addresses discovered during SAS Discovery processing of the SAS controller.

### Claim 4 (depends on 1)

The controller of claim 1 wherein the SAS protocol link layer processing element is further adapted to encode the supplied index value in parameters of the OPEN request.

### Claim 5 (depends on 4)

The controller of claim 4 wherein the SAS protocol link layer processing element is further adapted to encode the supplied index value in the ICT parameter field of the OPEN request.

### Claim 6 (depends on 1)

The controller of claim 1 wherein the supplied index value is a supplied hashed address index value determined by a hash function applied to a SAS address and wherein the table comprises:
a content addressable memory device storing rows comprising a SAS address and a corresponding hashed address index value, and
wherein the SAS protocol link layer is adapted to access the content addressable memory by applying the supplied hashed address index value to the content addressable memory to retrieve the corresponding SAS address.

### Claim 7

A method operable in a SAS controller having at least one SAS protocol link layer processing element and adapted to interface with a SAS protocol transport layer processing element and operating in the role of a SAS initiator, the method comprising:
receiving a request from the SAS protocol transport layer processing element to establish a connection to a particular SAS device identified in the request by a supplied index value wherein the supplied index value comprises fewer bits than the SAS address in the request;
accessing a table using the supplied index value to determine the SAS address for the particular SAS device;
generating an OPEN request to establish the requested connection to the particular SAS device wherein the generated OPEN request uses the SAS address determined by access to the table; and
transmitting the generated OPEN request to the particular SAS device.

### Claim 8 (depends on 7)

The method of claim 7 wherein the SAS controller has multiple SAS protocol link layer processing elements coupled to the table and wherein the method further comprises:
arbitrating among a plurality of the multiple SAS protocol link layer processing elements requesting access to the table.

### Claim 9 (depends on 7)

The method of claim 7 further comprising:
performing a SAS Discovery process to discover the SAS address of SAS target devices coupled to the SAS controller; and
pre-loading the table with the SAS addresses discovered in the SAS Discovery process.

### Claim 10 (depends on 7)

The method of claim 7 wherein the step of generating further comprises:
encoding the supplied index value as a parameter in the generated OPEN request.

### Claim 11 (depends on 10)

The method of claim 10 wherein the step of encoding further comprises:
encoding the supplied index value in the ICT parameter field of the OPEN request.

### Claim 12 (depends on 7)

The method of claim 7
wherein the step of receiving further comprises:
receiving the request wherein the particular SAS device is identified in the request by a supplied hashed address index value wherein the supplied index value comprises fewer bits than the SAS address associated with the particular SAS device, and
wherein the step of accessing further comprises:
applying the supplied hashed address index value to a content addressable memory storing the table to retrieve the SAS address corresponding to the supplied hashed address index value associated with the particular SAS device.

### Claim 13

A SAS controller adapted for performing SAS protocol link layer processing in the role of a SAS target, the controller comprising:
an interface to a SAS communication physical medium wherein the controller is adapted to receive an OPEN request from the physical medium through the interface to establish a connection to a particular SAS device, and wherein the particular SAS device is identified by a supplied index value in the OPEN request, and wherein the supplied index value comprises fewer bits than the SAS address in the OPEN request;
a table having a plurality of entries each storing SAS connection information for a corresponding SAS device known to the controller; and
a SAS protocol link layer processing element coupled to the interface and coupled to the table wherein the link layer is adapted to use the supplied index value and the table to access the SAS connection information corresponding to the particular SAS device, and wherein the link layer is adapted to use the SAS connection information to validate the received request.

### Claim 14 (depends on 13)

The controller of claim 13 wherein the SAS protocol link layer processing element comprises a plurality of SAS protocol link layer processing elements and wherein the interface comprises a plurality of interface to SAS communication physical media and wherein each SAS protocol link layer processing element is coupled to a corresponding interface and is coupled to the table and wherein the controller further comprises:
an arbitrator for arbitrating among the plurality of SAS protocol link layer processing elements when multiple of the plurality of SAS protocol link layer processing elements attempts to access the table.

### Claim 15 (depends on 13)

The controller of claim 13 wherein the SAS connection information includes:
a SAS address of the corresponding SAS device;
a connection rate indicator indicating SAS connection rates supported by the corresponding SAS device; and
a protocol indicator indicating SAS protocols supported by the corresponding SAS device.

### Claim 16 (depends on 13)

The controller of claim 13 wherein the SAS protocol link layer processing element is further adapted to decode the supplied index value from parameters of the received OPEN request.

### Claim 17 (depends on 16)

The controller of claim 16 wherein the SAS protocol link layer processing element is further adapted to decode the supplied index value in the ICT parameter field of the received OPEN request.

### Claim 18 (depends on 13)

The controller of claim 13 wherein the supplied index value is a supplied hashed address index value determined by a hash function applied to a SAS address and wherein the table comprises:
a content addressable memory device storing rows comprising a SAS address and a corresponding hashed address index value, and
wherein the SAS protocol link layer is adapted to access the content addressable memory by applying the supplied hashed address index value to the content addressable memory to retrieve the corresponding SAS address.

### Claim 19

A method operable in a SAS controller having at least one SAS protocol link adapted to interface with a SAS communication medium and operating in the role of a SAS initiator, the method comprising:
receiving an OPEN request from the SAS communication medium to establish a connection to a particular SAS device identified in the request by a supplied index value in the received OPEN request wherein the supplied index value comprises fewer bits than the SAS address associated with the particular SAS device;
accessing a table using the supplied index value to retrieve SAS connection information for the particular SAS device;
validating parameters of the received OPEN request based on the retrieved SAS connection information; and
transmitting a response to the SAS communication medium in response to the OPEN request to indicate the validity of the received OPEN request.

### Claim 20 (depends on 19)

The method of claim 19 wherein the SAS controller has multiple SAS protocol link layer processing elements coupled to the table and wherein the method further comprises:
arbitrating among a plurality of the multiple SAS protocol link layer processing elements requesting access to the table.

### Claim 21 (depends on 19)

The method of claim 19 further comprising:
performing a SAS Discovery process to discover the SAS connection information of SAS devices known to the SAS controller; and
pre-loading the table with the SAS connection information discovered in the SAS Discovery process.

### Claim 22 (depends on 19)

The method of claim 19 wherein the step of generating further comprises:
decoding the supplied index value from a parameter in the received OPEN request.

### Claim 23 (depends on 22)

The method of claim 22 wherein the step of decoding further comprises:
decoding the supplied index value from the ICT parameter field of the received OPEN request.

### Claim 24 (depends on 19)

The method of claim 19
wherein the step of receiving further comprises:
receiving the request wherein the particular SAS device is identified in the request by a supplied hashed address index value wherein the supplied index value comprises fewer bits than the SAS address associated with the particular SAS device, and
wherein the step of accessing further comprises:
applying the supplied hashed address index value to a content addressable memory storing the table to retrieve the SAS connection information corresponding to the supplied hashed address index value associated with the particular SAS device.
