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.1. opae_bridge_alloc()

Prototype:

struct opae_bridge * opae_bridge_alloc(const char *name, struct opae_bridge_ops *ops, void *data);

Arguments:

name: A pointer to a name.

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.

Returns:

opae_bridge.

Description:

Initializes an OPAE bridge instance.
Related Defines #define opae_bridge_free(br) opae_free(br)