Data Plane Development Kit Reference Manual: Intel FPGA Programmable Acceleration Card N3000

ID 683512
Date 12/06/2019
Public
Document Table of Contents

2.4.4. OPAE Bridge

The $RTE_SDK/drivers/raw/ifpga/base/opae_hw_api.h header file defines the following opae_bridge data structures.
struct opae_bridge {
	const char *name;
	int id;
	struct opae_accelerator *acc;
	struct opae_bridge_ops *ops;
	void *data;
};
Table 7.  opae_bridge Struct Field Definitions
Data Structure Field Names Description
name A pointer to the opae_manager name.
id The index of the port number.
acc A pointer to the opae_accelerator data structure:
struct opae_bridge {
	const char *name;
	int id;
	struct opae_accelerator *acc;
	struct opae_bridge_ops *ops;
	void *data;	
};
ops A pointer to the opae_bridge_ops which defines operations that the OPAE bridge provides:
struct opae_bridge_ops {
	int (*reset)(struct opae_bridge *br);
	};
data A pointer to private data of the opae_bridge.

The OPAE bridge exports the following API.

Did you find the information on this page useful?

Characters remaining:

Feedback Message