# US 2022/0294743 A1 · Methods and apparatus for network interface fabric operations

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

- Number: US 2022/0294743 A1
- Document ID: US20220294743A1
- Status: Published application
- Kind: A1
- Application number: 17/826,024
- Filed: 2022-05-26
- Published: 2022-09-15
- Earliest claimed: 2019-09-10
- Assignees: GigaIO Networks, Inc.
- Applicants: GigaIO Networks, Inc.
- Inventors: Eric Badger
- Web page: https://patentgrep.com/patent/US20220294743A1

## CPC

- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 9/545: {where tasks reside in different layers, e.g. user- and kernel-space}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 15/163: Interprocessor communication
- H04L 47/6215: {Individual queue per QOS, rate or priority}
- H04L 47/6255: {queue load conditions, e.g. longest queue first}
- H04L 47/6295: using multiple queues, one for each individual QoS, connection, flow or priority
- G06F 2213/0026: PCI express
- 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

Methods and apparatus for improved send/receive operations in network interface fabrics. In one exemplary embodiment, mechanisms and protocols for enhanced inter-process (and inter-endpoint) communication, including within very large scale topologies involving e.g., hundreds or even thousands of nodes or endpoints, such as a large-scale high-performance compute or network fabric, are described. In one implementation, the methods and apparatus avoid frequent kernel transitions (and the performance penalties associated therewith) associated with prior approaches through use of UMCs (user message contexts) are created, which contain TX and RX queues that can be read and written directly from user space. A KMC (kernel message context) is also used, in which TX queues are written from the kernel such that access can be arbitrated between unrelated processes. These functions allow for, among other things, significant portions of the foregoing kernel accesses to be obviated.

## Claims

### Claim at position 1

-18. (canceled)

### Claim 19

A message data processing system within a computerized system, the computerized system comprising a data fabric interconnecting a plurality of computerized nodes, the message data processing system comprising:
at least one UMC (user message context) comprising at least one TX (transmit) queue and at least one RX (receive) queue; and
at least one KMC (kernel message context) comprising at least one TX queue;
wherein the at least one TX queue and at least one RX queue of the at least one UMC can be read from, and written to, directly from user space.

### Claim 20 (depends on 19)

The message data processing system of claim 19, wherein the at least one TX queue of the KMC is configured to be written from a kernel associated with the at least one KMC such that access can be arbitrated between unrelated computerized processes.

### Claim 21 (depends on 20)

The message data processing system of claim 20, wherein:
the plurality of computerized nodes comprise PCIe (peripheral component interconnect express) compliant nodes in data communication with one another via the fabric; and
each of the plurality of PCIe compliant nodes comprises at least one of said UMC and at least one of said KMC.

### Claim 22 (depends on 19)

The message data processing system of claim 19, wherein:
the at least one TX queue of the KMC comprises at least one first SRQ (static receive queue);
the at least one RX queue of the UMC comprises at least one second SRQ (static receive queue); and
the at least one first SRQ is in data communication with the at least one second SRQ such that the at least one first SRQ can exchange message data with the at least one second SRQ.

### Claim 23 (depends on 19)

The message data processing system of claim 19, wherein the at least one TX queue of the UMC comprises at least one dynamic queue pair (DQP), the at least one DQP configured to dynamically provide (i) said at least one TX (transmit) queue, and (ii) said at least one RX (receive) queue of said at least one UMC.

### Claim 24

A computerized apparatus, comprising:
data processor apparatus;
at least one data interface in data communication with the data processor apparatus; and
a storage device in data communication with the processor apparatus, the storage device comprising at least one computer program configured to, when executed by the data processor apparatus, cause:
generation of data specific to a first type of operation;
queueing of a first message in a first queue of the computerized apparatus, the first message comprising data descriptive of a data structure;
transmission of a second message from the computerized apparatus to a second computerized apparatus, the second message configured to enable the second computerized apparatus to perform a device-specific system call;
receipt at the computerized apparatus of data comprising (i) an address of a second data structure, and (ii) at least part of the data specific to the first type of operation;
validation of the received data based at least on the received at least part of the data specific to the first type of operation; and
based at least on the validation, cause performance of a storage access operation using at least a kernel of the computerized apparatus.

### Claim 25 (depends on 24)

The computerized apparatus of claim 24, wherein:
the first type of operation comprises a transmit operation; and
the data structure comprises a transmit buffer of the computerized apparatus.

### Claim 26 (depends on 25)

The computerized apparatus of claim 25, wherein the second data structure comprises a receive buffer of the second computerized apparatus.

### Claim 27 (depends on 24)

The computerized apparatus of claim 24, wherein the computerized apparatus is in data communication with the second computerized apparatus via at least a PCIe (Peripheral Component Interconnect express) compliant data fabric.

### Claim 28 (depends on 24)

The computerized apparatus of claim 24, further comprising:
at least one UMC (user message context) comprising at least one TX (transmit) queue and at least one RX (receive) queue; and
at least one KMC (kernel message context) comprising at least one TX queue;
wherein the at least one TX queue and at least one RX queue of the at least one UMC can be read from, and written to, directly from user space.

### Claim 29 (depends on 28)

The computerized apparatus of claim 28, wherein the first queue comprises the at least one TX (transmit) queue.

### Claim 30 (depends on 24)

The computerized apparatus of claim 24, wherein:
the generation of data specific to a first type of operation comprises generating a key; and
the queueing a first message comprises queueing a message on a user-to-kernel queue comprising (i) at least one of a buffer address or length, and (ii) the generated key.

### Claim 31 (depends on 30)

The computerized apparatus of claim 30, wherein:
the device-specific system call comprises an ioctl operation; and
the receipt at the computerized apparatus of data comprising (i) an address of a second data structure, and (ii) at least part of the data specific to the first type of operation, comprises receiving at the kernel of the computerized apparatus the data comprising (i) and (ii) sent by a kernel of the second computerized apparatus.

### Claim 32 (depends on 24)

The computerized apparatus of claim 24, wherein the causation of performance of a storage access operation using at least a kernel of the computerized apparatus comprises causation of performance of a DMA (direct memory access) operation using at least a kernel of the computerized apparatus.

### Claim 33 (depends on 32)

The computerized apparatus of claim 32, wherein the performance of the DMA operation comprises:
use of the kernel of the computerized apparatus to initiate the DMA operation from a source to a destination;
use of the kernel of the computerized apparatus to receive a DMA completion notification; and
use of the kernel of the computerized apparatus to write a DMA completion event on a kernel-to-user queue of the computerized apparatus.

### Claim 34 (depends on 33)

The computerized apparatus of claim 33, wherein the at least one computer program is further configured to, when executed by the data processor apparatus, cause the kernel of the computerized apparatus to transmit a message to the kernel of the second computerized message, the transmitted message configured to cause the kernel of the second computerized apparatus to write an event on at least one queue of the second computerized apparatus.

### Claim 35

A method of providing at least inter-process communication within a networked topology comprising a plurality of computerized nodes interconnected via at least a data network fabric, the method comprising:
queueing and causing transaction of data messages at least between any two of the plurality of computerized nodes using at least one UMC (user message context) associated with each of the at least two computerized nodes; and
wherein the queueing and the causing transaction of the data messages occurs without requiring transition of one or more user processes associated with the any two of the plurality of computerized nodes transitioning to a respective kernel thereof.

### Claim 36 (depends on 35)

The method of claim 35, wherein:
the at least one UMC (user message context) associated with each of the at least two computerized nodes each comprise at least one TX (transmit) and at least one RX (receive) queue; and
the method further comprising notifying the one or more user processes of the at least any two computerized nodes, respectively, of a presence of one of more of the data messages in one or more of the at least one TX queue or the at least one RX queue without use of polling, the polling that requires the one or more user processes to transition to their respective kernel.

### Claim 37 (depends on 35)

The method of claim 35, wherein the queueing and causing transaction of data messages at least between any two of the plurality of computerized nodes further comprises using at least one KMC (kernel message context) associated with respective ones of the any two computerized nodes, wherein one or more TX queues of the at least one KMC are written from the kernel of the respective computerized node such that one or more access operations can be arbitrated between at least two unrelated processes.

### Claim 38 (depends on 35)

The method of claim 35, wherein the plurality of computerized nodes comprises at least one hundred (100) computerized nodes.
