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.2.1. opae_manager_alloc()

Prototype:

opae_manager_alloc(const char *name, struct opae_manager_ops *ops, void *data);

Arguments:

name: A pointer an identifying name.

opae_manager_ops: A pointer the opae_manager_ops data structure which defines operations that the OPAE manager provides:
struct opae_manager_ops {
        int (*flash)(struct opae_manager *mgr, int id, 
		const char *buffer, u32 size, u64 *status);
        int (*get_eth_group_region_info)
			(struct opae_manager *mgr,
                struct opae_eth_group_region_info *info);
        int (*get_sensor_value)(struct opae_manager *mgr,
                struct opae_sensor_info *sensor,
                unsigned int *value);
        int (*get_board_info)(struct opae_manager *mgr,
                truct opae_board_info **info);
data: A pointer to private data.

Returns:

opae_manager.

Description:

Initializes an OPAE manager instance.
Related Defines #define opae_manager_free(mgr) opae_free(mgr)

Did you find the information on this page useful?

Characters remaining:

Feedback Message