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.3.4. opae_acc_get_info()

Prototype:

int opae_acc_info(struct opae_accelerator *acc, struct opae_acc_info *info);

Arguments:

acc: A pointer to the opae_accelerator struct.
struct opae_accelerator {
	TAILQ_ENTRY(opae_accelerator) node;
	const char *name;
	int index;
	struct opae_bridge *br;
	struct opae_manager *mgr;
	struct opae_accelerator_ops *ops;
	void *data;
};
info: A pointer to the opae_acc_info data structure.:
struct opae_acc_info {
	unsigned int num_regions;
	unsigned int num_irqs;
};

Returns:

Int.

Description:

Get information about this accelerator. The opae_acc_info stores this information.