Loading...
Searching...
No Matches
spdk_dif_ctx Struct Reference

DIF context information. More...

#include <dif.h>

Data Fields

uint32_t block_size
 Block size.
 
uint32_t guard_interval
 Interval for guard computation for DIF.
 
uint32_t md_size
 Metadata size.
 
bool md_interleave
 Metadata location.
 
uint8_t dif_type
 DIF type.
 
uint8_t dif_pi_format
 DIF Protection Information format.
 
uint8_t rsvd [1]
 
uint32_t dif_flags
 
uint8_t rsvd2 [4]
 
uint64_t init_ref_tag
 
uint16_t app_tag
 Application tag.
 
uint16_t apptag_mask
 
uint32_t data_offset
 
uint32_t ref_tag_offset
 
uint32_t remapped_init_ref_tag
 
uint64_t last_guard
 Guard value of the last data block.
 
uint64_t guard_seed
 

Detailed Description

DIF context information.

Field Documentation

◆ last_guard

uint64_t spdk_dif_ctx::last_guard

Guard value of the last data block.

Interim guard value is set if the last data block is partial, or seed value is set otherwise.


The documentation for this struct was generated from the following file:
  • dif.h