OpenSSD Cosmos+ Platform Firmware  0.0.2
The firmware of Cosmos+ OpenSSD Platform for TOSHIBA nand flash module.
_SSD_REQ_FORMAT Struct Reference

The structure of a slice command. More...

#include <request_format.h>

Collaboration diagram for _SSD_REQ_FORMAT:

Data Fields

unsigned int reqType: 4
 
unsigned int reqQueueType: 4
 
unsigned int reqCode: 8
 
unsigned int nvmeCmdSlotTag: 16
 
unsigned int logicalSliceAddr
 
REQ_OPTION reqOpt
 
DATA_BUF_INFO dataBufInfo
 
NVME_DMA_INFO nvmeDmaInfo
 
NAND_INFO nandInfo
 
unsigned int prevReq: 16
 
unsigned int nextReq: 16
 
unsigned int prevBlockingReq: 16
 
unsigned int nextBlockingReq: 16
 

Detailed Description

The structure of a slice command.

This structure can split into 4 parts:

Todo:
  • address: The logical address of the underlying slice command.
  • request type:

    As described in the structure of request pool REQ_POOL, this structure is used for distinguishing the type of requests.

  • request info
  • relation between requests:

Definition at line 252 of file request_format.h.

Field Documentation

◆ dataBufInfo

DATA_BUF_INFO _SSD_REQ_FORMAT::dataBufInfo

Definition at line 262 of file request_format.h.

◆ logicalSliceAddr

unsigned int _SSD_REQ_FORMAT::logicalSliceAddr

Definition at line 259 of file request_format.h.

◆ nandInfo

NAND_INFO _SSD_REQ_FORMAT::nandInfo

Definition at line 264 of file request_format.h.

◆ nextBlockingReq

unsigned int _SSD_REQ_FORMAT::nextBlockingReq

Definition at line 269 of file request_format.h.

◆ nextReq

unsigned int _SSD_REQ_FORMAT::nextReq

Definition at line 267 of file request_format.h.

◆ nvmeCmdSlotTag

unsigned int _SSD_REQ_FORMAT::nvmeCmdSlotTag

Definition at line 257 of file request_format.h.

◆ nvmeDmaInfo

NVME_DMA_INFO _SSD_REQ_FORMAT::nvmeDmaInfo

Definition at line 263 of file request_format.h.

◆ prevBlockingReq

unsigned int _SSD_REQ_FORMAT::prevBlockingReq

Definition at line 268 of file request_format.h.

◆ prevReq

unsigned int _SSD_REQ_FORMAT::prevReq

Definition at line 266 of file request_format.h.

◆ reqCode

unsigned int _SSD_REQ_FORMAT::reqCode

Definition at line 256 of file request_format.h.

◆ reqOpt

REQ_OPTION _SSD_REQ_FORMAT::reqOpt

Definition at line 261 of file request_format.h.

◆ reqQueueType

unsigned int _SSD_REQ_FORMAT::reqQueueType

Definition at line 255 of file request_format.h.

◆ reqType

unsigned int _SSD_REQ_FORMAT::reqType

Definition at line 254 of file request_format.h.


The documentation for this struct was generated from the following file: