Skip to content

Struct _fpga_token_header

ClassList > _fpga_token_header

Internal token type header. More...

  • #include <types.h>

Public Attributes

Type Name
uint8_t bus
uint8_t device
uint16_t device_id
uint8_t function
fpga_guid guid
fpga_interface interface
uint64_t magic
uint64_t object_id
fpga_objtype objtype
uint16_t segment
uint16_t subsystem_device_id
uint16_t subsystem_vendor_id
uint16_t vendor_id

Detailed Description

Each plugin (dfl: libxfpga.so, vfio: libopae-v.so) implements its own proprietary token type. This header must appear at offset zero within that structure.

eg, see lib/plugins/xfpga/types_int.h:struct _fpga_token and lib/plugins/vfio/opae_vfio.h:struct _vfio_token.

Public Attributes Documentation

variable bus

uint8_t _fpga_token_header::bus;

variable device

uint8_t _fpga_token_header::device;

variable device_id

uint16_t _fpga_token_header::device_id;

variable function

uint8_t _fpga_token_header::function;

variable guid

fpga_guid _fpga_token_header::guid;

variable interface

fpga_interface _fpga_token_header::interface;

variable magic

uint64_t _fpga_token_header::magic;

variable object_id

uint64_t _fpga_token_header::object_id;

variable objtype

fpga_objtype _fpga_token_header::objtype;

variable segment

uint16_t _fpga_token_header::segment;

variable subsystem_device_id

uint16_t _fpga_token_header::subsystem_device_id;

variable subsystem_vendor_id

uint16_t _fpga_token_header::subsystem_vendor_id;

variable vendor_id

uint16_t _fpga_token_header::vendor_id;

The documentation for this class was generated from the following file docs/sw/include/opae/types.h