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

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

4.4. opae_manager_eth_group_read_reg()

Prototype:

int opae_manager_group_eth_read_reg(struct opae_manager *mgr, u8 group_id, u8 index, u8 type, u16 addr, u32 *data); );

Arguments:

name: A pointer to the opae_manager for the Ethernet group.

group_id: The group ID index which is 0 for retimers and 1 for the XL710.
type: The Ethernet type, MAC or PHY.
index : Port index for the Ethernet group device.
addr: Register address of the Ethernet group.
data: For reads, this is the buffer for the data read.

Returns:

Int.

Description:

Reads registers in the PHY and MAC specified. This function is available to both AFU driver and client applications.
Related Defines None.