構造体定義書 HotDocument 今井浩司

hermonprm_mpt_st

構文構文

Little Endian

struct hermonprm_mpt_st

ファイル名ファイル名

MT25408_PRM.h

構造体情報構造体情報

No. 名称 属性説明
1
hermonprm_mpt_st  Little Endian
  reserved0[0x00008] pseudo_bit_t  
  r_w[0x00001] pseudo_bit_t Defines whether this entry is Region (1) or Window (0)
  pa[0x00001] pseudo_bit_t Physical address. If set, no virtual-to-physical address translation is performed for this region
  lr[0x00001] pseudo_bit_t If set - local read access is enabled. Must be set for all MPT Entries.
  lw[0x00001] pseudo_bit_t If set - local write access is enabled
  rr[0x00001] pseudo_bit_t If set - remote read access is enabled.
  rw[0x00001] pseudo_bit_t If set - remote write access is enabled
  atomic[0x00001] pseudo_bit_t If set - remote Atomic access is allowed.
  eb[0x00001] pseudo_bit_t If set - bind is enabled. Valid only for regions.
  atc_req[0x00001] pseudo_bit_t If set, second hop of address translation (PA to MA) to be performed in the device prior to issuing the uplink request.
  atc_xlated[0x00001] pseudo_bit_t If set, uplink cycle to be issues with ツ鄭TC_translatedツ・indicator to force bypass of the chipset IOMMU.
  reserved1[0x00001] pseudo_bit_t  
  no_snoop[0x00001] pseudo_bit_t If set, issue PCIe cycle with テサno Snoopテソ attribute - cycle not to be snooped in CPU caches
  reserved2[0x00008] pseudo_bit_t  
  status[0x00004] pseudo_bit_t 0xF - Not Valid 0x3 - Free. else - HW ownership.Unbound Type1 windows are denoted by reg_wnd_len=0. Unbound Type II windows are
  reserved3[0x00007] pseudo_bit_t  
  bqp[0x00001] pseudo_bit_t 0 - not bound to qp (type 1 window, MR)1 - bound to qp (type 2 window)
  qpn[0x00018] pseudo_bit_t QP number this MW is attached to. Valid for type2 memory windows and on QUERY_MPT only
  mem_key[0x00020] pseudo_bit_t The memory Key. The field holds the mem_key field in the following semantics: {key[7:0],key[31:8]}.
  pd[0x00018] pseudo_bit_t Protection Domain. If VMM support is enabled PD[17:23] specify Guest VM Identifier
  en_rinv[0x00001] pseudo_bit_t Enable remote invalidation
  ei[0x00001] pseudo_bit_t Enable Invalidation - When set, Local/Remote invalidation can be executed on this window/region. Must be set for type2 windows
  nce[0x00001] pseudo_bit_t Data can be cached in Network Cache (see テサNetwork Cacheテソ on page 81)
  fre[0x00001] pseudo_bit_t When set, Fast Registration Operations can be executed on this region
  rae[0x00001] pseudo_bit_t When set, remote access can be enabled on this region. Used when executing Fast Registration Work Request to validate that remo
  w_dif[0x00001] pseudo_bit_t Wire space contains dif
  m_dif[0x00001] pseudo_bit_t Memory space contains dif
  reserved4[0x00001] pseudo_bit_t  
  start_addr_h[0x00020] pseudo_bit_t Start Address - Virtual Address where this region/window starts
  start_addr_l[0x00020] pseudo_bit_t Start Address - Virtual Address where this region/window starts
  len_h[0x00020] pseudo_bit_t Region/Window Length
  len_l[0x00020] pseudo_bit_t Region/Window Length
  lkey[0x00020] pseudo_bit_t Must be 0 for SW2HW_MPT. On QUERY_MPT and HW2SW_MPT commands for Memory Window it reflects the LKey of the Region that the Wind
  win_cnt[0x00018] pseudo_bit_t Number of windows bound to this region. Valid for regions only.The field is valid only for the QUERY_MPT and HW2SW_MPT commands
  reserved5[0x00008] pseudo_bit_t  
  mtt_rep[0x00004] pseudo_bit_t Log (base 2) of the number of time an MTT is replicated.E.g. for 64KB virtual blocks from 512B blocks, a replication factor of
  reserved6[0x00011] pseudo_bit_t  
  block_mode[0x00001] pseudo_bit_t If set, the page size is not power of two, and entity_size is in bytes.
  len64[0x00001] pseudo_bit_t Region/Window Length[64]. This bit added to enable registering 2^64 bytes per region
  fbo_en[0x00001] pseudo_bit_t If set, mtt_fbo field is valid, otherwise it is calculated from least significant bytes of the address. Must be set when mtt_re
  reserved7[0x00008] pseudo_bit_t  
  mtt_adr_h[0x00008] pseudo_bit_t Offset to MTT list for this region. Must be aligned on 8 bytes.
  reserved8[0x00018] pseudo_bit_t  
  mtt_adr_l[0x00020] pseudo_bit_t Offset to MTT list for this region. Must be aligned on 8 bytes.###michal-relpaced with: RESERVED .3;mtt_adr_l .29; gdror - this
  mtt_size[0x00020] pseudo_bit_t Number of MTT entries allocated for this MR.When Fast Registration Operations cannot be executed on this region (FRE bit is zer
  entity_size[0x00015] pseudo_bit_t Page/block size. If MPT maps pages, the page size is 2entiry_size. If MPT maps blocks, the entity_size field specifies block si
  reserved9[0x0000b] pseudo_bit_t  
  mtt_fbo[0x00015] pseudo_bit_t First byte offset in the zero-based region - the first byte within the first block/page start address refers to. When mtt_rep i
  reserved10[0x0000b] pseudo_bit_t  

See Also

目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー