get_alloc

Synopsis

get_alloc [-d debug_level] [–print_blocks] [–file fname offset len] [–cap full_ibp_capability]|[host port RID key_type key] [–file fname offset len]

Description

Retrieves an allocation’s header and optional data.

Options

key_type
Type of capability used. Should be: read|write|manage|id
–file fname offset len
Stores a portion of the allocation to fname based on the given offset and length
  • fname - Filename of where to store data. If stdout or stderr redirects to that device
  • data_offset - Offset relative to the start of data, after the header.
  • len - Number of bytes to retrieve. If 0 means return all data available starting from offset
–print_blocks
Prints the chksum block information if available
-d debug_level
Sets the debug level. Default is 0.