# US 2021/0334226 A1 · Systems, methods and apparatus for a storage controller wtih multi-mode pcie functionalities

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

- Number: US 2021/0334226 A1
- Document ID: US20210334226A1
- Status: Published application
- Kind: A1
- Application number: 17/278,270
- Filed: 2019-09-20
- Published: 2021-10-28
- Earliest claimed: 2018-09-21
- Assignees: Suzhou Kuhan Information Technologies Co., Ltd.
- Applicants: Suzhou Kuhan Information Technologies Co., Ltd.
- Inventors: Kwok Wah Yeung; Ka Wing Cheung; David Crespi
- Web page: https://patentgrep.com/patent/US20210334226A1

## CPC

- G06F 13/1668: {Details of memory controller}
- G06F 13/382: {using universal interface adapter}
- G06F 13/16: for access to memory bus (G06F13/28 takes precedence)
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 2213/0026: PCI express
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A standalone Storage Controller with PCIe Multi-Mode capability that can be configured as PCIe Root-Complex (RC), an End-Point (EP) or a bridge (BR). In EP mode, the Storage Controller acts like a regular PCIe slaved controller which is connected to a PCIe Root-Complex provided by a Host via a PCIe port. While in RC mode, the Storage Controller acts as a PCIe configuration and management entity, a Host acting as a PCIe Root-Complex, which an add-in card or chip can attach to via a PCIe port that is provided by the Storage Controller, supporting any type of Network Device Interface, without an external Root-Complex. While in bridge mode, the Storage Controller can act as a transparent or non-transparent bridge with either a Root-Complex or End-Point port for the internal connection to the bridge.

## Claims

### Claim 1

A Storage Controller system comprising:
a Network Interface;
a Flash Memory;
a Storage Controller, the Storage Controller comprising:
a PCIe connector coupled to a Network Interface;
storage interface logic coupled to Flash Memory;
a PCIe functional element that supports both End-Point and Root-Complex modes; and
a Host,
the host coupled to the network interface,
the flash memory coupled to the Storage Controller, and
the network interface coupled with the Storage Controller,2
whereby the Storage Controller, acting as a PCIe master in Root-Complex mode, sends frames from Flash Memory through the Network Interface to the remote host as an initiator, and the Storage Controller acting as a PCIe slave in End-Point mode is controlled by the external host as PCIe master, to transfer frames to and from Flash Memory.

### Claim 2 (depends on 1)

The system described in claim 1 whereby the network interface is one or more of the following: PCIe bridge, PCIe to Ethernet converter, Ethernet NIC, an InfiniBand NIC, a Fibre Channel Adapter.

### Claim 3 (depends on 1)

The system described in claim 1 whereby the Storage Controller comprises one or more of the following: PCIe connector, PCIe PHY, PCIe L/T Multi-Mode RC/EP/BR, Logic Module that may have an eCPU, Application Logic, Memory Buffer, Storage Logic, SAS/SATA Interface, Storage Interface Logic.

### Claim 4 (depends on 1)

The system described in claim 1 whereby the Storage Controller comprises Storage Interface logic connecting the Storage Controller to one or more of the following: Flash memory, PCIe Storage Device, SAS/SATA Storage Device.

### Claim 5 (depends on 1)

The system described in claim 1 whereby the Storage Controller comprises a logic module, the logic module may comprise one or more of the following:
embedded CPU, hardware registers, hardware multiplexors, hardware ram blocks.

### Claim 6 (depends on 1)

The system in claim 1 whereby the PCIe functional element End-Point and Root-Complex modes may be set by one or more of the following methods: a writing a value in a settable register, a hardware pin that is connected to power or ground, an SOC metal mask option, a value read in from an SOC JEDEC port, a value read in from two or more pins.

### Claim 7 (depends on 1)

The system described in claim 1 whereby the Storage Controller functions as a Root Complex on a first port while simultaneously the Storage Controller functions as an End-Point on a second port.

### Claim 8 (depends on 7)

The system described in claim 7 whereby the Storage Controller is comprised of two or more PCIe ports.

### Claim 9 (depends on 7)

The system described in claim 7 whereby the Storage Controller comprises an embedded CPU, the said CPU may read one or more of the PCIe frame fields for a received PCIe frame.

### Claim 10

A method for forwarding data from a flash memory device through a storage controller to a remote host through a network interface device, the method comprising:
upon startup the Storage Controller in root complex mode configures external PCIe devices, the Storage Controller then transferring data between the flash memory and the remote host though the network interface device.

### Claim 11 (depends on 10)

The method in claim 10 whereby the data transferred between the flash memory and the storage controller uses ONFI.

### Claim 12

An apparatus for transferring data between a host coupled to a network interface controller and flash memory, the apparatus comprising:
a Storage Controller, the storage controller comprising:
a PCIe connector coupled to a Network Interface;
storage interface logic coupled to Flash Memory; and
a PCIe functional element that supports both End-Point and Root-Complex modes,
whereby the Storage Controller is coupled to the Flash Memory and the Network Interface Controller, whereby the Storage Controller, acting as a PCIe master in Root-Complex mode, transfers data between the Flash Memory through the Network Interface to the remote host as an initiator, and the Storage Controller acting as a PCIe slave in End-Point mode is controlled by the external host as PCIe master to transfer frame to and from Flash Memory.

### Claim 13 (depends on 12)

The system in claim 12 whereby the PCIe functional element End-Point and Root-Complex modes may be set by one or more of the following methods: a writing a value in a settable register, a hardware pin that is connected to power or ground, an SOC metal mask option, a value read in from an SOC JEDEC port, a value read in from two or more pins.

### Claim 14 (depends on 12)

The apparatus in claim 12 whereby the Flash Memory is coupled to the storage controller through the ONFI protocol.

### Claim at position 15

-21. (canceled)

### Claim 22

A system for transferring NVMe over Fabrics data between a source device and a storage controller, the system comprising:
a source device, the source device capable of connecting to another NVMe over fabrics device and send and receiving data,
a storage controller, the storage controller comprising:
a buffer, the buffer used to receive NVMe over Fabrics data, eCPU, the eCPU used to execute instructions to service receive NVMe over Fabrics data and is used to execute instructions to send and receive data over storage logic,
whereby the source device is coupled to the storage controller and NVMe over Fabrics data is exchanged between the source device and the storage controller.

### Claim 23 (depends on 22)

The system in claim 22 further comprising one or more of the following: ONFI channel coupled to storage logic which is coupled to the buffer, NAND device coupled to the storage logic which is coupled to the buffer.

### Claim 24 (depends on 22)

The system in claim 22 further comprising one or more of the following NVMe over Fabrics transport protocols: TCP, RDMA, Fibre Channel.

### Claim 25

A method for transferring NVMe over Fabrics data between a source device and a storage controller, the method comprising:
sending NVMe over Fabrics data from the source device, receiving NVMe over Fabrics data by a storage controller, the storage controller receives the data in a buffer, the storage controller comprising a eCPU, the eCPU executes instruction to service NVMe over Fabrics data and optionally writes all or part of the data over storage logic to persistent storage.

### Claim 26 (depends on 25)

The method in claim 25 further comprising an ONFI channel whereby all or part of the NVMe over Fabrics data received is written by the eCPU through storage logic to the ONFI channel.

### Claim 27 (depends on 25)

The method in claim 25 further comprising one or more of the following NVMe over Fabrics transport protocols: TCP, RDMA, Fibre Channel.

### Claim 28

An apparatus for receiving and sending NVMe over Fabrics data comprising:
a Storage Controller, the Storage Controller comprising:
a buffer,
a eCPU for executing software instructions,
Storage Logic, the Storage Logic coupled to a Storage Channel or Storage Bus
whereby the Storage Controller receives NVMe over Fabrics data and moves all or part of the data into the buffer, the eCPU executes software instructions to service the NVMe over Fabrics frames and optionally sends all or part of the data to the Storage Logic; the Storage Controller also sends NVMe over Fabrics data from the buffer to other devices coupled to the Storage Controller.

### Claim 29 (depends on 28)

The apparatus in claim 28 further comprising support for one or more of the following NVMe over Fabrics transport protocols: TCP, RDMA, Fibre Channel.
