# US 2013/0275652 A1 · Methods and structure for transferring additional parameters through a communication interface with limited parameter passing features

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

- Number: US 2013/0275652 A1
- Document ID: US20130275652A1
- Status: Published application
- Kind: A1
- Application number: 13/446,471
- Filed: 2012-04-13
- Published: 2013-10-17
- Earliest claimed: 2012-04-13
- Assignees: LSI Corporation
- Inventors: Horia Cristian Simionescu
- Web page: https://patentgrep.com/patent/US20130275652A1

## CPC

- G06F 3/0661: {Format or protocol conversion arrangements}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and structure for transferring additional parameters through a communication interface with limited parameter passing features. Features and aspects hereof provide for generating and transmitting multiple related commands from an initiator device to a target device where one or more initial commands provide additional parameters. The additional parameters are utilized in processing the last of the multiple commands to actually perform a desired data transfer. The initial commands and the data transfer command may all be associated by encoding of a common tag or sub-tag value in each command. The initial commands may be read/write commands having a zero data transfer length. The associated data transfer command may be a read/write command having a non-zero data transfer length. The initial commands each provide one or more additional parameters for processing the data transfer command in addition to the standard parameters that may be encoded in the data transfer command.

## Claims

### Claim 1

A method operable in a system comprising an initiator device and a target device, the method operable to provide additional parameters for commands from the initiator device to the target device, the method comprising:
transmitting, from the initiator device to the target device, one or more initial commands wherein each of the initial commands comprises one or more parameter values and wherein each of the initial commands comprises a tag value;
transmitting, from the initiator device to the target device, a data transfer command comprising either a read command or a write command and comprising a tag value; and
executing, by operation of the target device, the data transfer command in accordance with the one or more parameters received in each of the one or more initial commands wherein the one or more initial commands and the data transfer command each comprise the same tag value to associate each of the one or more initial commands with one another and with the data transfer command.

### Claim 2 (depends on 1)

The method of claim 1
wherein each of the one or more initial commands comprises either a read command or a write command specifying zero length of data to be transferred, and
wherein the data transfer command specifies a non-zero length of data to be transferred.

### Claim 3 (depends on 1)

The method of claim 1
wherein the initiator device is a Serial Advanced Technology Attachment (SATA) initiator and wherein the target device is a SATA target,
wherein each of the initial commands is a native command queuing (NCQ) SATA command, and
wherein the data transfer command is an NCQ SATA command.

### Claim 4 (depends on 3)

The method of claim 3
wherein the step of transmitting one or more initial commands further comprises transmitting an initial command specifying a first parameter value encoded in an LBA field of the initial command,
wherein the step of transmitting the data transfer command further comprises transmitting the data transfer command specifying a second parameter value encoded in the LBA field of the data transfer command, and
wherein the step of executing further comprises executing the second command in accordance with the first and second parameter values.

### Claim 5 (depends on 4)

The method of claim 4
wherein the target device is a solid-state drive (SSD), the SSD configured to rely on the initiator device for mapping of logical block addresses (LBAs) to physical block addresses (PBAs),
wherein the first parameter value comprises a PBA derived from an LBA of an I/O request directed to the SSD, and
wherein the second parameter value comprises the LBA.

### Claim 6 (depends on 5)

The method of claim 5
wherein the first parameter value further comprises a sub-tag value,
wherein the second parameter value further comprises a sub-tag value,
the method further comprising:
detecting, within the SSD, that the sub-tag value in the first parameter value of the initial command matches the sub-tag value in the second parameter value of the data transfer command,
wherein the step of executing further comprises executing the data transfer command in accordance with the first parameter value and in accordance with the second parameter value only when the sub-tag values in the first parameter value and in the second parameter value match.

### Claim 7

A method operable in a Serial Advanced Technology Attachment (SATA) initiator device adapted to couple with a SATA target device, the method comprising:
generating a data transfer command to be directed to the SATA target device, the data transfer command comprising either a SATA read command or a SATA write command, the data transfer command comprising a non-zero data transfer length and having one or more standard parameters in accordance with the SATA protocol;
identifying one or more additional parameters in addition to the standard parameters of the data transfer command;
generating one or more initial commands each comprising one or more of the additional parameters, wherein each initial command comprises either a SATA read command or a SATA write command, each initial command comprising a zero data transfer length; and
transmitting the one or more initial commands to the SATA target device; and
following transmission of the one or more initial commands, transmitting the data transfer command to the SATA target device whereby the SATA target device executes the data transfer command in accordance with the one or more standard parameters and in accordance with the one or more additional parameters.

### Claim 8 (depends on 7)

The method of claim 7
wherein the generated data transfer command further comprises a tag value, and
wherein each initial command further comprises a tag value,
whereby the SATA target device can associate the additional parameters received in the one or more initial commands with the standard parameters in the data transfer command by matching the tag values in all commands.

### Claim 9 (depends on 7)

The method of claim 7
wherein the step of generating one or more initial commands further comprises generating an initial command specifying a first parameter value encoded in a field of the initial command, and
wherein the step of generating the data transfer command further comprises generating the data transfer command specifying a second parameter value encoded in a field of the data transfer command.

### Claim 10 (depends on 9)

The method of claim 9
wherein the SATA target device is a solid-state drive (SSD), the SSD configured to rely on the SATA initiator device for mapping of logical block addresses (LBAs) to physical block addresses (PBAs),
wherein the first parameter value comprises a PBA derived from an LBA of an I/O request directed to the SSD, and
wherein the second parameter value comprises the LBA.

### Claim 11 (depends on 10)

The method of claim 10
wherein the first parameter value further comprises a sub-tag value, and
wherein the second parameter value further comprises a sub-tag value,
whereby the SSD can detect that the sub-tag value in the first parameter value of the initial command matches the sub-tag value in the second parameter value of the data transfer command,
whereby the SSD can execute the data transfer command in accordance with the first parameter value and in accordance with the second parameter value only when the sub-tag values in the first parameter value and in the second parameter value match.

### Claim 12

A method operable in a Serial Advanced Technology Attachment (SATA) target device adapted to couple with a SATA initiator device, the method comprising:
receiving one or more initial commands from the SATA initiator device wherein each initial command comprises either a SATA read command or a SATA write command, each initial command comprising a zero data transfer length, each initial command further comprising one or more additional parameters;
receiving a SATA data transfer command from the SATA initiator device wherein the data transfer command comprises either a SATA read command or a SATA write command, the data transfer command comprising a non-zero data transfer length, the data transfer command further comprising one or more standard parameters in accordance with the SATA protocol;
executing the data transfer command in accordance with the additional parameters in the one or more initial commands and in accordance with the standard parameters in the data transfer command.

### Claim 13 (depends on 12)

The method of claim 12
wherein the data transfer command further comprises a tag value, and
wherein each initial command further comprises a tag value,
the method further comprising associating the additional parameters received in the one or more initial commands with the data transfer command by matching the tag values in the commands,
wherein the step of executing further comprises executing the data transfer command in accordance with parameters of the data transfer command and all associated initial commands.

### Claim 14 (depends on 12)

The method of claim 12
wherein an initial command further comprises a first parameter value encoded in a field of the initial command,
wherein the data transfer command further comprises a second parameter value encoded in a field of the data transfer command, and
wherein the step of executing further comprises executing the data transfer command in accordance in accordance with the first parameter and in accordance with the second parameter.

### Claim 15 (depends on 14)

The method of claim 14
wherein the SATA target device is a solid-state drive (SSD), the SSD configured to rely on the SATA initiator device for mapping of logical block addresses (LBAs) to physical block addresses (PBAs),
wherein the first parameter value comprises a PBA derived from an LBA of an I/O request directed to the SSD, and
wherein the second parameter value comprises the LBA.

### Claim 16 (depends on 15)

The method of claim 15
wherein the first parameter value further comprises a sub-tag value, and
wherein the second parameter value further comprises the sub-tag value,
whereby the SSD detects that the sub-tag value in the first parameter value of the initial command matches the sub-tag value in the second parameter value of the data transfer command,
wherein the step of executing further comprises executing the data transfer command in accordance with the first parameter value and in accordance with the second parameter value only when the sub-tag values in the first parameter value and in the second parameter value match.

### Claim 17 (depends on 12)

The method of claim 12
wherein each of the one or more initial commands are designated as Native Command Queuing (NCQ) SATA commands, and
wherein the data transfer command is designated as an NCQ SATA command.

### Claim 18

A system comprising:
a Serial Advanced Technology Attachment (SATA) initiator device; and
a SATA target device,
wherein the initiator device is adapted to transmit to the target device one or more initial commands wherein each of the initial commands comprises either a read command or a write command, each initial command specifying zero length of data to be transferred and comprises one or more parameter values;
wherein the initiator device is further adapted to transmit to the target device a data transfer comprising either a read command or a write command, the data transfer command specifying a non-zero length of data to be transferred; and
wherein the target device is adapted to execute the data transfer command in accordance with the one or more parameters received in each of the one or more initial commands.

### Claim 19 (depends on 18)

The system of claim 18
wherein an initial command further comprises a first parameter value encoded in a field of the initial command,
wherein the data transfer command further comprises a second parameter value encoded in a field of the data transfer command, and
wherein the target device is further adapted to execute the data transfer command in accordance in accordance with the first parameter and in accordance with the second parameter.

### Claim 20 (depends on 19)

The system of claim 19
wherein the SATA target device is a solid-state drive (SSD), the SSD configured to rely on the SATA initiator device for mapping of logical block addresses (LBAs) to physical block addresses (PBAs),
wherein the first parameter value comprises a PBA derived from an LBA of an I/O request directed to the SSD, and
wherein the second parameter value comprises the LBA.

### Claim 21 (depends on 20)

The system of claim 20
wherein the first parameter value further comprises a sub-tag value, and
wherein the second parameter value further comprises the sub-tag value,
whereby the SSD detects that the sub-tag value in the first parameter value of the initial command matches the sub-tag value in the second parameter value of the data transfer command,
wherein the target device is further adapted to execute the data transfer command in accordance with the first parameter value and in accordance with the second parameter value only when the sub-tag values in the first parameter value and in the second parameter value match.
