# US 11,902,372 B1 · Session sharing with remote direct memory access connections

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

- Number: US 11,902,372 B1
- Document ID: US11902372B1
- Status: Granted
- Kind: B1
- Application number: 18/314,327
- Filed: 2023-05-09
- Granted: 2024-02-13
- Earliest claimed: 2023-05-09
- Assignees: Mellanox Technologies, Ltd.
- Applicants: Mellanox Technologies, Ltd.
- Inventors: Adi Merav Horowitz; Rabia Loulou; Omri Kahalon; Gal Shalom; Aviad Yehezkel; Asaf Schwartz; Liran Liss
- Web page: https://patentgrep.com/patent/US11902372B1

## CPC

- 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]
- H04L 67/146: Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods enable session sharing for session-based remote direct memory access (RDMA). Multiple queue pairs (QPs) can be added to a single session and/or session group where each of the QPs has a common remote. Systems and methods may query a session ID for an existing session group and then use the session ID with an add QP request to join additional QPs to an existing session. Newly added QPs may share one or more features with existing QPs of the session group, such as encryption parameters. Additionally, newly added QPs may be configured with different performance or quality of service requirements, thereby isolating performance, and permitting true scaling for high performance computing applications.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving a request to query an established remote direct memory access (RDMA) session group;
providing, responsive to the query, a session identifier (ID) for the established RDMA session group;
receiving a message to add a new queue pair (QP) to the established RDMA session group;
determining, based, at least, on the session ID, that a remote of the new QP is the same as a remote for the session group, the remote including at least one of a destination internet protocol (IP) or a destination user datagram protocol (UDP) port;
configuring one or more parameters of the new QP based, at least, on operating parameters of the RDMA session group; and
establishing a connection for the new QP using the one or more parameters through the established RDMA session group.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a packet for the new QP; and
routing transmission of the packet along an established RDMA session of the established RDMA session group.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the new QP has at least one of a different performance level or a different level of service than one or more other QPs associated with the established RDMA session group.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the message includes a second request to add a second new QP to the established RDMA session group.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the second request is provided responsive to a determination that existing QPs of the RDMA session group are below one or more performance thresholds.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a second message to add a second new QP to the established RDMA session group;
determining, based, at least, on the session ID, that a remote of the second new QP is different from as a second remote for the session group; and
establishing a new RDMA session group for the second new QP.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more parameters include encryption and encapsulation parameters.

### Claim 8

A system, comprising:
one or more processors to add a new queue pair (QP) to an established remote direct memory access (RDMA) session group when the new QP is determined to have, based at least on a session identifier (ID) for the established RDMA session group, a new QP remote that is the same as an established QP remote associated with an established QP connected to the established RDMA session group, to configure the new QP with one or more connection parameters of the established QP, and to establish a connection for the new QP using the one or more connection parameters through the established RDMA session group, wherein the session ID is provided based on a request to query the established RDMA session group, and wherein the new QP remote is at least one of a destination internet protocol (IP) or a destination user datagram protocol (UDP) port.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more processors are further to:
determine a performance parameter for the established QP is below a performance threshold.

### Claim 10 (depends on 8)

The system of claim 8, wherein the new QP has at least one of a different performance level or a different level of service than the established QP.

### Claim 11 (depends on 8)

The system of claim 8, wherein the one or more processors are further to:
establish a second RDMA session group for an additional QP having a second remote different from the new QP and the established QP.

### Claim 12 (depends on 8)

The system of claim 8, wherein the new QP shares one or more encryption parameters with the established QP.

### Claim 13 (depends on 8)

The system of claim 8, wherein the system is comprised in at least one of:
a system for performing simulation operations;
a system for performing simulation operations to test or validate autonomous machine applications;
a system for rendering graphical output;
a system for performing deep learning operations;
a system implemented using an edge device;
a system for generating or presenting virtual reality (VR) content;
a system for generating or presenting augmented reality (AR) content;
a system for generating or presenting mixed reality (MR) content;
a system incorporating one or more Virtual Machines (VMs);
a system implemented at least partially in a data center;
a system for performing hardware testing using simulation;
a system for synthetic data generation;
a collaborative content creation platform for 3D assets; or
a system implemented at least partially using cloud computing resources.
