# US 2023/0409514 A1 · Transaction based remote direct memory access

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

- Number: US 2023/0409514 A1
- Document ID: US20230409514A1
- Status: Published application
- Kind: A1
- Application number: 18/239,694
- Filed: 2023-08-29
- Published: 2023-12-21
- Earliest claimed: 2015-06-19
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Nafea Bshara; Leah Shalev; Erez Izenberg; Georgy Machulsky; Guy Nakibly
- Web page: https://patentgrep.com/patent/US20230409514A1

## CPC

- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Apparatus and methods are disclosed herein for remote, direct memory access (RDMA) technology that enables direct memory access from one host computer memory to another host computer memory over a physical or virtual computer network. In one example, RDMA functionality is provided by combining a host executing instructions for RDMA software applications with dedicated hardware accelerator, where the host has access to substantially all RDMA connection context (e.g., configuration, status, state machine, counters, etc.) and a hardware accelerator stores a portion of the context information for a set of currently active transactions. The hardware accelerator derives a transaction identifier from header information in received RDMA packets and performs a local RDMA operation using at least a portion of the received data, a destination address of the location RDMA operation being based at least in part on a memory address determined using the transaction identifier.

## Claims

### Claim at position 1

1-30. (canceled)

### Claim 31

A remote direct memory access (RDMA) controller configurable to be in communication with a computing host comprising at least one processor, a network adapter, a transaction memory, and a main memory, the RDMA controller being configured to accelerate an RDMA operation bypassing the computing host by:
responsive to receiving an RDMA initiation packet indicating initiation of an RDMA transaction, generating and storing a first transaction identifier in the transaction memory, the first transaction identifier being derived from at least two fields of an RDMA header of the RDMA initiation packet; and
producing and storing RDMA context data for the RDMA transaction in the transaction memory at a memory address associated with the first transaction identifier, wherein:
the main memory is configured to store transaction identifiers for all active RDMA transactions handled by the computing host, and
the transaction memory is configured to store transaction identifiers and context data derived from respective RDMA headers for at least two active RDMA transactions being processed by the RDMA controller.

### Claim 32 (depends on 31)

The RDMA controller of claim 31, being further configured to:
receive data sent with additional RDMA packets for the initiated RDMA transaction, the data including a second RDMA header;
generate a second transaction identifier based on the second RDMA header;
with the second transaction identifier, retrieve at least a portion of the context data from the transaction memory, the RDMA context data being derived from an RDMA header of the RDMA initiation packet; and
based on the retrieved at least a portion of the context data, perform at least one operation of the RDMA transaction.

### Claim 33 (depends on 32)

The RDMA controller of claim 32, being further configured to:
based on the context data stored in the transaction memory, determine a target location in the main memory, the determined target location being used to perform the at least one operation of the RDMA transaction.

### Claim 34 (depends on 33)

The RDMA controller of claim 33, wherein:
the context data is retrieved by performing a content-addressable memory (CAM) lookup using the second transaction identifier.

### Claim 35 (depends on 32)

The RDMA controller of claim 32, being further configured to:
validate the RDMA transaction by comparing context data stored in the transaction memory to the data received with at least one of the additional RDMA packets.

### Claim 36 (depends on 31)

The RDMA controller of claim 31, wherein performing the RDMA operation comprises receiving a plurality of data packets via the network adapter, and wherein at least one packet of the plurality of data packets is received in a different order than an order in which the plurality of data packets was sent.

### Claim 37 (depends on 31)

The RDMA controller of claim 31, configured to perform the RDMA operation by generating a physical memory address without using a host memory translation table.

### Claim 38 (depends on 31)

The RDMA controller of claim 31, configured to perform the RDMA operation by generating a guest virtual machine physical memory address without using a guest virtual machine memory translation table.

### Claim 39 (depends on 31)

A computing host, comprising:
the RDMA controller of claim 31;
the at least one processor;
the network adapter; the transaction memory; and
the main memory.

### Claim 40 (depends on 39)

A system, wherein the computing host of claim 39 is an RDMA target system, the system comprising:
the RDMA target system; and
an RDMA source system configured to communicate with the RDMA target system via a computer network by sending data for the RDMA transaction via the computer network to the RDMA target system, the data including the RDMA header.

### Claim 41

A method of performing a remote direct memory access (RDMA) operation with a computing system having a host processor and an RDMA controller, the method comprising:
with the RDMA controller:
deriving a transaction identifier from at least two fields of a remote direct memory access (RDMA) header of at least one RDMA packet of a plurality of RDMA packets for the RDMA operation;
storing the transaction identifier in a transaction memory not accessible to a host processor;
storing RDMA context data for the RDMA operation in the transaction memory at an address associated with the transaction identifier, the RDMA context data being derived from an RDMA header of the RDMA packet;
associating the derived transaction identifier with the RDMA operation; and
performing the RDMA operation, a destination address of the RDMA operation being derived at least in part using RDMA context data stored for the transaction identifier in the transaction memory.

### Claim 42 (depends on 41)

The method of claim 41, further comprising:
determining whether an RDMA packet of the plurality of RDMA packets is qualified for acceleration, and
if the RDMA controller determines the RDMA packet is qualified for acceleration, determining the destination address without using a host memory translation table, and
if the RDMA controller determines the RDMA packet is not qualified for acceleration, handing off further processing of the RDMA packet to the host processor.

### Claim 43 (depends on 41)

The method of claim 41, wherein the performing the RDMA operation comprises a direct memory access that copies data from the plurality of RDMA packets to host memory without using a host processor.

### Claim 44 (depends on 41)

The method of claim 41, wherein the performing the RDMA operation comprises generating a physical memory address without using a host memory translation table.

### Claim 45 (depends on 41)

The method of claim 41, wherein:
the RDMA operation is a plurality of two or more RDMA transactions, the plurality of RDMA transactions being assigned to memory locations within the same portion of memory of an RDMA host.

### Claim 46 (depends on 41)

The method of claim 41, wherein a plurality of RDMA packets are received via a network adapter in an out-of-order fashion from an order in which the RDMA packets were sent, and wherein the deriving, the associating, and the performing the RDMA operation are performed for each of the plurality of RDMA packets.

### Claim 47 (depends on 41)

The method of claim 41, wherein the transaction memory comprises at least one of: static random access memory (SRAM), dynamic random access memory (DRAM), electrically erasable programmable read only memory (EEPROM), or flash memory.

### Claim 48 (depends on 41)

The method of claim 41, further comprising validating the RDMA packet by comparing at least a portion of a header field of the RDMA packet with information stored in a memory that is addressed using the derived transaction identifier.

### Claim 49 (depends on 41)

Computer-readable storage media storing computer-readable instructions that upon execution by the RDMA controller, cause the RDMA controller to perform the method of claim 41.

### Claim 50

A computing device comprising:
means for deriving a transaction identifier from data in a received remote direct memory access (RDMA) packet;
means for storing the derived transaction identifier; and
a host comprising a processor and a main memory, the processor being configured to access data stored in the main memory but not connected to the means for storing the derived transaction identifier.
